- Manage Webhook Subscriptions
- Customer Tokens
- Shipping Address Tokens
- Customer Payment Instrument Tokens
- Payment Instrument Tokens
- Instrument Identifier Tokens
- Retrieve an Instrument Identifier with Unmasked Card Number
- 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}customerTokenId
is the customer token ID returned in the
id
field 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.