Citi · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Citi Refunds API
7 actions
7 updates
phrasing
extends
openapi/citi-refunds-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.
What the actions change
x-apievangelist-phrasing
Targets 7
$.info
$.paths['/digitalpayments/v1/payment-acceptance/refunds'].get
$.paths['/digitalpayments/v1/payment-acceptance/refunds'].post
$.paths['/digitalpayments/v1/payment-acceptance/refunds/{id}'].patch
$.paths['/paymentservices/v1/refunds'].get
$.paths['/paymentservices/v1/refunds'].post
$.paths['/paymentservices/v1/refunds/{refund_id}'].get
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 Citi Refunds API
version: 1.0.0
extends: openapi/citi-refunds-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/refunds'].get
update:
x-apievangelist-phrasing:
intent: Get a refund's transaction status (digitalpayments)
effect: read
questions:
- How do I check the status of a refund I sent through the digitalpayments endpoint?
- Can I look up a refund by its original payment's UETR?
instructions:
- text: Get the digitalpayments refund status for {id}.
slots:
id: query.id
- text: Check the digitalpayments refund status for original payment {original_payment_uetr}.
slots:
original_payment_uetr: query.Original_Payment_Uetr
method: generated
generated: '2026-11-22'
- target: $.paths['/digitalpayments/v1/payment-acceptance/refunds'].post
update:
x-apievangelist-phrasing:
intent: Send an instant refund for an incoming payment
effect: write
questions:
- How do I return an incoming PIX payment to the sender as an instant refund?
- Can I refund a payment using only its UETR?
- What happens after I submit an outgoing instant refund, and how do I find out the result?
- Is the Merchant-Id header required when refunding a card or PIX payment?
instructions:
- text: Send an instant refund for the original payment with UETR {original_payment}, for client {client_id}, idempotency ID {idempotency_id}.
slots:
original_payment: requestBody.original_payment
client_id: query.client_id
idempotency_id: header.Idempotency-Id
- text: Refund a PIX payment for merchant {merchant_id} with method {method} and transaction {transaction}, client {client_id}, idempotency ID {idempotency_id}.
slots:
merchant_id: header.Merchant-Id
method: requestBody.method
transaction: requestBody.transaction
client_id: query.client_id
idempotency_id: header.Idempotency-Id
- text: Start an outgoing refund in country {country_code} with method {method} and transaction {transaction}, client {client_id}, idempotency ID {idempotency_id}.
slots:
country_code: header.Country-Code
method: requestBody.method
transaction: requestBody.transaction
client_id: query.client_id
idempotency_id: header.Idempotency-Id
method: generated
generated: '2026-11-22'
- target: $.paths['/digitalpayments/v1/payment-acceptance/refunds/{id}'].patch
update:
x-apievangelist-phrasing:
intent: Update a digitalpayments refund
effect: write
questions:
- Can I change a refund I already sent through digitalpayments?
- What do I send to update a digitalpayments refund?
instructions:
- text: Update digitalpayments refund {id} with {method} and {transaction}.
slots:
id: path.id
method: requestBody.method
transaction: requestBody.transaction
- text: Change the status of digitalpayments refund {id} to {method} using {transaction}.
slots:
id: path.id
method: requestBody.method
transaction: requestBody.transaction
method: generated
generated: '2026-11-22'
- target: $.paths['/paymentservices/v1/refunds'].get
update:
x-apievangelist-phrasing:
intent: Inquire refund statuses (paymentservices)
effect: read
questions:
- How do I check the status of refunds I initiated through paymentservices?
- Can I filter paymentservices refunds by status code?
instructions:
- text: Inquire paymentservices refund statuses for {client_id}.
slots:
client_id: query.client_id
- text: Find paymentservices refunds with status {status_code}.
slots:
status_code: query.status_code
method: generated
generated: '2026-11-22'
- target: $.paths['/paymentservices/v1/refunds'].post
update:
x-apievangelist-phrasing:
intent: Refund a payment via the payments-services endpoint
effect: write
questions:
- Can I refund a card payment through the payments-services refund endpoint?
- Which fields do I need to identify the original payment when refunding?
instructions:
- text: Refund card payment {end_to_end_id} for {instructed_amount} {instructed_currency}.
slots:
end_to_end_id: requestBody.end_to_end_id
instructed_amount: requestBody.instructed_amount
instructed_currency: requestBody.instructed_currency
- text: Use the payments-services refund endpoint with idempotency {idempotency_id} and client {client_id}.
slots:
idempotency_id: header.Idempotency-Id
client_id: query.client_id
method: generated
generated: '2026-11-22'
- target: $.paths['/paymentservices/v1/refunds/{refund_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a refund status by ID (paymentservices)
effect: read
questions:
- How do I check the status of one refund I sent through paymentservices?
- Can I look up a paymentservices refund by its refund ID?
instructions:
- text: Get the paymentservices refund status for {refund_id}.
slots:
refund_id: path.refund_id
- text: Check paymentservices refund {refund_id} for {client_id}.
slots:
refund_id: path.refund_id
client_id: query.client_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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/citi-refunds-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.