Quickstart
PayID API Quickstart Guide
This guide shows how to integrate PayID into your app using the live REST API, step by step. We'll register users, claim PayIDs, configure routing, and finally initiate signed on-chain payments — no SDK needed.
Authentication & Headers
Every request to the API must include:
Authorization: Bearer your-api-key
Content-Type: application/json
Accept: application/json📌 API Base URL: https://api.reveel.id/v1
Prerequisites
Make sure you have:
A valid API key
A tool like curl, Postman, or any HTTP client
Step 1: Create a User
Response:
Step 2: Claim a PayID
Response for free PayID:
For premium PayIDs:
Step 3: Create a Route
Response:
Step 4: Initiate and Sign a Transaction
a. Initialize transaction from backend
Response:
ERC20 Token Example (with approval)
When sending ERC20 tokens, you may receive an approveTx that needs to be executed first:
b. Frontend Signing & Submission (Wagmi + Viem)
✅ You can also use ethers.js or web3.js — just pass the exact to, data, value, and chainId from the response.
Step 5: Get Transaction Activity
Response:
✅ Returns transaction history including amounts, routes, tokens, and fees.
Last updated
Was this helpful?

