Headers
Example:
"your-x-api-key"
Example:
"your-x-api-token"
Path Parameters
UUID of the sale to be refunded
Body
application/json
Response
refund request accepted
Response status code.
- 0 – success
- ‑1 – validation failure
- 998 – transaction not found
- 1000 – transaction not PAID
Available options:
0
, -1
, 998
, 1000
Example:
0
Response message
Example:
"success"
Refund transaction UUID
Example:
"a3b59529-ac56-3e24-9011-320456dd9491"
Currency code
Example:
"BRL"
Original sale total
Example:
11
Total amount already refunded (after this request)
Example:
11
Merchant balance after the request
Example:
16495.84
Discounts applied to sale
Example:
0
Shopper information