API Reference
Start payment
REST equivalent of startBSCPayment, startPolygonPayment, startBasePayment, and startSOLPayment.
Merchant REST wrapper that starts a pending payment on the selected network.
Without auth (apiKey / Bearer): maps to per-network starters:
network | GraphQL mutation |
|---|---|
bep20 / bsc | startBSCPayment |
polygon / matic | startPolygonPayment |
base | startBasePayment |
sol / solana | startSOLPayment |
With `apiKey` or `Authorization`: uses StartPayment.
Credit top-up txns (purpose: credit_topup): uses UserStartCreditTopup (no auth).
Debits 1 credit from the transaction owner's API key when started (merchant payments).
Endpoint
POST https://api.argonpay.app/pay
Content-Type: application/json
Body
| Name | Type | Required | Description |
|---|---|---|---|
txnid | string | Yes | Pending transaction ID |
network | string | Yes | bep20, bsc, polygon, matic, base, sol, or solana |
token | string | No | USDT or USDC (EVM only) |
apiKey | string | No | Use unified StartPayment when provided |
Example
curl -X POST https://api.argonpay.app/pay \ -H 'Content-Type: application/json' \ -d '{"txnid":"YOUR_TXNID","network":"bep20","token":"USDT"}'