Process a Refund for a Previously Captured Transaction
This endpoint allows merchants to issue full or partial refunds for completed transactions.
Required parameters:
transactionId: The UUID of the original captured transactionamount: The refund amount (can be less than or equal to original transaction)currency: The currency code (must match original transaction)reason: The justification for the refunddescription: Additional details about the refundUpon successful processing, a unique refundTransactionId is returned that can be used to track the refund status.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Requires the transactionId of the captured transaction, the amount to refund, currency, reason and a description in the request body.
Unique identifier of the card.
Requested transaction amount.
x >= 0.01Must be a multiple of 0.01100
Currency code (ISO 4217) of the transaction amount.
3"USD"
Refund transaction description.
"Partial refund for item X"
Reason for the refund.
"Customer requested"
Refund processed successfully. Funds will be returned to the cardholder. The response includes a unique refundTransactionId.
The unique identifier (UUID) of the original captured transaction that was refunded.
A unique identifier (UUID) specifically for this refund operation. Useful for tracking.
The status of the original transaction after the refund. It becomes refunded if fully refunded. If partially refunded, it might remain captured or move to a specific partial refund state (behavior depends on system logic - clarify if needed).
locked, captured, void, refunded The actual amount refunded in this operation, formatted to 2 decimal places.
x >= 0.01Must be a multiple of 0.01Currency code (ISO 4217) of the refunded amount.
3"USD"
The timestamp (ISO 8601 format) when the refund was successfully processed.
The unique identifier (UUID) assigned to the successfully bound card. Store this cardId securely, as it is required to reference this card in all subsequent transaction requests (/verify, /purchase, etc.).
A unique transaction identifier provided for the client’s reference. It can be used to track or correlate transactions
"CT6KQDDEC2"