post
http://{{url}}/v1/charges//refunds
refund request of specified transaction.
Request params
| field | required | type | description |
|---|---|---|---|
| id | + | string (24 hex characters) | _id received at the creation stage |
Request body
| field | required[flow] | type | description |
|---|---|---|---|
| amount | - | float | Amount to refund |
| custom_fields | - | object | The object of custom fields for transaction. These fields were sent to a payment gateway if this option has been enabled using the gateway creation and modification endpoints |
| custom_fields.any | - | string | This fields can have any custom name and value |
| reference | - | string | Manually defined reference. This field is passed through to a payment service without being saved to PowerBoard system. If no value is provided, charge.reference is used. Not supported with all services. |
| reference2 | - | string | Manually defined reference. This field is passed through to a payment service without being saved to PowerBoard system. If no value is provided, charge.reference2 is used. Not supported with all services. |
