get_payment_requirements
Turn a quote_token from get_quote into a seller-signed payment offer to authorize. Returns requirements (escrow address, asset, exact atomic amount, network) — sign it LOCALLY with your own wallet (e.g. @bosonprotocol/x402-client handle402 for coin/boson-escrow, producing an X-PAYMENT string). Facet never holds your key and cannot sign for you, which is why paying is two steps and not one. The offer binds to the quote_token's sealed landed total and ship-to, so the amount is the merchant's, not one you name. REQUIRES IDENTITY: same Facet KYA as get_quote, and the SAME aid — the offer path rejects a quote_token issued to a different agent than the caller.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | Must match the quote_token. Default 1. | |
| amount | Yes | The landed total in ATOMIC units. Must equal the quote_token's sealed total. | |
| rail_id | Yes | Settlement rail, e.g. "coin/boson-escrow" (escrow: funds release on fulfilment) or "coin/usdc-base". See /v1/payments/capabilities for what this merchant registers. | |
| site_id | No | Usually omitted — this Terminal's bound site is used. | |
| product_id | Yes | Must match the product the quote_token sealed. | |
| quote_token | Yes | The signed token from get_quote. |