The two checkpoints
HTTP endpoints
If your integration calls the HTTP API directly, use an agent SDK key with the scope for each step. All paths below begin with/api/sdk and return { "checkpoint": { ... } } with an id, stage,
nextAction, and expiresAt.
Begin with a stable
idempotencyKey, merchant ID, name and HTTPS checkout URL, amount in USD cents,
purpose, and a cart with line items and totals. Continue only after APPROVED with
CONFIRM_BEFORE_PAYING. Confirm with the final amountMinor, currency, and, when available,
the final cart and pageUrl. The raw HTTP confirm refuses a changed total; cancel the old
checkpoint, begin a new one at the final total with a new idempotency key, and confirm that one.
The SDK checkout.confirm() helper performs that replacement automatically. Submit payment only
after CONFIRMED with PAY_THEN_REPORT_OUTCOME.
After submission, report PAID, NOT_PAID, or UNKNOWN on the same checkpoint. Read its status
before retrying after a timeout; never submit the payment twice. A reported outcome has
settlementVerified: false and is not proof of settlement. If Conto returns
503 PAYMENTS_PAUSED, stop checkout and ask the owner to check payment availability. See
error handling.
When the total changes
Tax and shipping often appear only after the buyer signs in and enters an address. The final total still has to pass the agent’s rules. If it differs from the approved total,confirm() replaces the
approval with one for the final total before it confirms. If the final total breaks a rule, the
payment stops there.
Pass pageUrl to confirm() to check that the payment is submitted on the merchant’s site or the
payment method’s own pages.
Report the outcome
PAIDkeeps the amount counted toward the agent’s limits.NOT_PAIDreleases it.UNKNOWNkeeps it counted until you report again.
begin(). If a confirmed checkpoint never gets an outcome, the owner gets an alert to check
the order.
MCP tools
An MCP agent can use the same flow without code:checkout_checkpoint_begin,
checkout_checkpoint_confirm, and checkout_checkpoint_report_outcome, plus
checkout_checkpoint_cancel and checkout_checkpoint_status. See MCP tools.