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.
curl --location 'https://api-uat.kushkipagos.com/payouts/transfer/v1/tokens' \
--header 'Public-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data '{
"name": "Juan Pérez",
"documentType": "RFC",
"documentNumber": "ND",
"accountType": "CB",
"accountNumber": "646180110400000007",
"bankId": "0074",
"totalAmount": 1000,
"currency": "MXN",
"paymentDescription": "Pago a proveedor"
}'{
"token": "V0OzRB100000xhxQB8035251pHLBQsq5"
}