Request
Body Params application/json
{
"payment_intent_id":"{{payment-intent-id}}"
,"reason":"refund reason"
}
Request samples
curl --location --request POST 'https://openapi1.uat.useepay.com/api/v1/refunds/create' \
--header 'x-merchant-no: 500000000007245' \
--header 'x-api-key: FUYTIUvjhgfytfuytwiue' \
--header 'x-app-id: www.pay.com' \
--header 'Content-Type: application/json' \
--data-raw '{
"payment_intent_id":"1012411211459019141"
,"reason":"refund reason"
}'
Responses
application/json {
"id": "6b4e963913f84d26a9c0e88dd5043667",
"payment_intent_id": "04590c54576c4f6dbee8772d19ebe231",
"acquirer_reference_number": "string",
"amount": null,
"currency": "string",
"status": "received",
"metadata": {},
"reason": "string",
"merchant_no": "500000000007264",
"app_id": "www.pay.com",
"create_at": "2024-10-25T07:14:09Z",
"modify_at": "2024-10-25T07:14:09Z"
}
Modified at 2024-10-25 10:52:49