Menu

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 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.
Back to top