Skip to Content
Tonder SDK Portal
Web SDKSafetyPay banks

SafetyPay banks

Use this demo when the selected payment method requires a SafetyPay bank:

  1. The demo loads SafetyPay banks with getPaymentMethodBanks() when it starts.
  2. Select a bank from the cash or transfer group.
  3. Click Deposit to call pay() with payment_method.type = 'safetypaycash' or payment_method.type = 'safetypaytransfer', based on the selected bank group, and the optional idempotency_key.
  4. Reconcile the asynchronous result with your backend/webhooks before fulfillment.

The selected bank routing code is sent in payment_method.config.bank_ids using the SafetyPay shape { id: bank.code }.

SafetyPay banks

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

Last updated on