Scalapay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Scalapay Instore API

7 actions 7 updates phrasing extends openapi/scalapay-instore-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/v1/instore/orders'].post
$.paths['/v1/instore/orders/references'].get
$.paths['/v1/instore/orders/{token}'].get
$.paths['/v1/instore/orders/{token}/refund'].post
$.paths['/v2/instore/paybylink/orders'].post
$.paths['/v2/instore/paybylink/orders/{token}/void'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Scalapay Instore API
  version: 1.0.0
extends: openapi/scalapay-instore-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: 6
- target: $.paths['/v1/instore/orders'].post
  update:
    x-apievangelist-phrasing:
      intent: Charge a customer in-store with a pre-approval code
      effect: write
      questions:
      - How do I charge a customer in-store using the pre-approval barcode?
      - Can I create an in-store order that charges the customer right away?
      instructions:
      - text: Create an in-store order for {totalAmount} with pre-approval code {preApprovalCode} for operator {merchantOperatorId}, reference {merchantReference}, items {items}, request {requestId}.
        slots:
          totalAmount: requestBody.totalAmount
          preApprovalCode: requestBody.preApprovalCode
          merchantOperatorId: requestBody.merchantOperatorId
          merchantReference: requestBody.merchantReference
          items: requestBody.items
          requestId: requestBody.requestId
      - text: Charge the customer {totalAmount} in-store with pre-approval {preApprovalCode}, operator {merchantOperatorId}, reference {merchantReference}, items {items}, request {requestId}.
        slots:
          totalAmount: requestBody.totalAmount
          preApprovalCode: requestBody.preApprovalCode
          merchantOperatorId: requestBody.merchantOperatorId
          merchantReference: requestBody.merchantReference
          items: requestBody.items
          requestId: requestBody.requestId
      method: generated
      generated: '2026-12-03'
- target: $.paths['/v1/instore/orders/references'].get
  update:
    x-apievangelist-phrasing:
      intent: Find in-store orders by reference
      effect: read
      questions:
      - Which in-store orders match a merchant reference?
      - Can I look up an in-store order by its processor reference?
      instructions:
      - text: Find in-store orders with reference {merchantOrderReference}.
        slots:
          merchantOrderReference: query.merchantOrderReference
      - text: Look up in-store orders by processor reference {merchantProcessorReference} and order token {orderToken}.
        slots:
          merchantProcessorReference: query.merchantProcessorReference
          orderToken: query.orderToken
      method: generated
      generated: '2026-12-03'
- target: $.paths['/v1/instore/orders/{token}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an in-store order's status
      effect: read
      questions:
      - What is the status of an in-store order?
      - Can I check whether an in-store order has been paid?
      instructions:
      - text: Get in-store order {token}.
        slots:
          token: path.token
      - text: Check the status of in-store order {token}.
        slots:
          token: path.token
      method: generated
      generated: '2026-12-03'
- target: $.paths['/v1/instore/orders/{token}/refund'].post
  update:
    x-apievangelist-phrasing:
      intent: Refund an in-store order
      effect: write
      questions:
      - How do I refund a customer's in-store payment?
      - Can I refund only part of an in-store order?
      instructions:
      - text: Refund {refundAmount} of in-store order {token}, request {requestId}, operator {merchantOperatorId}.
        slots:
          refundAmount: requestBody.refundAmount
          token: path.token
          requestId: requestBody.requestId
          merchantOperatorId: requestBody.merchantOperatorId
      - text: Issue a partial refund of {refundAmount} on in-store order {token}.
        slots:
          refundAmount: requestBody.refundAmount
          token: path.token
      method: generated
      generated: '2026-12-03'
- target: $.paths['/v2/instore/paybylink/orders'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an offline pay-by-link order
      effect: write
      questions:
      - How do I create an offline pay-by-link order for a customer?
      - Can I notify the customer by email or SMS when creating a pay-by-link order?
      instructions:
      - text: Create an offline pay-by-link order for {totalAmount}.
        slots:
          totalAmount: requestBody.totalAmount
      - text: Create a pay-by-link order for {totalAmount} with items {items} and extensions {extensions}.
        slots:
          totalAmount: requestBody.totalAmount
          items: requestBody.items
          extensions: requestBody.extensions
      method: generated
      generated: '2026-12-03'
- target: $.paths['/v2/instore/paybylink/orders/{token}/void'].post
  update:
    x-apievangelist-phrasing:
      intent: Void an offline pay-by-link order
      effect: destructive
      questions:
      - How do I cancel an offline pay-by-link order?
      - Can I release held funds on a pay-by-link order?
      instructions:
      - text: Void offline pay-by-link order {token}.
        slots:
          token: path.token
      - text: Cancel pay-by-link 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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/scalapay-instore-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.