REST API | Visa Platform Connect

Authorize a Payment

Use the
TMS
API in your e-wallet app to authorize a payment.
  1. To get the customer’s default shipping address, call:
    GET /tms/v2/customers/{customerTokenId}/shipping-address
    .

    ADDITIONAL INFORMATION

    The first record is the default.
  2. To retrieve the customer's default payment method, call:
    GET /tms/v2/customers/{customerTokenId}/payment-instruments
    .

    ADDITIONAL INFORMATION

    The first record is the default.
  3. Finally, when the customer clicks the
    Place Order
    button, call:
    POST /pts/v2/payments
    pass the customer token, payment instrument token, and shipping address token.