Authorize a Payment
Use the
TMS
API in your e-wallet app to authorize a
payment.- To get the customer’s default shipping address, call:GET /tms/v2/customers/.{customerTokenId}/shipping-address
ADDITIONAL INFORMATION
The first record is the default. - To retrieve the customer's default payment method, call:GET /tms/v2/customers/.{customerTokenId}/payment-instruments
ADDITIONAL INFORMATION
The first record is the default. - Finally, when the customer clicks thePlace Orderbutton, call:POST /pts/v2/paymentspass the customer token, payment instrument token, and shipping address token.