DropPay is an XRP payment platform for freelancers, creators, developers, and businesses. Payments go directly to your XRPL wallet with no intermediaries. This documentation covers four core features: payment requests, the tip widget, the REST API, and AI agent payments with x402.
DropPay handles the payment infrastructure so you can focus on your work. You connect your XRP wallet once, then create payment requests, embed tip buttons, integrate via API, or charge AI agents per request. Every payment settles directly on the XRP Ledger, typically in 3 to 5 seconds.
Choose a section to get started:
A payment request is a payment link you create for a specific amount. Share the link, show the QR code, or send the Xaman deep link. When your customer pays, DropPay detects the on-chain transaction and marks the request as paid.
The pay_url opens a hosted payment page with the amount, a QR code, and a button to open in Xaman. Xaman is a free XRPL wallet app for iOS and Android. Your customer does not need a DropPay account.
Payment status updates automatically. You can enable email notifications in Account settings. Pro plan accounts can configure a webhook URL to receive a POST request the moment payment confirms.
Minimum payment amount: 1 XRP. Payments go directly to your XRPL wallet. DropPay never holds your funds.
The tip widget is an embeddable button that you can add to any website with a single script tag. Visitors can send you XRP without leaving your page, without creating an account, and without any setup on their end.
Paste this script tag anywhere on your page:
Replace yourhandle with your DropPay handle (visible in your dashboard under Account). The button appears wherever you place the script tag.
| Attribute | Description | Default |
|---|---|---|
| data-handle | Your DropPay handle (required) | none |
| data-amount | Pre-filled suggested amount | none |
| data-currency | XRP or RLUSDComing soon | XRP |
| data-label | Button label text | "Support Me" |
| data-color | Button hex color | #2563EB |
| data-tab | Open tip page in new tab instead of modal | false |
Any HTML page: personal websites, WordPress, Ghost, Webflow, portfolio sites. If you can paste a script tag, it works.
The visitor does not need a DropPay account. They need an XRPL wallet such as Xaman (free on iOS and Android).
The DropPay REST API lets you create payment requests, retrieve payment status, and receive webhook notifications from your own application. This covers the most common integration pattern: a customer pays before getting access to something.
All API requests require an API key in the Authorization header. Your key is available in your dashboard under Account. Keep it secret.
Response:
Redirect your customer to pay_url or render the QR code on your own page by appending /qr to the pay_url. You can also use the Xaman deep link returned by the hosted page for mobile-first flows.
Configure a webhook URL in your dashboard. DropPay sends a POST request to your URL when a payment confirms.
Verify the webhook signature using the X-DropPay-Signature header:
Always verify the webhook signature before acting on a payment. The signature uses HMAC-SHA256 with your webhook secret.
A typical ecommerce pattern: create the request when the customer checks out, redirect them to pay_url, and activate their order in your webhook handler.
x402 is an open HTTP standard for per-request payments between machines. Add one middleware line to your FastAPI or Flask endpoint and it starts charging AI agents automatically, per request, with no billing accounts or subscriptions on either side. Payment goes from the agent wallet to your wallet, directly on the XRP Ledger. Python frameworks FastAPI and Flask are supported at the moment.
x402 for XRP is live and tested on XRPL mainnet. RLUSDComing soon support is coming soon.
X-Payment: txhash in the headerEnable x402 in your DropPay dashboard and copy your config URL. Then add the middleware:
FastAPI:
Flask:
Set your price and currency in your DropPay dashboard under Account settings. XRP is live. RLUSDComing soon support is coming soon.
Before your agent can pay, it needs an XRPL wallet funded with XRP. If you are new to agentic transactions on the XRP Ledger, follow Ripple's official guide to create a wallet, fund it on testnet, and confirm your first transaction before going to mainnet.
Required reading: Getting Started with Agentic Transactions on XRPL covers wallet creation, funding, and your first autonomous payment on the XRP Ledger.
If you are building an AI agent or automated service that calls x402-protected APIs, the X402Client handles payment automatically:
Install:
Fund your agent wallet with XRP using Xaman. The X402Client warns you when the balance drops below a configurable threshold.
Set any XRP amount as your price from the dashboard. The minimum is 1 XRP. DropPay verifies each transaction on the XRP Ledger before granting access. Replay protection is built in: each transaction hash can only be used once.
DropPay verifies payments but never holds your funds. Money goes from the agent wallet to your wallet directly. Settlement takes 3 to 5 seconds on the XRP Ledger.
x402 works for any API that provides data or computation on demand:
DropPay also ships a Model Context Protocol server that connects your DropPay account to Claude Desktop. Install it separately:
Configure it in your Claude Desktop MCP settings with your dp_live_ API key. The MCP server requires a Pro account. Once connected, ask Claude to create payment requests, check invoice status, or list recent payments.
The same x402 flow is available for Node.js servers via a single downloadable script. No npm, no package manager. Download the file once, require() it, and any Express, Fastify, Next.js, or vanilla Node.js endpoint starts charging per request. All verification still runs on DropPay's backend — your server never touches the XRP Ledger directly.
fetch, which is not available in older Node versionsOr copy the file URL directly into your project: Download Droppay402.js. Place it anywhere in your project and require it by path.
Pass the middleware to any route or router. The middleware checks for an X-Payment header. If missing, it returns 402 with your price and wallet. If present, it verifies the transaction and calls next().
Use verify402 directly and write the response yourself — works with any HTTP framework or the built-in http module.
Set your price and currency in your DropPay dashboard under Account settings. The JS file reads your config automatically, no code change needed when you update your price.