Citi · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Online Payment Acceptance Digitalpayments API

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

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/digitalpayments/v1/payment-acceptance/methods'].get
$.paths['/digitalpayments/v1/payment-acceptance'].post
$.paths['/digitalpayments/v1/payment-acceptance/refunds'].post
$.paths['/digitalpayments/v1/payment-acceptance/{reference}'].get
$.paths['/digitalpayments/v1/payment-acceptance/{reference}'].patch
$.paths['/digitalpayments/v1/payment-acceptance/{refund_id}'].get

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 Online Payment Acceptance Digitalpayments API
  version: 1.0.0
extends: openapi/citi-digitalpayments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/digitalpayments/v1/payment-acceptance/methods'].get
  update:
    x-apievangelist-phrasing:
      intent: List enabled payment methods
      effect: read
      questions:
      - Which payment methods are enabled for my merchant account?
      - What payment methods did I choose during onboarding?
      instructions:
      - text: List the payment methods enabled for merchant {merchant_id} on client {client_id}.
        slots:
          merchant_id: query.merchant_id
          client_id: query.client_id
      - text: Show which payment methods my account has onboarding.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/digitalpayments/v1/payment-acceptance'].post
  update:
    x-apievangelist-phrasing:
      intent: Submit a payment with a selected method
      effect: write
      questions:
      - How do I accept a payment from a customer using a specific payment method?
      - Can I include shipping details when submitting a payment?
      instructions:
      - text: Submit a payment for customer {customer} on merchant {merchant} using payment method {method} with transaction {transaction}.
        slots:
          customer: requestBody.customer
          merchant: requestBody.merchant
          method: requestBody.method
          transaction: requestBody.transaction
      - text: Create a payment with shipping {shipping} for {customer} on {merchant} using {method} and {transaction}.
        slots:
          shipping: requestBody.shipping
          customer: requestBody.customer
          merchant: requestBody.merchant
          method: requestBody.method
          transaction: requestBody.transaction
      method: generated
      generated: '2026-11-22'
- target: $.paths['/digitalpayments/v1/payment-acceptance/refunds'].post
  update:
    x-apievangelist-phrasing:
      intent: Refund a payment
      effect: write
      questions:
      - Can I issue a partial refund for a payment?
      - How do I refund a transaction that was paid in PIX?
      instructions:
      - text: Refund {instructed_amount} {instructed_currency} of payment {original_payment} with idempotency {idempotency}.
        slots:
          instructed_amount: requestBody.instructed_amount
          instructed_currency: requestBody.instructed_currency
          original_payment: requestBody.original_payment
          idempotency: header.Idempotency-Id
      - text: Refund {instructed_amount} {instructed_currency} of payment {original_payment} with end-to-end id {end_to_end_id}.
        slots:
          instructed_amount: requestBody.instructed_amount
          instructed_currency: requestBody.instructed_currency
          original_payment: requestBody.original_payment
          end_to_end_id: requestBody.end_to_end_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/digitalpayments/v1/payment-acceptance/{reference}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a payment's status
      effect: read
      questions:
      - Has a payment been settled yet?
      - Can I check a payment's status by its reference number?
      instructions:
      - text: Get the status of payment {reference} for client {client_id}.
        slots:
          reference: path.reference
          client_id: query.client_id
      - text: Check whether payment {reference} has been settled.
        slots:
          reference: path.reference
      method: generated
      generated: '2026-11-22'
- target: $.paths['/digitalpayments/v1/payment-acceptance/{reference}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a submitted payment
      effect: write
      questions:
      - Can I change the amount or currency of a payment after submitting it?
      - How do I update a payment that was already submitted?
      instructions:
      - text: Update payment {reference} for client {client_id} with idempotency {idempotency}.
        slots:
          reference: path.reference
          client_id: query.client_id
          idempotency: header.Idempotency-Id
      - text: Change the amount of submitted payment {reference} to {transaction}.
        slots:
          reference: path.reference
          transaction: requestBody.transaction
      method: generated
      generated: '2026-11-22'
- target: $.paths['/digitalpayments/v1/payment-acceptance/{refund_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a refund's status
      effect: read
      questions:
      - Has a refund been processed?
      - Can I check the status of a refund by its ID?
      instructions:
      - text: Get the status of refund {refund_id} for client {client_id}.
        slots:
          refund_id: path.refund_id
          client_id: query.client_id
      - text: Check whether refund {refund_id} has been processed.
        slots:
          refund_id: path.refund_id
      method: generated
      generated: '2026-11-22'

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/citi-digitalpayments-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.