Refund Transaction
URL
The endpoint and http method information to refund a payment transaction are stated below.
Request Parameters
The parameters expected to be sent in the requests to be made to refund are listed under the table and sub-headings below.
ID of the payment transaction that that requested to be refunded
"boomerang" value that can be sent with the request and received with the response. It can be used to associate different requests with each other. Usually, the order number is used that is stored in merchant own system.
Refund price
Should the refund is charged by using merchant's balance? Can be used in case of insufficient sub-merchant balance in marketplace payment
Response Parameters
ID of the transaction refund
Value of theconversationId
parameter sent in the payment initiation request
The date that the payment transaction is refunded
See: Refund Status Type
Returns true
if payment transaction is refunded after settlement
Price of the transaction refund
Bank price of the transaction refund
Wallet price of the transaction refund
authCode value retrieved from bank for the transaction refund
hostReference value retrieved from bank for the transaction refund
transId value retrieved from bank for the transaction refund
Currency of the transaction refund. See: Currencies
ID of the payment transaction to be refunded
ID of the payment to be refunded
Sample Codes
You can review the sample codes in the open source Craftgate API clients.