ticketNumber. The ticketNumber is provided when a charge or a deferred charge is successful. Remember that the refund process is semi-automatic, so the confirmation you are receiving is to confirm you that the process has begun successfully.🇪🇨 Ecuador: Refunds must be requested within 30 days to 6 months of the original transaction date, depending on the processor. Requests submitted after this period will be automatically rejected. Only one (1) partial refund is allowed per transaction. If a second partial refund is attempted on the same charge, the request will be automatically denied, even if there is a remaining balance.
curl --location --request DELETE 'https://api-uat.kushkipagos.com/v1/refund/' \
--header 'Private-Merchant-Id;' \
--header 'Idempotency-Key;' \
--header 'Content-Type: application/json' \
--data '{
"fullResponse": "v2",
"amount": {
"subtotalIva": 500,
"subtotalIva0": 0,
"ice": 0,
"iva": 0,
"currency": "USD"
},
"webhooks": [
{
"events": [
"approvedTransaction"
],
"headers": [
{
"label": "json",
"value": "12"
}
],
"urls": [
"https://eof2hhkrta4ooo1.m.pipedream.net"
]
}
]
}'{
"ticketNumber": "661646369681536731",
"transactionReference": "14d01391-cb66-4b90-bcae-6e3e6b5b2786"
}