post
/cash/v1/tokens
Request a Cash In token
.
Sandbox
Kushki allows to simulate a full transaction. When using the Cash In Sandbox, you can test successful and failed transactions.
-
Successful Transaction
Create a token with anyidentification
number -
Initialized Transaction
Create a token with 9999999999 asidentification
number -
Declined Transaction
Create a token with 1000000000 asidentification
numberOnce you Init the transaction you can check the
status
with the Transaction Status endpoint.
Request Parameters
2 Headers
Request Body
1 Example
Schema
name
string
required
lastName
string
required
identification
string
1 validation + required
documentType
string
- CC: Identity Document
- NIT: Tax Id number in Colombia
- CE: Foreing resident card in Colombia and Peru
- TI: Identity Card in Colombia
- PP: Passport
- RUC: Tax Id number in Ecuador and Peru
- CURP: Unique Population Registry Code in Mexico
- RFC: Tax Id number in Mexico
- RUT: Tax Id number in Chile
- DNI: Identity Document in Peru
- PAS: Passport in Peru
1 validation
email
string
totalAmount
number
required
currency
string
1 validation + required
description
string
A description of the payment
Responses
1 Example
Schema
token
string
Send a Test Request
POST
Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.