Creates a payment method for an individual customer.

Response Body Definitions

NameTypeDescriptionExample
customerstringCustomer ID"00026001"
billing_addressstringCustomer billing address (encrypted)"c4cfc106ccc411e8ada3bc764e101db1"
cc_number_endingstringLast four digits of credit card number"4111"
public_idstringSubscription ID"f9cb2f93e1c845eb9de9eff46ddb3cbf"
labelstring
token_idstring
cc_holderstringCardholder name"John Doe"
cc_typeintegerCredit card type code1
cc_exp_datestringExpiration date (format: MM/YYYY)"11/2028"
livebooleanAccount status:
active = True
True
createdstringDate of payment method creation"2018-10-10 14:43:32"
last_updatedstringDate of last payment method update"2018-10-10 14:43:32"
Language
Click Try It! to start a request and see the response here!