PayLinks
Create a PayLink
string
What the budget is for, e.g.
"Retainer mensual data". Shown to the agent before accepting.integer
required
Total ceiling in USD cents across all draws.
integer
Max size of any single draw.
integer
Max number of draws.
integer
Lifetime of the link.
Public view
Everything an agent needs to decide. No auth required.Accept a PayLink (agent)
Creates the grant, the auditable human authorization. Idempotent per (link, agent) pair.paylink.accepted to the merchant’s webhooks.
Charge against a grant
string
required
Which agent’s grant to draw from. The agent must have accepted first.
integer
required
Draw amount in USD cents.
string
What this draw pays for.
List your PayLinks (merchant)
Everything for the console dashboard: budget consumed by grants, remaining and accepted agents.spentMinor and remainingMinor are computed from the active grants, not from a
per-request counter. grantsCount is the number of agents that currently hold an
active grant.
List grants of a PayLink (merchant)
Which agents accepted a link and how much each has drawn. Useful to pick theagentId for a charge or to surface per-agent usage in your console.