Links

PaymentToken

The PaymentToken object is used to wrap a Token, which can be used to retrieve a returning customer's credit card details, customer data, and billing address. The usual scenario for using a Token is as follows: a customer was previously checked out using a call to Create. The customer has returned to place another order and has indicated that they would like to use the same card and potentially other information as before.
  1. 1.
    You pass their previous plan's number to Get and retrieve a Token that contains their information.
  2. 2.
    Add the token to a PaymentToken object as follows:
"PaymentToken": {
"Token": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"Type": "SplititStoredCard",
"Last4Digits": "1422"
}
3. Insert the PaymentToken object into a new call to Create to authorize a charge for their new order.
Parameter Name
Type
Required
Description
Token
string
yes
Token returned from Get
Type
string
yes
"SplititStoredCard"
Last4Digits
string
no
From credit card concealed by the token
Last modified 4mo ago