- Manage Webhook Subscriptions
- Customer Tokens
- Shipping Address Tokens
- Customer Payment Instrument Tokens
- Payment Instrument Tokens
- Instrument Identifier Tokens
- Network Tokens for Partners
On This Page
REST API | Visa Platform Connect
Change a Customer's Default Payment Instrument
This section shows you how to change a customer's default payment instrument.
Endpoint
Test:
PATCH
https://apitest.cybersource.com
/tms/v2/customers/{customerTokenId}
/payment-instruments/{paymentInstrumentTokenId}
Production:
PATCH
https://api.cybersource.com
/tms/v2/customers/{customerTokenId}
/payment-instruments/{paymentInstrumentTokenId}
Production in India:
PATCH
https://api.in.cybersource.com
/tms/v2/customers/{customerTokenId}
/payment-instruments/{paymentInstrumentTokenId}
The is the customer token ID returned in
the is the payment instrument
token ID you want to retrieve. For more information, see Create a Customer and Create a Customer Payment Instrument.
{customerTokenId}
id
field when you created the customer token. The
{paymentInstrumentTokenId}