API Reference
Gateway Status
post

/subscriptions/v1/card-async/init

Init the transaction with an async card subscription token provided by Kushki. The customer needs to be redirected in order to finalize the registration.

Once the subscription is created, you will be able to perform the following actions with the endpoints specified in the card section:

Sandbox

Kushki allows to simulate a full transaction. Use the following information once you are redirected:

  • Successful Transaction
    Credit card number: 4051885600446623, CVV: 123
    Debit card number: 4051884239937763

  • Declined Transaction
    Credit card number: 5186059559590568, CVV: 123
    Debit card number: 5186008541233829

    RUT: 11.111.111-1
    Password: 123

Request Parameters

1 Header

Request Body

1 Example
Schema
object
token
string
1 validation + required
planName
string
1 validation + required
periodicity
string

Use custom for on-demand subscriptions

2 validations + required
contactDetails
object
required
amount
object
required
startDate
string

YYYY-MM-DD

Note: Use future date

2 validations + required
endDate
string

YYYY-MM-DD

Note: Use a future date regarding to startDate

2 validations
language
string
1 validation
retryConfiguration
object

Use this object if you want to configure retries different than default

1 validation
metadata
object

Responses

1 Example
Schema
object
redirectUrl
string
subscriptionId
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.