API Base URL
SuperCash API endpoints are hosted at:https://api.supercash.me
Prerequisites
Every API user requires a SuperCash wallet:- Sign up for a SuperCash account at https://app.supercash.me
- Export your private key at https://app.supercash.me/export - this is the key you authenticate and sign payments with.
- Fund the exported wallet with:
- USDC or USDT on one of the supported chains, and
- the chain’s native token for gas (ETH on Arbitrum/Base, BNB on BSC).
- (Optional) Complete KYC at https://app.supercash.me/kyc
- Doubles daily and monthly payment limits
1. Authenticate
All payment endpoints requireAuthorization: Bearer <token>. Get the token via SIWE.
This token is valid for up to 7 days. Re-authenticate when it expires.
The wallet you authenticate with must be the same wallet that signs the payment transaction.
1
Request a payload
2
Build the SIWE message and sign it (personal_sign)
3
Exchange it for a JWT
2. Create an order
- Pick one route to pay with. Each route is a (chain, token) pair.
address- the recipient wallet for that chain. Differs per chain; never hardcode it.amount- exactly what to transfer, in the token’s base units (USDC/USDT use 6 decimals on Arbitrum/Base, 18 on BSC —amountalready accounts for this).token- the ERC-20 contract to calltransferon.- The order expires at
expiresAt(15 minutes). Submit the payment before then.
3. Sign the transfer
Build a regular ERC-20transfer(route.address, route.amount) transaction on the route’s chain and sign it with your private key.
- Signs an ERC-20
transferof exactlyroute.amountbase units - Recipient is exactly
route.address - Token contract is the route’s
tokenon the route’schainId - Signed by the wallet you authenticated with
4. Submit the signed transaction
chainId must match the route you paid.
5. Poll the order status
| Status | Meaning |
|---|---|
PENDING | Payment submitted, not yet confirmed: keep polling |
SUCCESS | Confirmed: fiat sent to recipient |
FAIL | Failed: see message for the reason |
REFUND | Failed after payment, crypto was refunded onchain |
TIMEOUT | Expired without payment |
PENDING. SUCCESS/FAIL/REFUND/TIMEOUT are terminal.