Ababil has launched Testnet v1. All APIs on this page are live and ready to use on testnet.
What is Ababil?
Ababil is a payment infrastructure built on the x402 protocol. It gives merchants a dashboard and a developer API to accept USDC payments across Arc, Base, Ethereum, and Solana — all from one integration. When a buyer pays using a merchant’s API key, the USDC settles directly into that merchant’s dashboard wallet. No intermediaries, no custodial accounts — funds land peer-to-peer. AI agents can pay autonomously using EIP-3009 signed authorizations, requiring nothing beyond a private key. Ababil acts as the Facilitator in the x402 protocol triangle:Merchant
Uses the Ababil dashboard and API key to create payment intents. Received funds settle directly into the merchant’s dashboard wallet.
Buyer
Human or AI agent that signs a USDC transfer authorization. No token approvals needed.
Ababil
Verifies the EIP-3009 signature and relays
transferWithAuthorization on-chain. Never holds funds.Base URLs
| Environment | Base URL | Status |
|---|---|---|
| Testnet v1 | https://testnetv1.ababilpay.xyz | ✅ Live |
/api/v1:
Integration Paths
Ababil supports two integration patterns. Both start from the same intent creation endpoint.Hosted Gateway
Redirect buyers to Ababil’s hosted checkout page. Wallet connect, signing, and settlement are fully managed. Recommended for human buyers. ~1 hour to integrate.
Custom Integration
Build your own payment UI. Your frontend signs the EIP-3009 authorization; Ababil verifies and settles on-chain. Required for AI agents and white-label UIs. ~1 day to integrate.
| Hosted Gateway | Custom Integration | |
|---|---|---|
| Frontend work | None — redirect to Ababil URL | Build wallet connect + signing UI |
| Backend work | Create intent, redirect, poll status | Create intent, relay signature to /pay |
| Supported wallets | MetaMask, Coinbase Wallet, Phantom | Any wallet you connect |
| AI agent support | ✗ Requires a browser | ✓ Sign with private key |
| White-label UI | ✗ Ababil-branded page | ✓ Fully custom |
| Integration time | ~1 hour | ~1 day |
Endpoints at a Glance
| Method | Endpoint | Description |
|---|---|---|
POST | /api/v1/x402/intents | Create a payment intent |
GET | /api/v1/x402/intents/{id} | Get intent status and details |
GET | /api/v1/x402/intents | List intents with filters |
DELETE | /api/v1/x402/intents/{id} | Cancel a pending intent |
POST | /api/v1/x402/pay | Settle payment (custom integration) |
POST | /api/v1/x402/intents/{id}/solana-tx | Build unsigned Solana transaction |