token provided by Kushki. The Init Transaction delivers a pin number to perform the customer payment and the URL of the receipt.curl --location 'https://api-uat.kushkipagos.com/cash/v1/charges/init' \
--header 'Private-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data '{
"token": "AbCDef123456Z7Ghi8901234jkLMNopQ",
"amount": {
"subtotalIva": 0,
"subtotalIva0": 10000,
"iva": 0,
"ice": 0,
"currency": "CLP"
},
"expirationDate": "2026-06-30 23:59:59",
"webhooks": [
{
"events": [
"approvedTransaction",
"declinedTransaction"
],
"urls": [
"https://yoursite.com/kushki/cash-notify"
]
}
],
"fullResponse": "v2"
}'{
"pin": "1554244909",
"pdfUrl": "https://api-uat.kushkipagos.com/cash/v1/charges/2388729046399317/receipt",
"ticketNumber": "193222411482",
"transactionReference": "fa3cb92f-f53f-46e8-a9f9-0c40e9ae2df2"
}