Anrok · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Anrok Transactions API
7 actions
7 updates
phrasing
extends
openapi/anrok-transactions-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Anrok's API. It is a proposal applied on top of the contract, not a document Anrok publishes.
What the actions change
x-apievangelist-phrasing
Targets 7
$.info
$.paths['/v1/seller/transactions/createOrUpdate'].post
$.paths['/v1/seller/transactions/createEphemeral'].post
$.paths['/v1/seller/transactions/createNegation'].post
$.paths['/v1/seller/transactions/id:{transactionId}/get'].post
$.paths['/v1/seller/transactions/id:{transactionId}/void'].post
$.paths['/v1/seller/transactions/list'].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 Anrok Transactions API
version: 1.0.0
extends: openapi/anrok-transactions-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-21'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 6
- target: $.paths['/v1/seller/transactions/createOrUpdate'].post
update:
x-apievangelist-phrasing:
intent: Record a sale with tax calculation
effect: write
questions:
- How do I record a sale so Anrok files the right sales tax return?
- Can I save a transaction with the tax already added?
instructions:
- text: Create transaction {id} with line items {lineItems} in {currencyCode} for {customerAddress}.
slots:
id: requestBody.id
lineItems: requestBody.lineItems
currencyCode: requestBody.currencyCode
customerAddress: requestBody.customerAddress
- text: Record sale {id} for {customerName} at {customerAddress} with tax already added {taxAmountAdded}.
slots:
id: requestBody.id
customerName: requestBody.customerName
customerAddress: requestBody.customerAddress
taxAmountAdded: requestBody.taxAmountAdded
method: generated
generated: '2026-11-21'
- target: $.paths['/v1/seller/transactions/createEphemeral'].post
update:
x-apievangelist-phrasing:
intent: Calculate tax on a sale without saving it
effect: read
questions:
- Can I calculate sales tax for an invoice without saving it?
- What would the tax be on a sale I'm about to send?
instructions:
- text: Calculate tax for {lineItems} in {currencyCode} to {customerAddress} without saving it.
slots:
lineItems: requestBody.lineItems
currencyCode: requestBody.currencyCode
customerAddress: requestBody.customerAddress
- text: Estimate tax on {lineItems} for {customerName} at {customerAddress} using tax date {taxDate}.
slots:
lineItems: requestBody.lineItems
customerName: requestBody.customerName
customerAddress: requestBody.customerAddress
taxDate: requestBody.taxDate
method: generated
generated: '2026-11-21'
- target: $.paths['/v1/seller/transactions/createNegation'].post
update:
x-apievangelist-phrasing:
intent: Create a refund transaction
effect: write
questions:
- How do I create a refund transaction that reverses a sale?
- Can I create a negation of an existing transaction?
instructions:
- text: Create negation {newTransactionId} of transaction {originalTransactionId}.
slots:
newTransactionId: requestBody.newTransactionId
originalTransactionId: requestBody.originalTransactionId
- text: Reverse sale {originalTransactionId} with refund {newTransactionId} at version {originalTransactionExpectedVersion}.
slots:
originalTransactionId: requestBody.originalTransactionId
newTransactionId: requestBody.newTransactionId
originalTransactionExpectedVersion: requestBody.originalTransactionExpectedVersion
method: generated
generated: '2026-11-21'
- target: $.paths['/v1/seller/transactions/id:{transactionId}/get'].post
update:
x-apievangelist-phrasing:
intent: Get a transaction
effect: read
questions:
- What are the details of a transaction?
- Can I look up one transaction by its ID?
instructions:
- text: Get transaction {transactionId}.
slots:
transactionId: path.transactionId
- text: Show the latest version of transaction {transactionId}.
slots:
transactionId: path.transactionId
method: generated
generated: '2026-11-21'
- target: $.paths['/v1/seller/transactions/id:{transactionId}/void'].post
update:
x-apievangelist-phrasing:
intent: Void a transaction
effect: destructive
questions:
- How do I void a transaction so it's excluded from returns?
- Can I cancel a sale I already recorded?
instructions:
- text: Void transaction {transactionId}.
slots:
transactionId: path.transactionId
- text: Cancel transaction {transactionId} expecting version {transactionExpectedVersion}.
slots:
transactionId: path.transactionId
transactionExpectedVersion: requestBody.transactionExpectedVersion
method: generated
generated: '2026-11-21'
- target: $.paths['/v1/seller/transactions/list'].post
update:
x-apievangelist-phrasing:
intent: List transactions
effect: read
questions:
- Which transactions have been recorded?
- Can I list transactions modified since a certain date?
instructions:
- text: List transactions matching {filter}.
slots:
filter: requestBody.filter
- text: Show {limit} transactions.
slots:
limit: requestBody.limit
method: generated
generated: '2026-11-21'
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/anrok-transactions-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.