post
https://app.shuttleglobal.com/c/api/instances/{instance_key}/payments//refund
You can refund a payment in part or full, or simply mark a payment as refunded (if refunded offline).
You can refund "PAYMENT" and "CAPTURE" type transactions, but not "AUTH" (you must void an AUTH that has not been captured).
Note, support for multi-refund (e.g., I pay $100 and refund $20 followed by a second refund of $80)
is not available on all gateways.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Business Rules
The logic behind this operation:
- Refund a payment — amount, reason, manual true for an offline refund; :id is a payment, capture or transaction id, or the payment's alt_key
400Bad request - invalid parameters
401Unauthorized - invalid credentials
404Payment not found