API Reference
Gateway Status
post

/cash/v1/tokens

Request a Cash In token.

Important to consider: For Peru, this payment method is in updating process and the documentation is subject to variations

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 any identification number

  • Initialized Transaction
    Create a token with 9999999999 as identification number

  • Declined Transaction
    Create a token with 1000000000 as identification number

    Once you Init the transaction you can check the status with the Transaction Status endpoint.

Request Parameters

2 Headers

Request Body

1 Example
Schema
object
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
  • 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
object
token
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.