Citi · Schema
GetPaymentResponse
Retrieve payments details.
BankingFinancial ServicesOpen BankingPaymentsTreasuryISO 20022Commercial CardsForeign ExchangeCustodyTrade FinanceCorporate BankingAPI Gateway
Properties
| Name | Type | Description |
|---|---|---|
| message_id | object | |
| payments | array | A list of individual payment details. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/citi/json-schema/citi-get-payment-response-schema.json",
"title": "GetPaymentResponse",
"description": "Retrieve payments details.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/citi-payment-api-openapi.yml#/components/schemas/Get-Payment-Response",
"type": "object",
"properties": {
"message_id": {
"$ref": "#/$defs/Message-Id"
},
"payments": {
"type": "array",
"title": "payments",
"description": "A list of individual payment details.",
"items": {
"$ref": "#/$defs/Get-Payment-Response-Details"
}
}
},
"$defs": {
"Account": {
"title": "Account",
"type": "object",
"description": "Account details.",
"properties": {
"number": {
"type": "string",
"title": "number",
"description": "Account number."
},
"branch_code": {
"type": "string",
"title": "branch_code",
"description": "Branch code which holds the account number."
},
"virtual_account_id": {
"allOf": [
{
"$ref": "#/$defs/Virtual-Account-Id"
}
],
"description": "virtual_account_id received when you call wallet activation endpoint. <br> Required at creditor side when paying to wallet. <br> Required at debtor side for payment to external."
}
}
},
"Amount": {
"type": "number",
"title": "amount",
"description": "Amount in currency.",
"minimum": 0.01,
"maximum": 10000000000000
},
"Common-Transaction": {
"title": "CommonTransaction",
"type": "object",
"description": "Transaction details.",
"properties": {
"end_to_end_id": {
"$ref": "#/$defs/End-To-End-Id"
},
"currency_code": {
"allOf": [
{
"$ref": "#/$defs/Currency-Code"
}
],
"title": "target_currency_code",
"description": "The currency that the creditor receives. Required for payment to wallet and payment to external."
},
"amount": {
"allOf": [
{
"$ref": "#/$defs/Amount"
}
],
"title": "target_amount",
"description": "Amount in target currency. Required for payment to wallet and payment to external."
},
"payment_details": {
"type": "string",
"title": "payment_details",
"description": "Reference information.",
"minLength": 1,
"maxLength": 140
}
}
},
"Completed-Time": {
"type": "string",
"title": "completed_on",
"format": "date-time",
"description": "The time the transaction was finished. Pattern YYYY-MM-DDTHH:mm:ssZ"
},
"Country-Code": {
"type": "string",
"title": "country_code",
"pattern": "^[A-Z]{2,2}$",
"description": "Country code."
},
"Created-Time": {
"type": "string",
"format": "date-time",
"description": "Date and time of the file created. Pattern YYYY-MM-DDTHH:mm:ssZ",
"title": "created_time"
},
"Currency-Code": {
"type": "string",
"title": "currency_code",
"description": "The currency code in the transaction.",
"pattern": "^[A-Z]{3}$"
},
"End-To-End-Id": {
"type": "string",
"title": "end_to_end_id",
"description": "The unique payment request ID from your system. If the request is for payment to wallet, this field should contain maximum 16 character and should be in UPPER CASE.",
"minLength": 1,
"maxLength": 35
},
"Error-Detail": {
"type": "object",
"title": "ErrorDetail",
"properties": {
"issue": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "more details about the issue",
"title": "issue"
},
"action": {
"type": "string",
"maxLength": 350,
"description": "corrective action to be taken to resolve above issue",
"title": "action"
},
"code": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "unique code representing the issue",
"title": "code"
}
}
},
"Fx-Rate": {
"type": "number",
"title": "fx_rate",
"description": "The indicative FX rate which is for reference only. The number indicates how much units of buy_currency you can get from one unit of sell_currency."
},
"Get-Payment-Response-Details": {
"title": "GetPaymentResponseDetails",
"type": "object",
"description": "Get Payment Response Details.",
"properties": {
"debtor": {
"$ref": "#/$defs/Payment-Debtor"
},
"creditor": {
"$ref": "#/$defs/Payment-Creditor"
},
"transaction": {
"$ref": "#/$defs/Get-Transaction-Detail"
},
"status": {
"$ref": "#/$defs/Status"
},
"message": {
"$ref": "#/$defs/Message"
},
"error_details": {
"type": "array",
"description": "List of error details.",
"title": "error_details",
"items": {
"$ref": "#/$defs/Error-Detail"
}
}
}
},
"Get-Transaction-Detail": {
"title": "GetTransactionDetail",
"type": "object",
"description": "Retrieve transaction details.",
"allOf": [
{
"$ref": "#/$defs/Common-Transaction"
},
{
"type": "object",
"title": "Get-Transaction-Detail",
"properties": {
"partner_user_reference": {
"$ref": "#/$defs/Partner-User-Reference"
},
"uetr": {
"$ref": "#/$defs/Uetr"
},
"equivalent_currency_code": {
"allOf": [
{
"$ref": "#/$defs/Currency-Code"
}
],
"title": "equivalent_currency_code",
"description": "The currency you use to fund the payout."
},
"equivalent_amount": {
"allOf": [
{
"$ref": "#/$defs/Amount"
}
],
"title": "equivalent_amount",
"description": "Amount in origin currency."
},
"charges_currency_code": {
"allOf": [
{
"$ref": "#/$defs/Currency-Code"
}
],
"title": "charges_currency_code",
"description": "Charges currency code."
},
"charges_amount": {
"allOf": [
{
"$ref": "#/$defs/Amount"
}
],
"title": "charges_amount",
"description": "Charges amount."
},
"fx_rate": {
"$ref": "#/$defs/Fx-Rate"
},
"payment_type": {
"$ref": "#/$defs/Payment-Type"
},
"created_time": {
"$ref": "#/$defs/Created-Time"
},
"completed_time": {
"$ref": "#/$defs/Completed-Time"
}
}
}
]
},
"Message": {
"type": "string",
"description": "Description of the status.",
"title": "message",
"minLength": 1,
"maxLength": 500
},
"Message-Id": {
"type": "string",
"title": "message_id",
"description": "Unique id from your system for batch. Required for Payment to Wallet (virtual_account credit).",
"minLength": 1,
"maxLength": 34
},
"Partner-User-Reference": {
"title": "PartnerUserReference",
"type": "string",
"description": "Unique reference from seller for each payment.",
"minLength": 1,
"maxLength": 35
},
"Payment-Creditor": {
"title": "Creditor",
"type": "object",
"description": "Information pertaining to creditor of the payment.",
"properties": {
"id": {
"type": "string",
"title": "id",
"minLength": 1,
"maxLength": 64,
"description": "Required when paying into a bank account. creditor_id is returned when you call Link Account endpoint. <br> Required for payment to external."
},
"account": {
"$ref": "#/$defs/Account"
}
}
},
"Payment-Debtor": {
"title": "Debtor",
"type": "object",
"description": "Information pertaining to debtor of the payment.",
"properties": {
"account": {
"$ref": "#/$defs/Account"
},
"country_code": {
"allOf": [
{
"$ref": "#/$defs/Country-Code"
}
],
"title": "country_code",
"description": "Country code where the fund is credited."
}
}
},
"Payment-Type": {
"type": "string",
"title": "payment_type",
"description": "Transaction type. WITHDRAW is applicable only if the payment is USD to CNY to China.",
"enum": [
"PAYOUT",
"WITHDRAW"
]
},
"Status": {
"type": "string",
"description": "Status of the request.",
"title": "status",
"minLength": 1,
"maxLength": 64
},
"Uetr": {
"type": "string",
"title": "uetr",
"description": "This is a unique payment service provider ID assigned to all individual transactions.",
"minLength": 1,
"maxLength": 36
},
"Virtual-Account-Id": {
"type": "string",
"title": "Virtual-Account-Id",
"description": "Account ID for a specific virtual account.",
"minLength": 1,
"maxLength": 36
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/citi-get-payment-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.