Generated by API Evangelist
Written by API Evangelist tooling for Checkout.com's API. It is a proposal applied on top of the contract, not a document Checkout.com publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Checkout.com API Reference Flow API
version: 1.0.0
extends: openapi/checkout-com-flow-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/payment-sessions'].post
update:
x-apievangelist-phrasing:
intent: Request a payment session for Flow
effect: write
questions:
- How do I start a payment session with Flow?
- Can I set a success and failure URL when creating a payment session?
instructions:
- text: Create a payment session for {amount} {currency} with success URL {success_url} and failure URL {failure_url}.
slots:
amount: requestBody.amount
currency: requestBody.currency
success_url: requestBody.success_url
failure_url: requestBody.failure_url
- text: Request a payment session for {amount} {currency} for customer {customer}.
slots:
amount: requestBody.amount
currency: requestBody.currency
customer: requestBody.customer
method: generated
generated: '2026-11-18'
- target: $.paths['/payment-sessions/{id}/submit'].post
update:
x-apievangelist-phrasing:
intent: Submit a payment attempt for a session
effect: write
questions:
- How do I submit a payment after the shopper finishes Flow?
- Can I override the amount when submitting a payment session?
instructions:
- text: Submit payment session {id} with data {session_data}.
slots:
id: path.id
session_data: requestBody.session_data
- text: Submit payment session {id} with amount {amount} and billing {billing}.
slots:
id: path.id
amount: requestBody.amount
billing: requestBody.billing
method: generated
generated: '2026-11-18'
- target: $.paths['/payment-sessions/complete'].post
update:
x-apievangelist-phrasing:
intent: Create and submit a payment session in one call
effect: write
questions:
- Can I create a payment session and submit the payment in a single request?
- Is there a shortcut for the advanced Flow integration?
instructions:
- text: Create and submit a payment session for {amount} {currency} with data {session_data}, success URL {success_url}, failure URL {failure_url}.
slots:
amount: requestBody.amount
currency: requestBody.currency
session_data: requestBody.session_data
success_url: requestBody.success_url
failure_url: requestBody.failure_url
- text: Complete a payment session for {amount} {currency} for customer {customer}.
slots:
amount: requestBody.amount
currency: requestBody.currency
customer: requestBody.customer
method: generated
generated: '2026-11-18'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.