token provided by Kushki.Got a suggestion on this documentation? Contact Us.
curl --location --request POST 'https://api-uat.kushkipagos.com/payouts/cash/v1/init' \
--header 'Private-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "string",
"expirationDate": "2019-08-24",
"amount": {
"subtotalIva": 0,
"subtotalIva0": 0,
"iva": 0,
"extraTaxes": {
"iac": 0,
"tasaAeroportuaria": 0,
"agenciaDeViaje": 0
}
},
"metadata": {
"key0": "value0",
"key1": "value1",
"key2": "value2"
},
"webhooks": {
"webhooks": [
{
"events": [
"approvedTransaction",
"declinedTransaction"
],
"headers": [
{
"label": "json",
"value": "12"
}
],
"urls": [
"https://eof2hhkrta4ooo1.m.pipedream.net"
]
}
]
}
}'{
"pdfUrl": "https://api-uat.kushkipagos.com/payouts/cash/v1/charges/481580406256842218/receipt",
"pin": "1406256866",
"ticketNumber": "481580406256842218"
}