Checkouts
Create a checkout
Creates a checkout session, standalone or built from a payment link with linkId. The create and list responses do not include a plain amount, only amount_override (null unless you passed one). Call "Retrieve a checkout" for a computed, ready-to-display amount. Accepts an Idempotency-Key header (wins over a body idempotencyKey if both are sent); a repeat call with the same key returns the same checkout instead of creating a second one.
post/gateway/sessions
Request
- Base URL: https://api.agentaos.ai/api/v1
- URL: https://api.agentaos.ai/api/v1/gateway/sessions
- Auth: API key in header x-api-key
Headers
Idempotency-Keystring
Alternative to the body's idempotencyKey field. The header wins if both are sent.
Request body
Response
Checkout created.
Changes
No recorded changes to this operation across all 1 revision of this API.