Delete a payment method
Deletes a saved payment method. For a card, the number is also removed from the vault. This cannot be undone.
A customer with an active or trial subscription must keep at least one payment method, so deleting the last one is a 409. Cancel the subscriptions first.
Secret tokens, and limited tokens tied to the customer.
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
customer_id*stringThe id of the customer. With a limited token from a customer login you can send me instead.
payment_method_id*stringThe id of the payment method.
The payment method was deleted. There is no body.
curl -X DELETE 'https://api.comecero.com/api/v1/customers/string/payment_methods/string'Update a payment method POST
Changes a saved payment method. For a card you can change the expiry, cardholder name, label and billing address. A new expiry is also passed to the gateways that keep a copy of the card. The card number cannot change: add the new card instead. Send `is_default: true` to make this the default; the customer's other methods stop being the default. Secret tokens, and limited tokens tied to the customer.
List a customer's payments GET
Lists the payments made by a customer, oldest first. The list is offset-based: follow `next_page_url` or send `offset`. Secret tokens, and limited tokens tied to the customer (for example after Log in a customer).