Transactions
Refund transaction
Refund a transaction with the Python SDK.
POST
Refund transaction
Use
blnk.transactions.refund to refund a transaction.
1
Call the method
- Queued refund
- Skip queue
- Description and metadata
- Dry run
Omit the optional body to queue the refund using Core defaults. See Refunds.
blnk.transactions.refund
2
Save the refund transaction ID
On a posted refund, use
response.data["transaction_id"] to track it. Check parent_transaction to confirm it links to the original.A dry run has no transaction_id. Check would_apply instead.3
Response
- Queued refund
- Dry run
201 Created