Payment
Refund Payment
Refund a previous payment transaction
POST
Request
API key ID assigned to the integration
RFC3339 timestamp used in the HMAC signature
Hex-encoded HMAC-SHA256 of the request
Body Parameters
ID of transaction to refund
Amount to refund (can be partial)
Reason for refund
Admin/User ID authorizing refund
Response
Whether refund succeeded
Refund transaction ID
Formatted refunded amount
Example
Errors
| Status | Code | Description |
|---|---|---|
| 400 | Validation or business error | Invalid amount or refund not allowed |
| 401 | HMAC auth error | Missing/invalid X-API-Key-ID, X-Timestamp, or X-Signature |
| 500 | Internal error | Server error |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Refund details
Response
Refund processed
The response is of type object.