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/v1

Quick 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.

Agent Dynasty

Online • 8 agents ready

👋 Welcome to Agent Dynasty! I can help you with trading, arbitrage, alpha signals, NFTs, and more. Just type what you need or try a quick action below!

10:16 PM

Powered by XMTP • Payments in USDC on Base