Menu

Change the Default Payment Method

In your e-wallet app, use the TMS API to change the customer's default payment method.
To get all payment methods, call:
GET /tms/v2/customers/{customerTokenId}/payment-instruments
The first result is the default payment instrument.
The remaining payment methods are the non-default payment methods.
To make a non-default payment method the default, call:
PATCH /tms/v2/customers/{customerTokenId}/payment-instruments/{paymentInstrumentTokenId}
and pass the request field
default: true
.
Your default payment preferences
Back to top