token is the first step to start a 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.
Got a suggestion on this documentation? Contact Us.
curl --location --request POST 'https://api-uat.kushkipagos.com/payouts/transfer/v1/tokens' \
--header 'Public-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"documentType": "RUT",
"documentNumber": "string",
"accountType": "CC",
"accountNumber": "string",
"bankId": "string",
"totalAmount": 0,
"currency": "CLP",
"paymentDescription": "string",
"name": "string",
"mail": "string"
}'{
"token": "V0OzRB100000xhxQB8035251pHLBQsq5"
}