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.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Payment Acceptance Mandate API
version: 1.0.0
extends: openapi/citi-mandate-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: 3
- target: $.paths['/digitalpayments/v1/payment-acceptance/mandates'].get
update:
x-apievangelist-phrasing:
intent: Check a mandate's status
effect: read
questions:
- Is my mandate active or still pending?
- What is the status of a mandate I initiated?
instructions:
- text: Get mandate {mandate_id} for client {client_id} in {country_code}.
slots:
mandate_id: query.mandate_id
client_id: query.client_id
country_code: query.country_code
- text: Check the status of mandate {mandate_id}.
slots:
mandate_id: query.mandate_id
method: generated
generated: '2026-11-22'
- target: $.paths['/digitalpayments/v1/payment-acceptance/mandates'].post
update:
x-apievangelist-phrasing:
intent: Start a mandate creation request
effect: write
questions:
- How do I start a new mandate from my ERP?
- Can I create a mandate for a customer with a mandate request?
instructions:
- text: Initiate mandate {mandate} for merchant {merchant} with customer {customer}.
slots:
mandate: requestBody.mandate
merchant: requestBody.merchant
customer: requestBody.customer
- text: Start a new mandate request using idempotency {idempotency_id}.
slots:
idempotency_id: header.Idempotency-Id
method: generated
generated: '2026-11-22'
- target: $.paths['/digitalpayments/v1/payment-acceptance/mandates'].patch
update:
x-apievangelist-phrasing:
intent: Cancel a mandate request
effect: destructive
questions:
- How do I cancel a mandate I started?
- Can I cancel a mandate request before it is accepted?
instructions:
- text: Cancel mandate {mandate} with operation {operation}.
slots:
mandate: requestBody.mandate
operation: header.Operation
- text: Cancel mandate {mandate} for client {client_id} using idempotency {idempotency_id}.
slots:
mandate: requestBody.mandate
client_id: query.client_id
idempotency_id: header.Idempotency-Id
method: generated
generated: '2026-11-22'
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.