Accept XRP payments online: destination tags, partial payments and payouts
XRP is one of the fastest coins to accept: a payment is final as soon as its ledger is validated, usually within seconds. It also works differently from Bitcoin or USDT. Every invoice is paid to the same address and told apart by a number, and the XRP Ledger has a payment type that can promise more than it delivers. Here is how easyway handles both, and what to tell your customers.
One address, one tag per invoice
Every XRP Ledger account must keep a reserve locked, so easyway doesn't open a new account per invoice. All XRP invoices share one receiving address, and each gets its own destination tag: an 8-digit number (it starts at 10,000,000 and counts up), never reused. The tag is the only thing that links a payment to its order. The XRP page shows how the checkout displays it; this post is about what happens around it.
What happens to each kind of payment
The watcher reads only validated ledgers. For every payment into the receiving address it decides like this:
| The payment | What happens |
|---|---|
| XRP with the invoice's tag, full amount | Paid after 1 validated ledger, once a second, unrelated XRP Ledger server shows the same hash, amount and tag |
| Right tag, less than the invoice | Counted for what arrived: the invoice is underpaid and the customer can send the rest with the same tag |
| A "partial payment" whose Amount field says more than it delivered | Only the ledger's delivered_amount is counted, so it is treated like any short payment |
| No destination tag | Credited to nobody automatically; logged as unmatched for a manual look |
| A tag that belongs to no invoice | The same: logged for a manual look, never guessed onto an order |
| Less than 0.01 XRP | Ignored as spam |
| A token issued on the XRP Ledger, not XRP | Not counted: only XRP itself pays an XRP invoice |
| The second server can't be reached | Held and checked again on the next pass, not dropped |
Partial payments are the oldest XRP deposit trick. A sender sets a large Amount with the partial-payment flag and delivers a fraction of it; a system that trusts Amount credits the whole sum. Reading delivered_amount closes that hole. Short and late payments then follow the same rules as every other coin, described in the underpaid and late payments guide.
What to tell customers
Most lost XRP payments come from exchanges, where the tag field is optional and often labelled "Tag" or "Memo". The checkout warns that the tag is required, and its QR code holds the address only, so the payer types or pastes the tag themselves. If a customer forgets it, the payment is not lost, but it needs a manual match: ask them for the transaction hash. The exchange payments post has the full list of exchange traps.
Your own payment screen
With the hosted checkout you never handle tags. If you build your own screen, price the invoice in XRP (currency = "XRP") and the API returns the amount, the address and the tag at once. Show pay_memo next to the address whenever it is not null, and mark it as required:
// xrp-invoice.mjs: an XRP invoice for your own payment screen (Node 18+, no SDK).
const res = await fetch("https://api.easyway.cash/v1/invoices", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.EASYWAY_API_KEY}`,
"Idempotency-Key": "shop-order-5120",
"Content-Type": "application/json",
},
body: JSON.stringify({ amount: "40", currency: "XRP", order_id: "5120" }),
signal: AbortSignal.timeout(15_000),
});
const inv = await res.json();
if (!res.ok) throw new Error(`${res.status} ${inv.message}`);
// Priced in XRP itself, so the amount, the address and the tag are in the 201.
console.log("Send exactly", inv.pay_amount, "XRP");
console.log("To address ", inv.pay_address);
if (inv.pay_memo) console.log("Destination tag (required):", inv.pay_memo);
console.log("Or open ", inv.payment_url);A USD-priced invoice works too: the customer picks XRP on the checkout and the amount is locked from the rate at that moment (see USD or coin pricing). Either way, ship the order on the signed invoice.paid webhook, not on your own screen. The quickstart has the full flow.
Withdrawing XRP
| Asset id | Credited after | Platform fee | Min. withdrawal | Withdrawal fee |
|---|---|---|---|---|
XRP | 1 validated ledger | 0.5% | 0.35 XRP | 0.02 XRP |
XRP stays XRP on your easyway balance until you withdraw it to an address on your whitelist. Three XRP-specific rules:
Use the classic address. Whitelisted XRP addresses are the classic form that starts with r. If your exchange shows an "X-address", use its classic address and tag instead.
Add your exchange's tag to the whitelist entry. Exchanges credit their customers by tag too. The tag is saved with the address and sent with every withdrawal to it. It must be a whole number up to 4,294,967,295; anything else fails the withdrawal before it is signed.
A brand-new wallet needs the reserve. An XRP account only exists once it holds the ledger reserve. Sending less than that to an address that has never been funded is refused by the ledger itself. The withdrawal is then marked failed and the amount returns to your balance.
Common questions
How fast is an XRP payment credited? As soon as its ledger is validated and a second server agrees, typically a few seconds. A validated XRP transaction cannot be reversed, so there is no waiting for extra confirmations.
Can I take XRP without code? Yes. A payment link creates a fresh invoice, with its own tag, for every visitor.
Is XRP the only coin with a tag? TON works the same way with a memo; see USDT on TON. Every other network gets a fresh address per invoice.