API Reference
Start payment (unified)
Start monitoring a pending payment on any supported network with one mutation.
Unified mutation to start a pending payment on any supported network. Requires either a Bearer session token (dashboard) or an optional apiKey that owns the transaction.
Debits 1 credit from the transaction owner's API key when started.
Endpoint
POST https://api.argonpay.app/graphql
Mutation
mutation StartPayment($txnid: String!, $network: Network!, $token: StableToken, $apiKey: String) { StartPayment(txnid: $txnid, network: $network, token: $token, apiKey: $apiKey) { code message transaction { txnid amount amountInToken token network status wallet { address } custodianBranding { tagline brandColor logoUrl } countdown expiresAt createdAt } }}Arguments
| Name | Type | Required | Description |
|---|---|---|---|
txnid | String! | Yes | Pending transaction ID |
network | Network! | Yes | BEP20, POLYGON, BASE, or SOL |
token | StableToken | No | USDT or USDC (EVM only) |
apiKey | String | No | Merchant API key when not using Bearer auth |
REST equivalent
See Start payment. Pass apiKey in the body or Authorization: Bearer to use this unified path; omit auth for public hosted-checkout starters.
