token provided by Kushki which represents the customer's payment.Got a suggestion on this documentation? Contact Us.
curl --location --request POST 'https://api-uat.kushkipagos.com/card-async/v1/init' \
--header 'Private-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "string",
"amount": {
"currency": "CLP",
"subtotalIva": 0,
"subtotalIva0": 0,
"iva": 0,
"ice": 0,
"extraTaxes": {
"iac": 0,
"tasaAeroportuaria": 0,
"agenciaDeViaje": 0
}
},
"metadata": {
"key0": "value0",
"key1": "value1",
"key2": "value2"
},
"fullResponse": "v2",
"webhooks": {
"webhooks": [
{
"events": [
"approvedTransaction",
"declinedTransaction"
],
"headers": [
{
"label": "json",
"value": "12"
}
],
"urls": [
"https://eof2hhkrta4ooo1.m.pipedream.net"
]
}
]
}
}'{
"details": {
"transactionType": "string",
"created": 0,
"description": "string",
"email": "string",
"merchantId": "string",
"status": "string"
},
"redirectUrl": "string",
"transactionReference": "string"
}