Skip to content

Set customer payment token details

POST
/cms/customer/{id}/token_details
id
required
integer

Customer ID

object
payment_method
required
string
token
required
string
expiry

Card expiry date, format YYYY-MM-DD

string
lastdigits

Last digits of the card

string
card_type

Eg: card or credit

string
card_brand

Eg: visa, mastercard

string

Payment token details updated

object
success
boolean

Bad Request

Unauthorized

Customer not found