Introduction
AstraPay is a non-custodial crypto payment processing platform. Accept USDC, USDT, ETH, BTC, and more — with no KYC requirements on your customers.
Base URL
https://apipay.byastra.ai/v1/apiDashboard: pay.byastra.ai
How it works
Your server calls
POST /paymentswith an amount, token, and networkThe API returns a
checkout_urlYou redirect your customer to that URL
AstraPay displays the wallet address, QR code, and live payment tracking
On confirmation, a webhook fires and the customer is redirected to your
redirect_url
It works like Stripe Checkout — create a payment, get a link, send your customer there.
Quick example
curl -X POST https://apipay.byastra.ai/v1/api/payments \
-H "X-Api-Key: ap_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"amount": 49.99,
"token": "USDC",
"network": "BASE",
"redirect_url": "https://yourapp.com/success"
}'Response:
Redirect your customer to checkout_url. Done.
Integration options
Option
Best for
Any backend language — direct HTTP calls
Node.js / TypeScript projects
AI agents — Claude, Cursor, VS Code Copilot
Last updated