v1

latestOpenAPI 3.0.0Forter License2026-07-1333204516.7 KB
Agentic Commerce (ACP) - demo

Complete an ACP checkout session

Mark a checkout session complete. DEMO-ONLY: canned responses, no real Forter risk decisioning, no real payment.

post/checkout_sessions/{id}/complete

Headers

API-Versionstring required
Example:2025-09-29

ACP API version in YYYY-MM-DD form. If the version is unsupported the endpoint returns an ACP-shaped error carrying supported_versions so the agent can negotiate.

Idempotency-Keystring required
Example:a1b2c3d4-0000-4000-8000-000000000000

Client-generated unique key that makes a write idempotent: a retry carrying the same key returns the original result instead of creating a duplicate. Required on ACP write operations.

Response

Success - demo ACP object.

idstring
object'checkout_session'
status'open' | 'complete' | 'canceled'
intentobject
payment_methodsobject[]
fraud_decisioningobject

Demo Forter decision block. decision is one of APPROVE, DECLINE, VERIFICATION_REQUIRED, NOT_REVIEWED.

idempotency_keystring nullable
livemodeboolean
createdinteger

Unix timestamp (seconds).

Example response

{
  "id": "cs_demo_290caed9c8d1417e"
}