What the mandate controls
Read the mandate withGET /agentic/mandates/:id and check four things.
Response
status reads ACTIVE. Lifecycle and Statuses lists every value.
The charge cycle
Each cycle repeats the purchase phase and reuses only the enrollment and the mandate. The ceiling check is the one point where a cycle can stop, so branch on it before you charge.1
Read the mandate
Confirm the status is
ACTIVE and that charges remain under maxCharges. A paused or canceled mandate cannot authorize the cycle.2
Price the order again
Create a fresh quote for the cycle with
POST /agentic/quotes and select a shipping option. Merchant prices move, so never reuse a quote or an old total across cycles. The call sequence matches One-Time Purchases.3
Compare the total to the ceiling
Check
amountBreakdown.finalAmount against the mandate amount before you charge. Hold the cycle and ask the user for new terms when the total sits above the ceiling.4
Charge and confirm
Create the checkout with
POST /agentic/checkouts against the same enrollment, then read it with GET /agentic/checkouts/:id to capture orderId and finalAmount for that cycle. Branch on nextAction in the checkout response, and send the user to the approval page whenever it holds a value.Control the schedule
A mandate stays under your control between cycles.POST /agentic/mandates/:id/pausestops charges and keeps the approved termsPOST /agentic/mandates/:id/resumecontinues a paused mandate under the same termsPOST /agentic/mandates/:id/cancelends the mandate
Next steps
Lifecycle and Statuses
Pause, resume, cancel, and every status value.
FAQ
Short answers to common integration questions.