Update

Activates or deactivates the specified payment method.

🔐

Authentication

✔️ Application API Scope

✔️ Storefront API Scope


❗️

Shopify Integrations

If you are on a Shopify installation, do not use this or any of Ordergroove's endpoints. Use Shopify's customerPaymentMethodSendUpdateEmail instead.

Response Body Definitions

NameTypeDescriptionExample
customerstringCustomer ID"00026001"
billing_addressstringCustomer billing address (encrypted)"c4cfc106ccc411e8ada3bc764e101db1"
cc_number_endingstringLast four digits of credit card number"4111"
public_idstringPayment ID"f9cb2f93e1c845eb9de9eff46ddb3cbf"
labelstring
token_idstring
cc_holderstringCardholder name"John Doe"
cc_typeintegerCredit card type code1
cc_exp_datestringExpiration date (format: MM/YYYY)"11/2028"
payment_methodstringPayment method:

- credit card
- paypal
"credit card"
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