create_pay_link
Create a checkout link a HUMAN pays from their own Algorand wallet (Pera). Use this when you have no wallet, or when the person should approve and pay themselves: they open the link, see the exact price, sign in their wallet, and the result (the eSIM QR code, or the top-up confirmation) appears on the page. You never hold a key. A top-up link can be paid by anyone — send it to family as 'top up my phone'. An eSIM link delivers to whoever pays. Free. Add ref (your Algorand address) to earn a share of margin on each delivered order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | your Algorand address, to earn referral share | |
| note | No | shown on the link page, e.g. 'Your Tokyo trip data' | |
| type | Yes | ||
| phone | No | topup only: recipient phone, E.164 | |
| amount | No | for range top-up offers: amount in local currency | |
| offerId | Yes | ||
| max_uses | No | 0 = reusable until expiry; default 1 for topup, 0 for esim | |
| ttl_hours | No | default 168 (7 days) |