Method Financial · Schema

PaymentReversalListResponse

CompanyFintechLiability DataPaymentsLendingPersonal FinanceCreditACHDebtIdentity Verification
View JSON Schema on GitHub

JSON Schema

methodfi-payment-reversal-list-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/methodfi/main/json-schema/methodfi-payment-reversal-list-response-schema.json",
  "title": "PaymentReversalListResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/methodfi-payment-reversals-api-openapi.yml#/components/schemas/PaymentReversalListResponse",
  "allOf": [
    {
      "$ref": "#/$defs/ListEnvelope"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PaymentReversal"
          }
        }
      }
    }
  ],
  "$defs": {
    "ListEnvelope": {
      "type": "object",
      "description": "Standard envelope for successful responses that return a list payload.",
      "required": [
        "success",
        "data",
        "message"
      ],
      "properties": {
        "success": {
          "type": "boolean",
          "description": "Always `true` for successful responses."
        },
        "data": {
          "description": "Operation-specific list payload."
        },
        "message": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "PaymentReversal": {
      "type": "object",
      "description": "A reversal for a payment, representing a return of funds.",
      "required": [
        "id",
        "pmt_id",
        "status",
        "direction",
        "trace_id",
        "target_account",
        "amount",
        "description",
        "fee",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the reversal.",
          "pattern": "^rvs_\\w+$"
        },
        "pmt_id": {
          "type": "string",
          "description": "Identifier of the payment being reversed.",
          "pattern": "^pmt_\\w+$"
        },
        "status": {
          "type": "string",
          "description": "Current status of the reversal.",
          "enum": [
            "pending_approval",
            "pending",
            "processing",
            "failed",
            "sent",
            "pending_settlement"
          ]
        },
        "direction": {
          "type": "string",
          "description": "Direction of the reversal relative to the original payment.",
          "enum": [
            "credit",
            "debit"
          ]
        },
        "trace_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Trace identifier for the reversal."
        },
        "target_account": {
          "type": [
            "string",
            "null"
          ],
          "description": "The target account for the reversal."
        },
        "amount": {
          "type": "integer",
          "description": "Reversal amount in cents.",
          "minimum": 0
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Human-readable description for the reversal."
        },
        "fee": {
          "type": [
            "object",
            "null"
          ],
          "description": "Fee information for the reversal."
        },
        "error": {
          "$ref": "#/$defs/PaymentReversalResourceError"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the reversal was created."
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the reversal was last updated."
        }
      }
    },
    "PaymentReversalResourceError": {
      "type": [
        "object",
        "null"
      ],
      "description": "Error details when a payment reversal fails.",
      "required": [
        "type",
        "code",
        "sub_type",
        "message"
      ],
      "properties": {
        "type": {
          "type": "string",
          "description": "The category of reversal error.",
          "enum": [
            "PAYMENT_REVERSAL_FAILED"
          ]
        },
        "code": {
          "type": "integer",
          "description": "Numeric error code (14XXX range).",
          "enum": [
            14001,
            14002,
            14003
          ]
        },
        "sub_type": {
          "type": "string",
          "description": "Specific reversal error classification.",
          "enum": [
            "PAYMENT_REVERSAL_INSUFFICIENT_FUNDS",
            "PAYMENT_REVERSAL_UNAUTHORIZED",
            "PAYMENT_REVERSAL_INVALID_ACCOUNT"
          ]
        },
        "message": {
          "type": "string",
          "description": "Human-readable error description."
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/methodfi-payment-reversal-list-response"
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.