API Reference
Ease Pay API
Accept payments programmatically with our REST API. Create payments, manage webhooks, and track transactions.
Overview
The Ease Pay API is organized around REST. Our API accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes.
Base URL
https://easepay.xyz/api/v1Quick Start
1
Register & Get API Key
curl -X POST https://easepay.xyz/api/v1/register \
-H "Content-Type: application/json" \
-d '{
"wallet_address": "0x...",
"business_name": "My Store"
}'2
Create a Payment
curl -X POST https://easepay.xyz/api/v1/payments \
-H "Authorization: Bearer ep_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"amount": 1000,
"description": "Order #123"
}'3
Redirect Customer
Use the payment_url from the response to redirect your customer to complete payment.