Transactions
Refund transaction
Refund a transaction with the Python SDK.
POST
Refund transaction
Use
blnk.transactions.refund to refund a transaction.
Call the method
blnk.transactions.refund
| Field | Type | Description |
|---|---|---|
transactionId | str | Transaction ID of the applied transaction to refund. |
skip_queue | bool | 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 | str | ID of the new refund transaction. |
parent_transaction | str | Original transaction being refunded. |
source | str | Original destination, now the source of the refund. |
destination | str | Original source, now the destination of the refund. |
status | str | Status of the refund transaction. |
Related docs
Refunds
Reversal behavior and edge cases.
Refund transaction
HTTP request and response schema.