Request a refund

Environment

https://api.aplazo.net

Refund Payment

post

Initiates a refund for a payment using the cartId.

Body
cartIdstringRequired

Merchant ID for the cart.

Example: cart-123
totalAmountnumber · floatRequired

Amount to refund.

Example: 50
reasonstring · min: 1Required

Reason for the refund.

Example: Requiero devolucion de mi pago
Responses
200
Refund request processed successfully.
application/json
post
POST /api/pos/loan/refund HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 80

{
  "cartId": "cart-123",
  "totalAmount": 50,
  "reason": "Requiero devolucion de mi pago"
}
200

Refund request processed successfully.

{
  "refundId": 26357,
  "merchantId": 2634,
  "cartId": "cart-123",
  "refundStatus": "REQUESTED",
  "refundDate": "2025-01-22T23:08:25.322433327"
}

Last updated

Was this helpful?