Argon

API Reference

Welcome

Overview of the Argonpay merchant GraphQL API and payment flow.

Argonpay is a multi-chain crypto payment API for merchants. This documentation covers merchant GraphQL operations and verified REST helpers from Argonpay v2.

Base URL

Supported networks

EnumNetwork
BEP20BNB Smart Chain
POLYGONPolygon
BASEBase
SOLSolana

Stable tokens: USDT, USDC (where supported by the payment start flow).

Authentication

API-key operations pass `apiKey` as a GraphQL argument (or in the REST body for POST /create-payment). Optional headers x-api-key, Authorization: Bearer, or api-key are also accepted on some flows.

Checkout helpers such as start*Payment, cancelPayment, and getTxnDetails use `txnid` (from payment) instead of an apiKey argument. Starting a payment debits 1 credit from the transaction owner's key.

OperationDebits credit?
getCreditsLeftNo
paymentNo (debit on payment start)
StartPayment / start*PaymentYes (owner key)
Other API-key operationsYes

Credit top-ups are managed via the dashboard (UserCreateCreditTopup, UserStartCreditTopup) — not the legacy rechargeApiKey flow.

Verified REST map

RESTGraphQL
GET /healthService health check
POST /create-paymentpayment
POST /payStartPayment / start*Payment / UserStartCreditTopup
GET /orders/:txnidgetTxnDetails
GET /txn/:txnidgetTxnDetails
GET /donate/:campaignIdgetDonate
POST /donate/:campaignId/payStartDonation

cancelPayment is GraphQL-only. Dashboard User* operations require a Bearer session token — see API schema.

Transaction statuses

PENDING · STARTED · COMPLETED · EXPIRED · CANCELLED

Typical payment flow

  1. payment (or POST /create-payment) → get txnid + paymentLink
  2. StartPayment / start*Payment (or POST /pay) → deposit address
  3. Poll getTxnDetails / GET /orders/:txnid (or getTransactionDetails with API key)
  4. Optionally cancelPayment if still pending/started