FromChain Payment Gateway
Accept USDT (BEP-20) payments on Binance Smart Chain with our simple REST API. Get started in minutes with automatic payouts, real-time webhooks, and secure transaction handling.
Easy Integration
Simple REST API with clear documentation and code examples
Real-Time Updates
Instant webhook notifications for payment status changes
Secure Payments
Enterprise-grade security with encrypted webhooks and automatic payouts
Automatic Payouts
Funds automatically transferred to your wallet after confirmation
Quick Example
Create a payment invoice in seconds
const response = await fetch('https://api.fromchain.io/v1/invoices', {
method: 'POST',
headers: {
'Authorization': 'Bearer gw_live_your_api_key_here',
'Content-Type': 'application/json',
'Idempotency-Key': 'order_123_payment'
},
body: JSON.stringify({
amountExpected: '100.00',
externalId: 'order_123',
description: 'Payment for Order #123',
expiresInMinutes: 30,
metadata: {
customerId: 'user_456',
orderId: 'order_123'
}
})
});
const invoice = await response.json();
console.log(invoice);
// {
// "id": "inv_abc123",
// "depositAddress": "0x1234567890...",
// "status": "PENDING",
// "amountExpected": "100.00"
// }What You Get
How It Works
Create Invoice
Call our API to create a payment invoice. Get a unique BSC address for your customer to send USDT to.
Customer Pays
Customer sends USDT to the deposit address. We monitor the blockchain and notify you via webhook.
Receive Funds
After confirmation, we automatically send funds (minus fees) to your configured payout address.
Ready to get started?
Integrate crypto payments into your platform in minutes with our simple API.
View Documentation