Transactions
Refund transaction
Refund a transaction with the TypeScript SDK.
POST
Refund transaction
Use
blnk.Transactions.refund to refund a transaction.
Call the method
blnk.Transactions.refund
| Field | Type | Description |
|---|---|---|
transactionId | string | Transaction ID of the applied transaction to refund. |
skip_queue | boolean | When true, process the refund synchronously instead of queuing. |
Save the refund transaction ID
Use
response.data.transaction_id to track the refund. Check parent_transaction to confirm it links to the original transaction.Response
201 Created
| Field | Type | Description |
|---|---|---|
transaction_id | string | ID of the new refund transaction. |
parent_transaction | string | Original transaction being refunded. |
source | string | Original destination, now the source of the refund. |
destination | string | Original source, now the destination of the refund. |
status | string | Status of the refund transaction. |
Related docs
Refunds
Reversal behavior and edge cases.
Refund transaction
HTTP request and response schema.