Skip to Content
Tonder SDK Portal
Web SDKPayment methods

Payment methods

Use this demo to list enabled payment methods and create an APM payment such as OXXO Pay or SPEI:

  1. The demo loads enabled methods with getPaymentMethods() when it starts.
  2. Select an enabled method from the list.
  3. Click Deposit to call pay() with payment_method.type set to the selected method code and the optional idempotency_key.
  4. Reconcile asynchronous methods with your backend/webhooks before fulfillment.

getPaymentMethods() is optional. If you already know which method you want to offer, you can pass it directly to pay(), for example { type: 'spei' } or { type: 'oxxopay' }.

Payment methods

Use the browser CDN build directly. Good for validating the APM contract without a framework.

Last updated on