Create Payment Token Presenter
token_typestringrequired
The token type
Possible values: [CreditCard, WechatPayAutoDebit, AlipayAutoDebit]
Example:
CreditCardtokenstringrequired
The token value
statestringrequired
defaultbooleanrequired
If it's default token
credit_card object
if token_type is CreditCard
numberstring
exp_monthstring
exp_yearstring
holder_namestring
brandstring
billing_currencystring
verify_urlURL (string)required
A full URL
Example:
https://your.domain/foo/barverify_uuidstringrequired
Create Payment Token Presenter
{
"token_type": "CreditCard",
"token": "string",
"state": "string",
"default": true,
"credit_card": {
"number": "string",
"exp_month": "string",
"exp_year": "string",
"holder_name": "string",
"brand": "string",
"billing_currency": "string"
},
"verify_url": "https://your.domain/foo/bar",
"verify_uuid": "string"
}