Request a refund
Environments
https://merchant.aplazo.net/api
Refunds can be partial or total but must be less than the total loan amount.
Authorizations
Body
cartIdstringRequiredExample:
The unique identifier of the cart associated with the loan.
merchant-cart-123
totalAmountnumberRequiredExample:
The amount to be refunded. Must be less than the total loan amount.
1
reasonstringRequiredExample:
The reason for the refund.
Wrong size
Responses
200
Refund request was successfully created.
application/json
post
POST /loan/refund-from-cart HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"cartId": "merchant-cart-123",
"totalAmount": 1,
"reason": "Wrong size"
}
200
Refund request was successfully created.
{
"refundId": 665,
"merchantId": 12,
"cartId": "merchant-cart-123",
"refundStatus": "REQUESTED",
"refundDate": "2022-09-05T21:11:34.091719"
}
Response Examples
Success
Errors
Last updated
Was this helpful?