Create a payment request link
gloam_create_payment_requestMake a link that asks someone to pay your Gloam address privately. It opens Pay in the Gloam app with the address, amount, asset and note filled in; the payer checks and sends. The details ride after the # of the link, so the payer's browser never sends them to a server. Needs your public Gloam address (gloamr1.…), never a key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Your Gloam address to be paid at, gloamr1.… (public; find it in the app under Receive). | |
| name | No | Your name as the payer should see it (up to 40 characters). | |
| note | No | A reference the payer sees, e.g. "Invoice 042" (up to 80 characters). | |
| asset | No | Token symbol or address, e.g. USDG on Robinhood Chain, OUSD or PathUSD on Tempo. Default: the network's main stablecoin. | |
| amount | No | Amount in whole units, e.g. "12.50". Leave out to let the payer choose. | |
| network | No | Gloam network: "tempo" (Tempo Moderato testnet, private stablecoin payments) or "robinhood" (Robinhood Chain testnet). | robinhood |