Appearance
Playbooks
Playbooks are standard operating procedures (SOPs) for UCP. Use calls.md for payload shape and required fields.
Surface availability (explicit)
- API Gateway: Available.
- Direct Lambda: Not offered.
- CLI: Not available.
- MCP: Available.
Onboarding a platform
- Admin registers platform:
POST /ucp/platform/registerwith caption and scopes. - Admin records
client_idandclient_secret— secret is shown once only. - Platform uses
client_id/client_secretfor checkout operations. - Admin can rotate secret (
/platform/rotate) or revoke (/platform/revoke).
Checkout flow (platform)
- Platform creates session:
POST /ucp/checkout/createwith line_items and optional buyer. - Platform updates session as needed:
POST /ucp/checkout/update. - When session is
ready_for_complete, platform finalizes:POST /ucp/checkout/complete. - On success, SCM order is created and
scm_order_guidis returned. - On failure, session reverts to
ready_for_completewith error_message.