Sending Payments to Customers
This page gives businesses advice on building outgoing payments carefully, so that an automated system sends each customer exactly what it should and no more.
- Section
- Concepts
In plain words
When you build an automated system that sends payments into the XRP Ledger for your customers, each payment has to be put together with care. People may try to trick such a system into paying out more than it should. When you send stablecoins, you generally use a Payment transaction. Some details differ depending on whether you are issuing new tokens or moving them from a hot wallet to a customer.
What to set
Always name your issuing address as the issuer of the token. Otherwise the payment might use paths that deliver the same currency issued by other addresses. Before sending, double check the cost. A payment from your operational address to a customer should not cost more than the destination amount plus any transfer fee you have set.
The SendMax field
SendMax is a field, one named value in the transaction. When you issue new tokens from your issuing address, leave SendMax out, so that only the intended Amount is issued. When you send tokens from a hot wallet and your transfer fee is above zero, you must set SendMax. Set it to the Amount plus the transfer fee. You may want to round up slightly.
The Paths field
Leave the Paths field out. It is not needed when you send directly from the issuer, or from a hot wallet when the tokens sent and the tokens received have the same currency code and issuer. Paths is meant for cross-currency payments and longer payments with several hops. Without it, a payment fails when the direct path is not available, and does not take a more expensive indirect route.
Good to know
If you get the result code tecPATH_DRY, it usually means one of two things. Either the customer has not set up the needed trust line yet, or your issuer's rippling settings are not configured correctly.
Construct payments carefully to thwart malicious actors.xrpl.org
Source: xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made