Worldpay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for FX Foreign Exchange API

8 actions 8 updates phrasing extends openapi/worldpay-foreign-exchange-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Worldpay's API. It is a proposal applied on top of the contract, not a document Worldpay publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/foreignExchange/rates'].get
$.paths['/foreignExchange/quote'].get
$.paths['/foreignExchange/quote'].post
$.paths['/foreignExchange/contract'].post
$.paths['/foreignExchange/contract/{contractId}'].put
$.paths['/foreignExchange/markup/{entity}'].get
$.paths['/foreignExchange/markup/{entity}'].put

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 FX Foreign Exchange API
  version: 1.0.0
extends: openapi/worldpay-foreign-exchange-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: 7
- target: $.paths['/foreignExchange/rates'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a currency exchange rate
      effect: read
      questions:
      - What is the exchange rate for a particular payment method?
      - Can I get FX rates for a specific source and target currency?
      instructions:
      - text: Get the FX rate for {intent} from {sourceCurrency} to {targetCurrency}.
        slots:
          intent: query.intent
          sourceCurrency: query.sourceCurrency
          targetCurrency: query.targetCurrency
      - text: Show the exchange rate for {intent}.
        slots:
          intent: query.intent
      method: generated
      generated: '2026-11-18'
- target: $.paths['/foreignExchange/quote'].get
  update:
    x-apievangelist-phrasing:
      intent: Retrieve an FX quote
      effect: read
      questions:
      - Can I look up an FX quote I already created?
      - What are the details of a specific FX quote?
      instructions:
      - text: Retrieve FX quote {quoteId} for {entity}.
        slots:
          quoteId: query.quoteId
          entity: query.entity
      - text: Show the existing FX quote {quoteId}.
        slots:
          quoteId: query.quoteId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/foreignExchange/quote'].post
  update:
    x-apievangelist-phrasing:
      intent: Lock an FX rate for a currency pair
      effect: write
      questions:
      - How do I lock a fixed exchange rate for a payment?
      - Can I create an FX quote for a specific source and target currency?
      instructions:
      - text: Create an FX quote for {intent} from {sourceCurrency} to {targetCurrency}.
        slots:
          intent: requestBody.intent
          sourceCurrency: requestBody.sourceCurrency
          targetCurrency: requestBody.targetCurrency
      - text: Lock the {intent} exchange rate between {sourceCurrency} and {targetCurrency}.
        slots:
          intent: requestBody.intent
          sourceCurrency: requestBody.sourceCurrency
          targetCurrency: requestBody.targetCurrency
      method: generated
      generated: '2026-11-18'
- target: $.paths['/foreignExchange/contract'].post
  update:
    x-apievangelist-phrasing:
      intent: Lock a forward foreign exchange rate
      effect: write
      questions:
      - How do I lock a FX rate for a future payout in a different currency?
      - Can I lock a forward FX contract for an account payout customer only?
      instructions:
      - text: Create an FX contract for {targetAmount} {targetCurrency} from {sourceCurrency} effective {effectiveDate}, customer reference {customerReference}.
        slots:
          targetAmount: requestBody.targetAmount
          targetCurrency: requestBody.targetCurrency
          sourceCurrency: requestBody.sourceCurrency
          effectiveDate: requestBody.effectiveDate
          customerReference: requestBody.customerReference
      - text: Lock a forward contract on {sourceCurrency} to {targetCurrency} for {targetAmount} {targetCurrency} on {effectiveDate}.
        slots:
          sourceCurrency: requestBody.sourceCurrency
          targetCurrency: requestBody.targetCurrency
          targetAmount: requestBody.targetAmount
          effectiveDate: requestBody.effectiveDate
      method: generated
      generated: '2026-11-18'
- target: $.paths['/foreignExchange/contract/{contractId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Activate or cancel a forward FX contract
      effect: write
      questions:
      - How do I activate a locked FX contract?
      - Can I cancel a forward FX contract I created?
      instructions:
      - text: Set contract {contractId} to {status} for {entity}.
        slots:
          contractId: path.contractId
          status: requestBody.status
          entity: requestBody.entity
      - text: Activate FX contract {contractId} with status {status}.
        slots:
          contractId: path.contractId
          status: requestBody.status
      method: generated
      generated: '2026-11-18'
- target: $.paths['/foreignExchange/markup/{entity}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a Multi-Currency Pricing markup
      effect: read
      questions:
      - What markup is applied to my FX rates as an MCP customer?
      - Can I check the FX rate markup for one currency pair?
      instructions:
      - text: Get the FX markup for {entity} from {sourceCurrency} to {targetCurrency}.
        slots:
          entity: path.entity
          sourceCurrency: query.sourceCurrency
          targetCurrency: query.targetCurrency
      - text: Show the {entity} rate markup.
        slots:
          entity: path.entity
      method: generated
      generated: '2026-11-18'
- target: $.paths['/foreignExchange/markup/{entity}'].put
  update:
    x-apievangelist-phrasing:
      intent: Add a markup to an FX rate
      effect: write
      questions:
      - How do I add a margin to my FX rates?
      - Can I change the markup on an existing FX rate?
      instructions:
      - text: Add a {markup} percent markup to {entity} FX rates from {sourceCurrency} to {targetCurrency}.
        slots:
          markup: requestBody.markup
          entity: path.entity
          sourceCurrency: requestBody.sourceCurrency
          targetCurrency: requestBody.targetCurrency
      - text: Set the {entity} rate markup to {markup} for {sourceCurrency}/{targetCurrency}.
        slots:
          entity: path.entity
          markup: requestBody.markup
          sourceCurrency: requestBody.sourceCurrency
          targetCurrency: requestBody.targetCurrency
      method: generated
      generated: '2026-11-18'

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/worldpay-foreign-exchange-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.