token will allow you to start a Transfer In transaction.Token expiration
Tokens will expire in 30 minutes and can be used only for a single transaction (even if the transaction was wrong). You will need to request a new token when it expires.
flow object — "flow": { "processorName": "BRE-B", "type": "QR" } — to run the transaction through Bre-B instead of ACH. Only amount,currency and flow are required — bankId, callbackUrl, userType, documentType,documentNumber, paymentDescription and email become optional.flow object) is unchanged.curl --location 'https://api-uat.kushkipagos.com/transfer/v1/tokens' \
--header 'Public-Merchant-Id: 20432ef8ccd94r51b36e5b738a81f511' \
--header 'Content-Type: application/json' \
--data-raw '{
"bankId": "1022",
"amount": {
"subtotalIva": 100000,
"subtotalIva0": 0,
"iva": 10000,
"extraTaxes": {
"tasaAeroportuaria": 0,
"agenciaDeViajes": 0,
"iac": 0
}
},
"callbackUrl": "https://kushki.com",
"userType": "1",
"documentType": "NIT",
"documentNumber": "1716458334",
"paymentDescription": "Description of the payment.",
"email": "user@example.com",
"currency": "COP"
}'{
"token": "V0OzRB100000xhxQB8035251pHLBQsq5"
}