Refund endpoint
Initiates a refund process for a completed transactions.
URL: {api_url}/business-api/v1/batch-refunds/
HTTP Method: GET
Headers
- Content-type: application/json
- Authorization: API JWT bearer token.
Request fields
| Name | Type | Size/Format | Mandatory | Description |
|---|---|---|---|---|
refunds | Array of JSON objects | Array of Refund request objects | true | List of transaction refund request. |
Refund request object
| Name | Type | Size/Format | Mandatory | Description |
|---|---|---|---|---|
transaction_id | string | true | Cashier360 PSP/APM Transaction UUID | |
origin_transaction_id | string | false | Merchant`s refund transaction ID | |
money | Money | Money object | true | Money object in the customer's account original currency. |
converted_money | Money | Money object | false | Money object in the payment provider's currency. |
Money object
| Name | Type | Size/Format | Mandatory | Description |
|---|---|---|---|---|
amount | int | In minor units: wiki | true | Money amount. |
currency | string | ISO currency code: wiki | true | Money currency. |