backend · BNB Chain
Ruby on Rails on BNB Chain
Accept USDT & USDC through Ruby on Rails with settlement on BNB Chain. Integrate Zateway with Ruby on Rails. Rails controllers for session creation and fulfillment. Non-custodial USDT & USDC on Polygon, Solana, Base, BSC, Arbitrum, Optimism.
Steps
- Create a Zateway account and copy your API key.
- Connect your self-custody wallet address for Ruby on Rails (BNB Chain) settlements.
- Create a payment session via API, plugin, or payment link for Ruby on Rails (BNB Chain).
- Redirect customers to hosted checkout or embed the widget in Ruby on Rails (BNB Chain).
- Verify HMAC-signed webhooks and fulfill the order in Ruby on Rails (BNB Chain).
- Select BNB Chain when creating the payment session for lowest surprise fees.
POST https://zateway.com/api/v1/sessions with x-api-key — then open checkoutUrl from Ruby on Rails. // Prefer chain: "bsc" for Ruby on Rails checkout