Menu
- Manage Webhook Subscriptions
- Customer Tokens
- Manage Customer Tokens
- Shipping Address Tokens
- Customer Payment Instrument Tokens
- Manage Customer Payment Instrument Tokens
- Payment Instrument Tokens
- Manage Payment Instrument Tokens
- Instrument Identifier Tokens
- Manage Instrument Identifier Tokens
- Network Tokens for Partners
On This Page
Delete a Customer Payment Instrument
This section shows you how to delete a customer payment instrument token.
Endpoint
Test:
DELETE
https://apitest.cybersource.com
/tms/v2/customers/{customerTokenId}/payment-instruments/{paymentInstrumentTokenId}
Production:
DELETE
https://api.cybersource.com
/tms/v2/customers/{customerTokenId}/payment-instruments/{paymentInstrumentTokenId}Production in India:
DELETE
https://api.in.cybersource.com
/tms/v2/customers/{customerTokenId}/payment-instruments/{paymentInstrumentTokenId}customerTokenId
is the customer token id
returned
when you created the customer token. paymentInstrumentTokenId
is
the payment instrument token id
you want to retrieve. See Create a Customer and Create a Customer Payment Instrument.IMPORTANT
If you have more than one payment Instrument, then the default
payment Instrument cannot be deleted without first selecting a new default payment
instrument.