Payment link vs. checkout: a payment link is a template you create once and share. A checkout is a single payment attempt, either created standalone or from a link. Opening a payment link’s URL creates a new checkout behind the scenes.
Without code
Do not want to touch the API? Create a product in the dashboard and share its link.
The product builder. Name it, price it, and your shareable payment link is generated as you type.
1
Create a product
Open the Products page and add a name, description, price, and an optional image.
2
Share the link
Click Share to copy the product’s payment link. Send it by email, social, or a QR code. Every visit starts a fresh checkout.
Create a payment link
- SDK
- cURL
amount is in currency units, not cents. 49.99 means €49.99. See the money model if you’re wiring this up against real numbers.
One-time vs. subscription
A payment link istype: 'one_time' by default: every payment is independent, and the link can be reused indefinitely. Set type: 'subscription' to turn it into a recurring plan. Subscription links require a billingInterval and a verified account that accepts card and bank; they can’t run in on-chain-only mode.
The checkout URL
Every payment link returns acheckoutUrl in the shape https://app.agentaos.ai/pay/{id}. Share it as-is: a button, an email, a QR code. Each visit starts a fresh checkout scoped to that link’s amount, currency, and configuration.
Custom checkout fields
Collect extra information from the buyer before they pay by passingcheckoutFields. Each field renders on the hosted checkout page and is required or optional per field.
Retrieve a payment link
- SDK
- cURL
List payment links
Paginated: every list call returns{ items, total, hasMore }.
- SDK
- cURL
Cancel a payment link
Cancelling stops new checkouts from being created against the link. It does not affect checkouts already in progress or subscriptions already running from it.- SDK
- cURL
Parameters
number
required
Amount in currency units (e.g.
49.99 = €49.99).string
default:"org default"
EUR or USD.string
Shown on the checkout page. Max 1000 characters.
string
default:"one_time"
one_time or subscription.string
month or year. Required when type is subscription, omit otherwise.string
Redirect the buyer here after payment. HTTPS only.
string
“Cancel” link on the checkout page. HTTPS only.
string
Server notification URL for payment events. HTTPS only.
string
UUID of a pre-created tax rate.
array
Custom fields to collect from the buyer at checkout. Each item has
key, label, type (text | email | tel | select), required, and optionally placeholder or options (for select).string
ISO 8601. The link stops accepting new checkouts after this time.
object
Custom key-value data, returned unchanged on every checkout created from this link. Max 8KB.
Response
string
Link UUID.
string
Shareable payment URL.
number
Amount in currency units.
string
Settlement currency.
string
active or cancelled.string
mor (card + bank) or crypto (on-chain). Derived, never set by you.string
one_time or subscription.string | null
month or year for subscription links; null for one-time.number
Times this link has been paid.
array
Custom fields configured on this link.
string | null
ISO 8601.
string
ISO 8601.
Next steps
Checkouts
A single payment attempt, standalone or created from a link.
Subscriptions
How a
type: 'subscription' link turns into a running subscription.Webhooks
Get notified the moment someone pays your link.
How Merchant of Record works
Why we can handle card, bank, and tax as your seller of record.