A refund returns funds to the customer’s payment instrument for a previously completed sale or capture. You can issue a full refund or a partial refund by specifying anDocumentation Index
Fetch the complete documentation index at: https://www.smartretry.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
amount.
Safe retries for this POST endpoint use the
Idempotency-Key header. Reuse the same key only when retrying the exact same request body. See Idempotency.Path parameters
Your terminal identifier. Exactly 6 characters.
Request body
The
transaction_id of the sale or capture you want to refund. Exactly 8 characters.The
order_id associated with the transaction you want to refund. Exactly 8 characters.Your unique identifier for this refund transaction. Must be different from the
merchant_transaction_id of the original transaction.Amount to refund in major currency units (e.g.,
25.00 for $25.00). If omitted, the full transaction amount is refunded. Partial refunds are supported - you can issue multiple partial refunds as long as the total does not exceed the original transaction amount.Three-letter ISO 4217 currency code. If omitted, the currency of the original transaction is used.
Response
SmartRetry’s unique identifier for this refund transaction. Exactly 8 characters.
The order identifier, matching the
order_id from the original transaction.The
merchant_transaction_id you provided in the request, echoed back for confirmation.true if the refund was accepted for processing. Poll the status endpoint using the returned transaction_id to confirm the refund outcome.