# @integraledger/lcp/x402-upto-xrpl

> The `x402/upto/xrpl` pairing: x402's `upto` scheme on the XRP Ledger, at coverage `none`, its payment following an agreement on the same network.

Source: https://lcp.integraledger.com/reference/api/x402-upto-xrpl

Updated 2026-11-18. Documents @integraledger/lcp 0.6.3 and @integraledger/profile-facilitator 0.5.1. Every page of this site is listed in https://lcp.integraledger.com/llms.txt.

The `x402/upto/xrpl` pairing: x402's `upto` scheme on the XRP Ledger, at coverage `none`, its payment following an
agreement on the same network.

The payer opens a payment channel to the option's `payTo` itself and presents the channel and its own account, so
nothing it signs carries the ATR hash. Settlement is read from the channel's create.

## Interfaces

### UptoXrplPayload

What the payer presents: the channel's id, the maximum its claim signs, the claim's signature, the channel's
`PublicKey` and the channel's `Account` (`specs/schemes/upto/scheme_upto_xrpl.md:172-188` at x402 `88b66dd4`).

#### Properties

| Property | Type |
| ------ | ------ |
| <a id="property-channelid"></a> `channelId` | `string` |
| <a id="property-maxamount"></a> `maxAmount` | `string` |
| <a id="property-payer"></a> `payer` | `string` |
| <a id="property-publickey"></a> `publicKey` | `string` |
| <a id="property-signature"></a> `signature` | `string` |

***

### UptoXrplPaymentPayload

A payment on `x402/upto/xrpl`.

#### Properties

| Property | Type |
| ------ | ------ |
| <a id="property-accepted"></a> `accepted` | [`PaymentRequirements`](https://lcp.integraledger.com/reference/api/x402.md#paymentrequirements) |
| <a id="property-extensions"></a> `extensions?` | `object` |
| <a id="property-payload"></a> `payload` | [`UptoXrplPayload`](#uptoxrplpayload) |
| <a id="property-resource"></a> `resource?` | `object` |
| `resource.url` | `string` |
| <a id="property-x402version"></a> `x402Version` | `2` |

## Variables

### uptoXrpl

> `const` **uptoXrpl**: `Readonly`\<\{ `advertise`: (`doc`, `h`, `link`, `offer`, `agreementUrl?`) => [`Refusal`](https://lcp.integraledger.com/reference/api.md#refusal) \| [`PaymentRequired`](https://lcp.integraledger.com/reference/api/x402.md#paymentrequired); `bound`: (`presented`, `_given?`) => `Promise`\<[`Refusal`](https://lcp.integraledger.com/reference/api.md#refusal) \| `` `0x${string}` ``\>; `broadcaster`: (`presented`) => `Promise`\<[`Refusal`](https://lcp.integraledger.com/reference/api.md#refusal) \| [`Broadcaster`](https://lcp.integraledger.com/reference/api.md#broadcaster)\>; `claims`: `boolean`; `data`: [`PairingData`](https://lcp.integraledger.com/reference/api.md#pairingdata); `id`: `"x402/upto/xrpl"`; `pattern`: [`LcpPattern`](https://lcp.integraledger.com/reference/api/x402.md#lcppattern); `read`: (`doc`) => [`Refusal`](https://lcp.integraledger.com/reference/api.md#refusal) \| [`X402Read`](https://lcp.integraledger.com/reference/api/aptos.md#x402read); `reference`: (`presented`, `option`, `_given?`) => `Promise`\<[`Refusal`](https://lcp.integraledger.com/reference/api.md#refusal) \| `Omit`\<[`XrplChannelRef`](https://lcp.integraledger.com/reference/api/xrpl.md#xrplchannelref), `"fromLedger"`\>\>; `status`: (`ref`, `reader`, `query`) => `Promise`\<[`XrplStatus`](https://lcp.integraledger.com/reference/api/xrpl.md#xrplstatus)\>; `tie`: (`accepts`, `request`) => \[`"x402"`, \{ `accepts`: readonly [`PaymentRequirements`](https://lcp.integraledger.com/reference/api/x402.md#paymentrequirements)[]; `request`: [`RequestCommitment`](https://lcp.integraledger.com/reference/api/x402.md#requestcommitment) \| [`ToolCallCommitment`](https://lcp.integraledger.com/reference/api/x402.md#toolcallcommitment); \}\]; `unplaced`: (`option`) => [`Refusal`](https://lcp.integraledger.com/reference/api.md#refusal) \| [`PaymentRequirements`](https://lcp.integraledger.com/reference/api/x402.md#paymentrequirements); \}\>

`x402/upto/xrpl`. The payer broadcasts (`broadcaster` answers `"payer"`): its client submits the channel's create
before it presents the payment, and the payment names that channel. `status` reads the create
(`xrplChannelStatus`). It has no `build`, the payer's own client opening the channel, and no `recover`, nothing on
the ledger carrying H.

## References

### Broadcaster

Re-exports [Broadcaster](https://lcp.integraledger.com/reference/api.md#broadcaster)

***

### X402Read

Re-exports [X402Read](https://lcp.integraledger.com/reference/api/aptos.md#x402read)
