Scalapay · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Scalapay Orders API
9 actions
9 updates
phrasing
extends
openapi/scalapay-orders-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Scalapay's API. It is a proposal applied on top of the contract, not a document Scalapay publishes.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/v2/orders'].post
$.paths['/v2/orders/{token}'].post
$.paths['/v2/payments/capture'].post
$.paths['/v2/payments/references'].get
$.paths['/v2/payments/{token}'].get
$.paths['/v2/payments/{token}/delay'].post
$.paths['/v2/payments/{token}/refund'].post
$.paths['/v2/payments/{token}/void'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Scalapay Orders API
version: 1.0.0
extends: openapi/scalapay-orders-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-12-03'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 8
- target: $.paths['/v2/orders'].post
update:
x-apievangelist-phrasing:
intent: Create a payment order
effect: write
questions:
- How do I create a new order to collect a payment?
- What do I need to send to create an order, like items and shipping?
instructions:
- text: Create an order for {items} from {consumer} shipping to {shipping} with total {totalAmount}.
slots:
items: requestBody.items
consumer: requestBody.consumer
shipping: requestBody.shipping
totalAmount: requestBody.totalAmount
- text: Create an order with merchant reference {merchantReference}.
slots:
merchantReference: requestBody.merchantReference
method: generated
generated: '2026-12-03'
- target: $.paths['/v2/orders/{token}'].post
update:
x-apievangelist-phrasing:
intent: Update an order's merchant reference
effect: write
questions:
- Can I set or change the merchant reference on an order after creating it?
- How do I link an order to a payment reference in my system?
instructions:
- text: Set the merchant reference on order {token} to {merchantReference}.
slots:
token: path.token
merchantReference: requestBody.merchantReference
- text: Update order {token} with processor reference {merchantProcessorReference}.
slots:
token: path.token
merchantProcessorReference: requestBody.merchantProcessorReference
method: generated
generated: '2026-12-03'
- target: $.paths['/v2/payments/capture'].post
update:
x-apievangelist-phrasing:
intent: Capture a payment
effect: write
questions:
- How do I capture the payment after the customer pays?
- Can I capture only part of the amount I ordered?
instructions:
- text: Capture {amount} from order {token}.
slots:
amount: requestBody.amount
token: requestBody.token
- text: Capture the full amount of order {token}.
slots:
token: requestBody.token
method: generated
generated: '2026-12-03'
- target: $.paths['/v2/payments/references'].get
update:
x-apievangelist-phrasing:
intent: Find orders by reference
effect: read
questions:
- Can I look up an order by its merchant reference?
- Which orders match a given reference value?
instructions:
- text: Find orders by merchant reference {merchantOrderReference}.
slots:
merchantOrderReference: query.merchantOrderReference
- text: Look up order {orderToken} by its token.
slots:
orderToken: query.orderToken
method: generated
generated: '2026-12-03'
- target: $.paths['/v2/payments/{token}'].get
update:
x-apievangelist-phrasing:
intent: Get an order's details
effect: read
questions:
- What are the full details of a payment order?
- Can I see the status and amounts of an order by its token?
instructions:
- text: Show order {token}.
slots:
token: path.token
- text: Get the details of payment order {token}.
slots:
token: path.token
method: generated
generated: '2026-12-03'
- target: $.paths['/v2/payments/{token}/delay'].post
update:
x-apievangelist-phrasing:
intent: Delay capturing a payment
effect: write
questions:
- Can I delay capturing a payment until later?
- How long can an authorization stay open before it expires?
instructions:
- text: Delay capture of order {token} until {authorizationExpiryMilliseconds} milliseconds.
slots:
token: path.token
authorizationExpiryMilliseconds: requestBody.authorizationExpiryMilliseconds
- text: Hold the authorization on order {token} for {authorizationExpiryMilliseconds} ms.
slots:
token: path.token
authorizationExpiryMilliseconds: requestBody.authorizationExpiryMilliseconds
method: generated
generated: '2026-12-03'
- target: $.paths['/v2/payments/{token}/refund'].post
update:
x-apievangelist-phrasing:
intent: Refund a payment
effect: write
questions:
- How do I refund a customer who already paid?
- Can I refund part of a payment?
instructions:
- text: Refund {refundAmount} from order {token}.
slots:
refundAmount: requestBody.refundAmount
token: path.token
- text: Refund {refundAmount} on order {token} with reference {merchantRefundReference}.
slots:
refundAmount: requestBody.refundAmount
token: path.token
merchantRefundReference: requestBody.merchantRefundReference
method: generated
generated: '2026-12-03'
- target: $.paths['/v2/payments/{token}/void'].post
update:
x-apievangelist-phrasing:
intent: Void an order
effect: destructive
questions:
- How do I cancel an order before capturing?
- What happens to held funds when an order is voided?
instructions:
- text: Void order {token}.
slots:
token: path.token
- text: Cancel order {token} and release any held funds.
slots:
token: path.token
method: generated
generated: '2026-12-03'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/scalapay-orders-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
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.
A second provider on the same verified email joins the account you already have.