Refund a card transaction
Returns funds to the customer’s card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use Void instead.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
To test this endpoint you need to make an SALE request first
Unique identifier of the submerchant.
Identifier of the settled transaction to refund.
The amount to refund.
Free-text description.
Your own reference for this transaction. Returned in responses and query results for reconciliation.
Withheld tax amount to release with this refund.
When true, releases the tax withheld on the original transaction.
metadata is an object that can host as much as 50 key-value pairs, where the keys can be at most 40 char length and can’t include the characters “[“ or “]”, and the values must be strings and cannot exceed 500 chars Learn more about metadata
Response
Successful refund

