get_payment_requirements
Get x402 PaymentRequirements for paying a pay: alias. Returns the 402 accepts block (scheme, network, payTo, asset, amount, invoiceId) an x402 agent needs to construct and submit the payment. currency='XRP' settles on the XRP Ledger (amount in drops); currency='USDC' settles USDC on Algorand via the GoPlausible facilitator (amount in atomic micro-USDC, feePayer in extra). The deterministic resolver chooses the rail; this tool never moves money. Example: get_payment_requirements('pay:acme.user', amount='1.5').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount to pay — decimal string in the asset's display unit (XRP). Omit it to be quoted the alias's declared price; required for an alias that declares no price. | |
| currency | No | Asset to pay in: 'XRP' (XRPL) or 'USDC' (Algorand). Defaults to XRP. | |
| alias_uri | Yes | The pay: address to pay. E.g. 'pay:acme.user'. |