On This Page

{#jumplink-list}  
[Markdown](/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-pi-tkn/tms-manage-cust-pi-tkn/tms-cust-pi-tkn-update-intro.md)  
Filter  
FILTER BY TAG

Update a Customer Payment Instrument {#tms-cust-pi-tkn-update-intro}
====================================================================

This section describes how to update a customer payment instrument token.

Endpoint
--------

**Test:** `PATCH ``https://apitest.cybersource.com``/tms/v2/customers/`*{customerTokenId}* `/payment-instruments/`*{paymentInstrumentTokenId}*` `{#tms-cust-pi-tkn-update-intro_restcust-test}  
**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}*{#tms-cust-pi-tkn-update-intro_restcust-prod-india}  
The *`{customerTokenId}`* is the customer token ID returned in the id field when you created the customer token. The *`{paymentInstrumentTokenId}`* is the payment instrument token ID you want to retrieve. For more information, see [Create a Customer](/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-manage-cust-tkn/tms-cust-tkn-create-intro.md "") and [Create a Customer Payment Instrument](/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-pi-tkn/tms-manage-cust-pi-tkn/tms-cust-pi-tkn-create-intro.md "").  
RELATED TO THIS PAGE

