V1CreateRefundRequest
V1 Create Refund Request
Name | Type | Tags | Description |
---|---|---|---|
payment_id |
string |
Required | The ID of the payment to refund. If you are creating a PARTIAL refund for a split tender payment, instead provide the id of the particular tender you want to refund. |
type |
str (V1 Create Refund Request Type) |
Required | - |
reason |
string |
Required | The reason for the refund. |
refunded_money |
V1 Money |
Optional | - |
request_idempotence_key |
string |
Optional | An optional key to ensure idempotence if you issue the same PARTIAL refund request more than once. |
{
"payment_id": "payment_id0",
"type": "FULL",
"reason": "reason4",
"refunded_money": {
"amount": 214,
"currency_code": "CHW"
},
"request_idempotence_key": "request_idempotence_key8"
}