Token.io · Schema

io.token.proto.gateway.GetRefundsByPaymentIdResponse

PaymentsOpen BankingBankingFinancial ServicesAccount-to-AccountPSD2Variable Recurring PaymentsAccount Information ServicesPayment InitiationFintech

Properties

Name Type Description
paging object
refunds array
View JSON Schema on GitHub

JSON Schema

token-io-io-token-proto-gateway-get-refunds-by-payment-id-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/token-io/main/json-schema/token-io-io-token-proto-gateway-get-refunds-by-payment-id-response-schema.json",
  "title": "io.token.proto.gateway.GetRefundsByPaymentIdResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/token-io-transfers-api-openapi.yml#/components/schemas/io.token.proto.gateway.GetRefundsByPaymentIdResponse",
  "type": "object",
  "properties": {
    "paging": {
      "$ref": "#/$defs/io.token.proto.common.v2.paging.Page"
    },
    "refunds": {
      "items": {
        "$ref": "#/$defs/io.token.proto.common.v2.payout.Refund"
      },
      "type": "array"
    }
  },
  "$defs": {
    "io.token.proto.common.money.Money": {
      "type": "object",
      "properties": {
        "currency": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.common.Address": {
      "type": "object",
      "properties": {
        "addressLine": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "buildingNumber": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "countrySubDivision": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "district": {
          "type": "string"
        },
        "postCode": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "streetName": {
          "type": "string"
        },
        "townName": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.common.CreditorInformation": {
      "type": "object",
      "properties": {
        "accountNumber": {
          "type": "string"
        },
        "accountVerificationId": {
          "type": "string"
        },
        "address": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.Address"
        },
        "bankName": {
          "type": "string"
        },
        "bankgiroNumber": {
          "type": "string"
        },
        "bban": {
          "type": "string"
        },
        "beneficiaryId": {
          "type": "string"
        },
        "bic": {
          "type": "string"
        },
        "clearingNumber": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "plusgiroNumber": {
          "type": "string"
        },
        "sortCode": {
          "type": "string"
        },
        "ultimateCreditorName": {
          "type": "string"
        },
        "virtualAccountId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.common.DebtorInformation": {
      "type": "object",
      "properties": {
        "accountNumber": {
          "type": "string"
        },
        "address": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.Address"
        },
        "bankgiroNumber": {
          "type": "string"
        },
        "bban": {
          "type": "string"
        },
        "bic": {
          "type": "string"
        },
        "clearingNumber": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "plusgiroNumber": {
          "type": "string"
        },
        "sortCode": {
          "type": "string"
        },
        "tokenizedAccountId": {
          "type": "string"
        },
        "ultimateDebtorName": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.common.LocalInstrument": {
      "enum": [
        "INVALID_LOCAL_INSTRUMENT",
        "SEPA",
        "SEPA_INSTANT",
        "SWIFT",
        "FASTER_PAYMENTS",
        "CHAPS",
        "ELIXIR",
        "EXPRESS_ELIXIR",
        "BLUE_CASH",
        "SORBNET",
        "BANKGIRO",
        "PLUSGIRO",
        "EU_DOMESTIC_NON_EURO",
        "EU_DOMESTIC_NON_EURO_INSTANT",
        "AUTO_SELECT"
      ],
      "default": "INVALID_LOCAL_INSTRUMENT",
      "type": "string"
    },
    "io.token.proto.common.v2.paging.Page": {
      "type": "object",
      "properties": {
        "limit": {
          "format": "int32",
          "type": "integer"
        },
        "offset": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.payout.CorporateApiDebtorInformation": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.payout.Refund": {
      "type": "object",
      "properties": {
        "bankPaymentStatus": {
          "type": "string"
        },
        "bankTransactionId": {
          "type": "string"
        },
        "createdDateTime": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "initiation": {
          "$ref": "#/$defs/io.token.proto.common.v2.payout.RefundInitiation"
        },
        "memberId": {
          "type": "string"
        },
        "providerAccountVerificationId": {
          "type": "string"
        },
        "status": {
          "$ref": "#/$defs/io.token.proto.common.v2.payout.Status"
        },
        "statusReasonInformation": {
          "type": "string"
        },
        "updatedDateTime": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.payout.RefundInitiation": {
      "type": "object",
      "properties": {
        "accountVerificationId": {
          "type": "string"
        },
        "amount": {
          "$ref": "#/$defs/io.token.proto.common.money.Money"
        },
        "corporateApiDebtor": {
          "$ref": "#/$defs/io.token.proto.common.v2.payout.CorporateApiDebtorInformation"
        },
        "creditor": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.CreditorInformation"
        },
        "debtor": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.DebtorInformation"
        },
        "description": {
          "type": "string"
        },
        "localInstrument": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.LocalInstrument"
        },
        "onBehalfOfId": {
          "type": "string"
        },
        "originalPaymentId": {
          "type": "string"
        },
        "refId": {
          "type": "string"
        },
        "registrationId": {
          "type": "string"
        },
        "signature": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.payout.Status": {
      "enum": [
        "INVALID_STATUS",
        "INITIATION_PENDING",
        "INITIATION_PROCESSING",
        "INITIATION_COMPLETED",
        "INITIATION_REJECTED",
        "INITIATION_FAILED",
        "INITIATION_NO_FINAL_STATUS_AVAILABLE"
      ],
      "default": "INVALID_STATUS",
      "type": "string"
    }
  }
}

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/token-io-io-token-proto-gateway-get-refunds-by-payment-id-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.