Developer API

Acme Dev · Developer API

1Setup
2Payment QR
3Confirmation
4Done

Terminal-style demo of the /v1/charges API. See request, response, webhook.

Request
POST /v1/charges HTTP/1.1
Host: api.directpagos.app
Authorization: Bearer sk_live_demo

{
  "amount": 50,
  "currency": "USD",
  "network": "TRC20"
}
TRON · TRC20

This is your wallet. USDT goes straight here — DirectPagos never holds funds.

1 USDT = 1 USD

Demo rate — you can edit it above.

Calculations
Sale amount$50.00
Rate1 USDT = 1
Converted50.0000 USDT
Margin2%
Final USDT51.0003 USDT
Merchant profit
Profit (USDT)+1.0003 USDT
Profit (local currency)+$1.00
Profit margin+2.00%
Timeline
  1. ·Waiting for customer
  2. ·Blockchain detected
  3. ·Confirming
  4. ·Payment confirmed
  5. ·Webhook sent
  6. ·System updated
Why merchants love this
  • Non-custodial: funds go straight to your wallet.
  • No chargebacks. No holds. No middlemen.
  • Same infrastructure across every segment.
  • Live in an afternoon with API and webhooks.