Refund a Transaction
POST {{api_base_url}}/v1/merchant/transactions/credit
This refunds a captured transaction. Refunds can be done for any partial amount or for the total authorized amount. These refunds are processed synchronously and return information about the refunded transaction in the response object.
Note: At Bolt a refund denotes a new transaction. The original payment transaction is considered the sourcetransaction_ of the refund.
Required Variables
transaction_reference:
The reference identifier of the transaction your want to refund.
Note: A transaction must be in the completed state for it to be eligible for a refund. To view, a transaction's status use the Fetch Transaction Details endpoint.
Request Body
{"amount"=>100, "currency"=>"USD", "skip_hook_notification"=>false, "transaction_reference"=>"{{transaction_reference}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-API-Key | string | Bolt Account API Key |