Transactions
Refund transaction
Refund a transaction with the Java SDK.
POST
Refund transaction
Use
blnk.transactions().refund for this operation.
1
Call the method
- Skip queue
- Description and metadata
- Dry run
2
Save the refund transaction ID
On a posted refund, use
response.data().get("transaction_id").asText() to track it.A dry run has no transaction_id. Check would_apply instead.3
Response
- Skip queue
- Dry run
201 Created
Related docs
Refunds
Reversal behavior and edge cases.
Refund transaction
HTTP request and response schema.