Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| object | string | |
| live_mode | boolean | This field will be true if this object exists in the live environment or false if it exists in the test environment. |
| created_at | string | |
| updated_at | string | |
| status | string | The current status of the reversal. |
| payment_order_id | string | The ID of the relevant Payment Order. |
| transaction_ids | array | |
| ledger_transaction_id | string | The ID of the ledger transaction linked to the reversal. |
| metadata | object | Additional data represented as key-value pairs. Both the key and value must be strings. |
| reason | string | The reason for the reversal. |
| internal_account_id | string | The ID of the relevant Internal Account. |
| reconciliation_status | string | One of `unreconciled`, `tentatively_reconciled` or `reconciled`. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/reversal",
"title": "reversal",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"object": {
"type": "string"
},
"live_mode": {
"type": "boolean",
"description": "This field will be true if this object exists in the live environment or false if it exists in the test environment."
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"status": {
"type": "string",
"enum": [
"cancelled",
"completed",
"failed",
"pending",
"processing",
"returned",
"sent"
],
"description": "The current status of the reversal."
},
"payment_order_id": {
"type": "string",
"format": "uuid",
"nullable": true,
"description": "The ID of the relevant Payment Order."
},
"transaction_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"nullable": true,
"description": "The ID of the relevant Transaction or `null`."
}
},
"ledger_transaction_id": {
"type": "string",
"format": "uuid",
"nullable": true,
"description": "The ID of the ledger transaction linked to the reversal."
},
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"example": {
"key": "value",
"foo": "bar",
"modern": "treasury"
},
"description": "Additional data represented as key-value pairs. Both the key and value must be strings."
},
"reason": {
"type": "string",
"enum": [
"duplicate",
"incorrect_amount",
"incorrect_receiving_account",
"date_earlier_than_intended",
"date_later_than_intended"
],
"description": "The reason for the reversal."
},
"internal_account_id": {
"type": "string",
"format": "uuid",
"nullable": true,
"description": "The ID of the relevant Internal Account."
},
"reconciliation_status": {
"type": "string",
"enum": [
"unreconciled",
"tentatively_reconciled",
"reconciled"
],
"description": "One of `unreconciled`, `tentatively_reconciled` or `reconciled`."
}
},
"additionalProperties": false,
"minProperties": 13,
"required": [
"id",
"object",
"live_mode",
"created_at",
"updated_at",
"status",
"payment_order_id",
"transaction_ids",
"ledger_transaction_id",
"metadata",
"reason",
"internal_account_id",
"reconciliation_status"
]
}
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/modern-treasury-reversal"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.