API Reference
post

/cash/v1/tokens

Request a Cash token.

Sandbox

Kushki allows to simulate a full transaction when using the Cash Sandbox, you can test successful and failed transactions.

  • Successful Transaction
    Create a token with any identification number

  • Failed 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: Identity for foreign people
  • TI: Identity Card
  • PP: Passport
  • RUC: Tax Id number in Ecuador
  • CURP: Unique Population Registry Code in Mexico
  • RFC Tax Id number in Mexico
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.