Refund an order - V1
PUT /order/v1/refund
Refund an order by the way only order with payment methods BINANCE_PAY, PIX and SPEI are allowed to refund. For other payment methods, we are implementing them.
NOTE: Please, to authenticate use the scope: “api://app-order-hml”
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).
Request Body required
Section titled “Request Body required ”object
Order id
Reason for Refund.
For orders of Mexico the reason must be one of the follwoing values bellow:
- DUPLICATE
- FRAUDULENT
- REQUESTED_BY_CUSTOMER
- OTHER
Who requested the refund
object
Requester name
Requester email
Responses
Section titled “ Responses ”The resource was returned successfully
object
Refund Id
Order Id
Amount to be refunded
Reason for refund
Who requested the refund
object
Requester name
Requester email
Refund status
Refund create datetime
Refund end to end id
The request is not valid
Unauthorized Request
An unexpected error occurred inside the server