API keys
Keys work on BNB Smart Chain mainnet: there is no test network. Test your integration with a small real payment (for example 1 USDT). Keep keys on your server, never in a website or app.
No keys yet.
Webhooks
Signed POSTs (HMAC-SHA256, AFA-Signature header) to your server. Each endpoint receives only the events it is subscribed to.
Using recurring billing? Subscribe to
invoice.created and invoice.overdue too.Refunding from AFA? Subscribe to
invoice.refunded too.No endpoints yet.
API
Create an invoice with your key — full reference at /docs, step-by-step setup at /docs/guide:
POST /api/v1/invoices
x-api-key: <your key>
{ "chainId": 56, "token": "USDT", "amount": "25", "method": "WALLET" }