Skip to content

Try IronixPay Live

Experience both integration modes in sandbox. No sign-up required.

Redirect Mode

Redirect customers to our hosted checkout page

Developer Coffee5 USDT
JavaScript
// Create a checkout session (server-side)
const res = await fetch('https://api.ironixpay.com/v1/checkout/sessions', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer sk_live_...',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    pricing_amount: '5',
    pricing_currency: 'USDT',
    currency: 'USDT',
    network: 'TRON',
    success_url: 'https://yoursite.com/success',
    cancel_url: 'https://yoursite.com/cancel'
  })
})
const session = await res.json()

// Redirect to checkout
window.location = session.url

Embed Mode

Embed the payment UI directly in your page

14:59
WALLET ADDRESS
TXrk...7vFq
AMOUNT TO SEND
5.000000 USDT
JavaScript
import { IronixPay } from '@ironix-pay/sdk'

const ip = new IronixPay({ environment: 'sandbox' })
const el = ip.createPaymentElement({
  sessionId: 'cs_...',
  theme: 'light',
  locale: 'en'
})
el.mount('#checkout')
el.on('payment_success', (result) => {
  console.log('Paid!', result.transactionHash)
})

Ready to accept USDT?

Integrate in 5 minutes and start accepting payments