Update a payment link
Partial update: only send the fields you want to change.
Authorizations
Your secret key, from app.agentaos.ai -> Settings -> Developers -> API Keys. The key's prefix is both its identity and its environment: sk_test_... (sandbox, free, no verification) or sk_live_... (real money, requires business verification). A missing or invalid key returns 401.
Path Parameters
Payment link UUID.
Body
Partial update. Every field is optional; only fields present are changed.
120100020480.01 <= x <= 1000000Checked against the resulting merged state.
one_time, subscription month, year Free-trial length in days; subscription links only.
1 <= x <= 730Price of the trial period in currency units. Only with trialPeriodDays; null makes it a free trial.
0.01 <= x <= 1000000Whether the price includes VAT (inclusive, the price a buyer sees is the price they pay) or VAT is added at checkout (exclusive). Explicit null clears this product's override, back to inheriting your org's tax mode setting; omitted leaves it unchanged.
inclusive, exclusive Response
The updated payment link.
Payment link UUID.
Public ID used in the checkout URL.
Currency units.
Settlement currency or token.
Your custom data.
active, cancelled Successful payments against this link so far.
null means unlimited.
mor (card + bank) or crypto (on-chain). The snake_case column equivalent of the computed sellerMode.
mor, crypto one_time, subscription month, year, null test, live Full URL to share with buyers. Computed, camelCase, no snake_case equivalent.
mor, crypto This product's own VAT mode override; null when it follows the account setting.
inclusive, exclusive, null Free-trial length in days, or null when the link has no trial.
Price of the trial period in currency units, or null for a free trial (or no trial).