Edit or Delete a Payment Method
Use the
TMS
API in your e-wallet app to retrieve a
customer's payment method and allow the customer to delete or edit the payment
method.- To retrieve the customer's default payment method, call:GET /tms/v2/customers/.{customerTokenId}/payment-instruments
ADDITIONAL INFORMATION
The first record is the default payment method. The remaining payment methods are the non-default payment methods. - To delete a payment method, call:DELETE /tms/v2/customers/{customerTokenId}/payment-instruments/{paymentInstrumentTokenId}
- To edit a payment method, call:PATCH /tms/v2/customers/{customerTokenId}/payment-instruments/{paymentInstrumentTokenId}
- Include the updated payment method details in the call.