v1

latestOpenAPI 3.0.12026-07-242871595.3 MB
CUSTOMERS

Revoke a payment source

Removes a payment source, such as card or ACH token, from the customer profile. Use Create a card token or Create an ACH token to create payment source.

delete/v1/customers/{customerId}/sources/{sourceId}

Path parameters

customerIdstring required

Unique identifier (ID) of the customer.

sourceIdstring required

Universally unique identifier (UUID) of the card data associated with a customer record. Use Create a card-on-file customer endpoint to generate the card data identifier.

Headers

User-Agentstring required

Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <AppName>/<Version> <Comment>

Response

Successful response. Payment source successfully removed from the customer record.

deletedboolean required

Indicates whether the payment source associated with customer has been deleted.

idstring required

Identifier of the payment source associated with a customer record.

object'deletedcard' | 'ach' required

Indicates the type of payment source associated with the customer record.