SPEI STP via Widget

Prerequisites

Before implementing SPEI STP payments, ensure you have:

  • Enabled SPEI STP in the DEUNA Admin Panel.
  • A generated order token.
  • Integrated the DEUNA SDK in your project.
  • Reviewed the Payment Widget documentation for your platform.

Payment Method configuration

Display the Payment Widget by passing the SPEI STP configuration in the paymentMethods parameter.

[
    {
        "paymentMethod": "bank_transfer",
        "processors": ["stp_spei"]
    }
]

Payment Widget - Web

DeunaSDK.initPaymentWidget({
  orderToken: 'YOUR_ORDER_TOKEN',
  paymentMethods: [
    {
      paymentMethod: 'bank_transfer',
      processors: ['stp_spei'],
    },
  ],
  callbacks: { ... },
});