Argon

API Reference

Start payment

REST equivalent of startBSCPayment, startPolygonPayment, startBasePayment, and startSOLPayment.

POSThttps://api.argonpay.app/payPOST /pay

Merchant REST wrapper that starts a pending payment on the selected network.

Without auth (apiKey / Bearer): maps to per-network starters:

networkGraphQL mutation
bep20 / bscstartBSCPayment
polygon / maticstartPolygonPayment
basestartBasePayment
sol / solanastartSOLPayment

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

NameTypeRequiredDescription
txnidstringYesPending transaction ID
networkstringYesbep20, bsc, polygon, matic, base, sol, or solana
tokenstringNoUSDT or USDC (EVM only)
apiKeystringNoUse unified StartPayment when provided

Example

Shell
curl -X POST https://api.argonpay.app/pay \
-H 'Content-Type: application/json' \
-d '{"txnid":"YOUR_TXNID","network":"bep20","token":"USDT"}'

GraphQL equivalents