Simple Order API | Visa Platform Connect

Change the Default Payment Method

Use the
TMS
API in your e-wallet app to change the customer's default payment method.
  1. To get all payment methods, call:
    GET /tms/v2/customers/{customerTokenId}/payment-instruments
    .

    ADDITIONAL INFORMATION

    The first result is the default payment instrument. The remaining payment methods are the non-default payment methods.
  2. To make a non-default payment method the default, call:
    PATCH /tms/v2/customers/{customerTokenId}/payment-instruments/{paymentInstrumentTokenId}
    and set the value of the request field
    default
    to
    true
    .