Token.io · Schema

io.token.proto.gateway.RetrieveConsentRequestResponse

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

Properties

Name Type Description
consentRequest object
View JSON Schema on GitHub

JSON Schema

token-io-io-token-proto-gateway-retrieve-consent-request-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-retrieve-consent-request-response-schema.json",
  "title": "io.token.proto.gateway.RetrieveConsentRequestResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/token-io-banks-api-openapi.yml#/components/schemas/io.token.proto.gateway.RetrieveConsentRequestResponse",
  "type": "object",
  "properties": {
    "consentRequest": {
      "$ref": "#/$defs/io.token.proto.common.consent.ConsentRequest"
    }
  },
  "$defs": {
    "io.token.proto.banklink.BankAuthorization": {
      "type": "object",
      "properties": {
        "accounts": {
          "items": {
            "$ref": "#/$defs/io.token.proto.common.security.SealedMessage"
          },
          "type": "array"
        },
        "bankId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.AccountFeatures": {
      "type": "object",
      "properties": {
        "requiresExternalAuth": {
          "format": "boolean",
          "type": "boolean"
        },
        "supportsInformation": {
          "format": "boolean",
          "type": "boolean"
        },
        "supportsPayment": {
          "format": "boolean",
          "type": "boolean"
        },
        "supportsReceivePayment": {
          "format": "boolean",
          "type": "boolean"
        },
        "supportsSendPayment": {
          "format": "boolean",
          "type": "boolean"
        }
      }
    },
    "io.token.proto.common.account.AccountIdentifier": {
      "type": "object",
      "properties": {
        "bankgiro": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountIdentifier.Bankgiro"
        },
        "bban": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountIdentifier.Bban"
        },
        "gbDomestic": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountIdentifier.GbDomestic"
        },
        "iban": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountIdentifier.Iban"
        },
        "msisdn": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountIdentifier.Msisdn"
        },
        "pan": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountIdentifier.Pan"
        },
        "plusgiro": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountIdentifier.Plusgiro"
        },
        "token": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountIdentifier.Token"
        }
      }
    },
    "io.token.proto.common.account.AccountIdentifier.Bankgiro": {
      "type": "object",
      "properties": {
        "bankgiroNumber": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.AccountIdentifier.Bban": {
      "type": "object",
      "properties": {
        "bban": {
          "type": "string"
        },
        "clearingNumber": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.AccountIdentifier.GbDomestic": {
      "type": "object",
      "properties": {
        "accountNumber": {
          "type": "string"
        },
        "sortCode": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.AccountIdentifier.Iban": {
      "type": "object",
      "properties": {
        "iban": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.AccountIdentifier.Msisdn": {
      "type": "object",
      "properties": {
        "msisdn": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.AccountIdentifier.Pan": {
      "type": "object",
      "properties": {
        "pan": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.AccountIdentifier.Plusgiro": {
      "type": "object",
      "properties": {
        "plusgiroNumber": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.AccountIdentifier.Token": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string"
        },
        "memberId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount": {
      "type": "object",
      "properties": {
        "accountFeatures": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountFeatures"
        },
        "ach": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.Ach"
        },
        "bank": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.Bank"
        },
        "custom": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.Custom"
        },
        "domestic": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.Domestic"
        },
        "euDomesticNonEuro": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.EuDomesticNonEuro"
        },
        "fasterPayments": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.FasterPayments"
        },
        "guest": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.Guest"
        },
        "iban": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.Iban"
        },
        "metadata": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.MetadataEntry"
        },
        "secret": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.SecretAccount"
        },
        "sepa": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.Sepa"
        },
        "swift": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.Swift"
        },
        "token": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.Token"
        },
        "tokenAuthorization": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount.TokenAuthorization"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.Ach": {
      "type": "object",
      "properties": {
        "account": {
          "type": "string"
        },
        "routing": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.Bank": {
      "type": "object",
      "properties": {
        "bankId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.Custom": {
      "type": "object",
      "properties": {
        "bankId": {
          "type": "string"
        },
        "payload": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.Domestic": {
      "type": "object",
      "properties": {
        "accountNumber": {
          "type": "string"
        },
        "bankCode": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.EuDomesticNonEuro": {
      "type": "object",
      "properties": {
        "bban": {
          "type": "string"
        },
        "bic": {
          "type": "string"
        },
        "clearingNumber": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.FasterPayments": {
      "type": "object",
      "properties": {
        "accountNumber": {
          "type": "string"
        },
        "sortCode": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.Guest": {
      "type": "object",
      "properties": {
        "bankId": {
          "type": "string"
        },
        "nonce": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.Iban": {
      "type": "object",
      "properties": {
        "bic": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.MetadataEntry": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
        "type": "string"
      }
    },
    "io.token.proto.common.account.BankAccount.SecretAccount": {
      "type": "object",
      "properties": {
        "secretId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.Sepa": {
      "type": "object",
      "properties": {
        "bic": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.Swift": {
      "type": "object",
      "properties": {
        "account": {
          "type": "string"
        },
        "bic": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.Token": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string"
        },
        "memberId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.account.BankAccount.TokenAuthorization": {
      "type": "object",
      "properties": {
        "authorization": {
          "$ref": "#/$defs/io.token.proto.banklink.BankAuthorization"
        }
      }
    },
    "io.token.proto.common.address.Address": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string"
        },
        "conscriptionNumber": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "district": {
          "type": "string"
        },
        "flats": {
          "type": "string"
        },
        "full": {
          "type": "string"
        },
        "hamlet": {
          "type": "string"
        },
        "houseName": {
          "type": "string"
        },
        "houseNumber": {
          "type": "string"
        },
        "place": {
          "type": "string"
        },
        "postCode": {
          "type": "string"
        },
        "province": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "street": {
          "type": "string"
        },
        "subdistrict": {
          "type": "string"
        },
        "suburb": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.consent.ConsentRequest": {
      "type": "object",
      "properties": {
        "accountResourceList": {
          "$ref": "#/$defs/io.token.proto.common.token.TokenRequestPayload.AccessBody.AccountResourceList"
        },
        "bulkTransferBody": {
          "$ref": "#/$defs/io.token.proto.common.token.BulkTransferBody"
        },
        "description": {
          "type": "string"
        },
        "resourceTypeList": {
          "$ref": "#/$defs/io.token.proto.common.token.TokenRequestPayload.AccessBody.ResourceTypeList"
        },
        "standingOrderBody": {
          "$ref": "#/$defs/io.token.proto.common.token.StandingOrderBody"
        },
        "tppCallbackUrl": {
          "type": "string"
        },
        "tppName": {
          "type": "string"
        },
        "tppRefId": {
          "type": "string"
        },
        "transferBody": {
          "$ref": "#/$defs/io.token.proto.common.token.TokenRequestPayload.TransferBody"
        }
      }
    },
    "io.token.proto.common.money.Money": {
      "type": "object",
      "properties": {
        "currency": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.ProviderStandingOrderMetadata": {
      "type": "object",
      "properties": {
        "cma9StandingOrderMetadata": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.cma9.Cma9StandingOrderMetadata"
        },
        "nextGenPsd2StandingOrderMetadata": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.nextgenpsd2.NextGenPsd2StandingOrderMetadata"
        },
        "polishapiStandingOrderMetadata": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.polishapi.PolishApiStandingOrderMetadata"
        },
        "stetStandingOrderMetadata": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.StetStandingOrderMetadata"
        }
      }
    },
    "io.token.proto.common.providerspecific.ProviderTransferMetadata": {
      "type": "object",
      "properties": {
        "cma9TransferMetadata": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.cma9.Cma9TransferMetadata"
        },
        "nextGenPsd2TransferMetadata": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.nextgenpsd2.NextGenPsd2TransferMetadata"
        },
        "polishApiTransferMetadata": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.polishapi.PolishApiTransferMetadata"
        },
        "stetTransferMetadata": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.StetTransferMetadata"
        }
      }
    },
    "io.token.proto.common.providerspecific.cma9.BeneficiaryAccountType": {
      "enum": [
        "INVALID_BENEFICIARY_ACCOUNT_TYPE",
        "PERSONAL",
        "JOINT_PERSONAL",
        "PERSONAL_SAVINGS_ACCOUNT",
        "BUSINESS",
        "BUSINESS_SAVINGS_ACCOUNT",
        "CHARITY",
        "COLLECTION",
        "CORPORATE",
        "GOVERNMENT",
        "EWALLET",
        "INVESTMENT",
        "ISA",
        "PREMIER",
        "WEALTH",
        "PENSION"
      ],
      "default": "INVALID_BENEFICIARY_ACCOUNT_TYPE",
      "type": "string"
    },
    "io.token.proto.common.providerspecific.cma9.Cma9StandingOrderMetadata": {
      "type": "object",
      "properties": {
        "finalPaymentAmount": {
          "$ref": "#/$defs/io.token.proto.common.money.Money"
        },
        "finalPaymentDateTime": {
          "type": "string"
        },
        "firstPaymentAmount": {
          "$ref": "#/$defs/io.token.proto.common.money.Money"
        },
        "firstPaymentDateTime": {
          "type": "string"
        },
        "frequency": {
          "type": "string"
        },
        "numberOfPayments": {
          "format": "int32",
          "type": "integer"
        },
        "recurringPaymentAmount": {
          "$ref": "#/$defs/io.token.proto.common.money.Money"
        },
        "recurringPaymentDateTime": {
          "type": "string"
        },
        "remittanceInformation": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.cma9.RemittanceInformation"
        },
        "risk": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.cma9.Risk"
        }
      }
    },
    "io.token.proto.common.providerspecific.cma9.Cma9TransferMetadata": {
      "type": "object",
      "properties": {
        "endToEndIdentification": {
          "type": "string"
        },
        "instructionIdentification": {
          "type": "string"
        },
        "remittanceInformation": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.cma9.RemittanceInformation"
        },
        "risk": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.cma9.Risk"
        }
      }
    },
    "io.token.proto.common.providerspecific.cma9.DeliveryAddress": {
      "type": "object",
      "properties": {
        "addressLine": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "addressType": {
          "type": "string"
        },
        "buildingNumber": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "countrySubDivision": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "department": {
          "type": "string"
        },
        "postCode": {
          "type": "string"
        },
        "streetName": {
          "type": "string"
        },
        "subDepartment": {
          "type": "string"
        },
        "townName": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.cma9.PaymentContextCode": {
      "enum": [
        "INVALID_PAYMENT_CONTEXT_CODE",
        "BILL_PAYMENT",
        "ECOMMERCE_GOODS",
        "ECOMMERCE_SERVICES",
        "OTHER",
        "PARTY_TO_PARTY",
        "BILLING_GOODS_AND_SERVICES_IN_ADVANCE",
        "BILLING_GOODS_AND_SERVICES_IN_ARREARS",
        "PISP_PAYEE",
        "ECOMMERCE_MERCHANT_INITIATED_PAYMENT",
        "FACE_TO_FACE_POINT_OF_SALE",
        "TRANSFER_TO_SELF",
        "TRANSFER_TO_THIRD_PARTY"
      ],
      "default": "INVALID_PAYMENT_CONTEXT_CODE",
      "type": "string"
    },
    "io.token.proto.common.providerspecific.cma9.RemittanceInformation": {
      "type": "object",
      "properties": {
        "reference": {
          "type": "string"
        },
        "referenceHash": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.cma9.Risk": {
      "type": "object",
      "properties": {
        "beneficiaryAccountType": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.cma9.BeneficiaryAccountType"
        },
        "beneficiaryPrepopulatedIndicator": {
          "type": "string"
        },
        "contractPresentIndicator": {
          "type": "string"
        },
        "deliveryAddress": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.cma9.DeliveryAddress"
        },
        "merchantCategoryCode": {
          "type": "string"
        },
        "merchantCustomerIdentification": {
          "type": "string"
        },
        "paymentContextCode": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.cma9.PaymentContextCode"
        },
        "paymentPurposeCode": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.nextgenpsd2.NextGenPsd2StandingOrderMetadata": {
      "type": "object",
      "properties": {
        "creditorAgentName": {
          "type": "string"
        },
        "endToEndIdentification": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.nextgenpsd2.NextGenPsd2TransferMetadata": {
      "type": "object",
      "properties": {
        "creditorAgent": {
          "type": "string"
        },
        "creditorAgentName": {
          "type": "string"
        },
        "endToEndIdentification": {
          "type": "string"
        },
        "remittanceInformationStructured": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.polishapi.DeliveryMode": {
      "enum": [
        "INVALID_DELIVERY_MODE",
        "STANDARD_D2",
        "STANDARD_D1",
        "URGENT_D1",
        "EXPRESS_D0"
      ],
      "default": "INVALID_DELIVERY_MODE",
      "type": "string"
    },
    "io.token.proto.common.providerspecific.polishapi.PolishApiStandingOrderMetadata": {
      "type": "object",
      "properties": {
        "deliveryMode": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.polishapi.DeliveryMode"
        },
        "hold": {
          "format": "boolean",
          "type": "boolean"
        }
      }
    },
    "io.token.proto.common.providerspecific.polishapi.PolishApiTransferMetadata": {
      "type": "object",
      "properties": {
        "deliveryMode": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.polishapi.DeliveryMode"
        },
        "hold": {
          "format": "boolean",
          "type": "boolean"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.AccountIdentification": {
      "type": "object",
      "properties": {
        "currency": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        },
        "other": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.GenericIdentification"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.Beneficiary": {
      "type": "object",
      "properties": {
        "creditor": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.PartyIdentification"
        },
        "creditorAccount": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.AccountIdentification"
        },
        "creditorAgent": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.FinancialInstitutionIdentification"
        },
        "id": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.ClearingSystemMemberIdentification": {
      "type": "object",
      "properties": {
        "clearingSystemId": {
          "type": "string"
        },
        "memberId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.FinancialInstitutionIdentification": {
      "type": "object",
      "properties": {
        "bicFi": {
          "type": "string"
        },
        "clearingSystemMemberId": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.ClearingSystemMemberIdentification"
        },
        "name": {
          "type": "string"
        },
        "postalAddress": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.PostalAddress"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.GenericIdentification": {
      "type": "object",
      "properties": {
        "identification": {
          "type": "string"
        },
        "issuer": {
          "type": "string"
        },
        "schemeName": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.PartyIdentification": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "organisationId": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.GenericIdentification"
        },
        "postalAddress": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.PostalAddress"
        },
        "privateId": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.GenericIdentification"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.PaymentTypeInformation": {
      "type": "object",
      "properties": {
        "categoryPurpose": {
          "type": "string"
        },
        "instructionPriority": {
          "type": "string"
        },
        "localInstrument": {
          "type": "string"
        },
        "serviceLevel": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.PostalAddress": {
      "type": "object",
      "properties": {
        "addressLine": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "country": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.RegulatoryReportingCodes": {
      "type": "object",
      "properties": {
        "regulatoryReportingCode": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.StetStandingOrderMetadata": {
      "type": "object",
      "properties": {
        "beneficiary": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.Beneficiary"
        },
        "endToEndId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.stet.StetTransferMetadata": {
      "type": "object",
      "properties": {
        "beneficiary": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.Beneficiary"
        },
        "debtorAgent": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.FinancialInstitutionIdentification"
        },
        "endToEndId": {
          "type": "string"
        },
        "executionRule": {
          "type": "string"
        },
        "paymentTypeInformation": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.PaymentTypeInformation"
        },
        "regulatoryReportingCodes": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.stet.RegulatoryReportingCodes"
        }
      }
    },
    "io.token.proto.common.security.SealedMessage": {
      "type": "object",
      "properties": {
        "ciphertext": {
          "type": "string"
        },
        "noop": {
          "$ref": "#/$defs/io.token.proto.common.security.SealedMessage.NoopMethod"
        },
        "rsa": {
          "$ref": "#/$defs/io.token.proto.common.security.SealedMessage.RsaMethod"
        },
        "rsaAes": {
          "$ref": "#/$defs/io.token.proto.common.security.SealedMessage.RsaAesMethod"
        }
      }
    },
    "io.token.proto.common.security.SealedMessage.NoopMethod": {
      "type": "object",
      "properties": {}
    },
    "io.token.proto.common.security.SealedMessage.RsaAesMethod": {
      "type": "object",
      "properties": {
        "aesAlgorithm": {
          "type": "string"
        },
        "encryptedAesKey": {
          "type": "string"
        },
        "rsaAlgorithm": {
          "type": "string"
        },
        "rsaKeyId": {
          "type": "string"
        },
        "signature": {
          "type": "string"
        },
        "signatureKeyId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.security.SealedMessage.RsaMethod": {
      "type": "object",
      "properties": {
        "algorithm": {
          "type": "string"
        },
        "keyId": {
          "type": "string"
        },
        "signature": {
          "type": "string"
        },
        "signatureKeyId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.token.BulkTransferBody": {
      "type": "object",
      "properties": {
        "source": {
          "$ref": "#/$defs/io.token.proto.common.transferinstructions.TransferEndpoint"
        },
        "totalAmount": {
          "type": "string"
        },
        "transfers": {
          "items": {
            "$ref": "#/$defs/io.token.proto.common.token.BulkTransferBody.Transfer"
          },
          "type": "array"
        }
      }
    },
    "io.token.proto.common.token.BulkTransferBody.Transfer": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "destination": {
          "$ref": "#/$defs/io.token.proto.common.transferinstructions.TransferDestination"
        },
        "metadata": {
          "$ref": "#/$defs/io.token.proto.common.transferinstructions.TransferInstructions.Metadata"
        },
        "refId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.token.StandingOrderBody": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "endDate": {
          "type": "string"
        },
        "frequency": {
          "type": "string"
        },
        "instructions": {
          "$ref": "#/$defs/io.token.proto.common.transferinstructions.TransferInstructions"
        },
        "remittanceReference": {
          "type": "string"
        },
        "returnRefundAccount": {
          "format": "boolean",
          "type": "boolean"
        },
        "startDate": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.token.TokenRequestPayload.AccessBody.AccountResourceList": {
      "type": "object",
      "properties": {
        "resources": {
          "items": {
            "$ref": "#/$defs/io.token.proto.common.token.TokenRequestPayload.AccessBody.AccountResourceList.AccountResource"
          },
          "type": "array"
        }
      }
    },
    "io.token.proto.common.token.TokenRequestPayload.AccessBody.AccountResourceList.AccountResource": {
      "type": "object",
      "properties": {
        "accountIdentifier": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountIdentifier"
        },
        "bankAccount": {
          "$ref": "#/$defs/io.token.proto.common.account.BankAccount"
        },
        "customerData": {
          "$ref": "#/$defs/io.token.proto.common.transferinstructions.CustomerData"
        },
        "type": {
          "$ref": "#/$defs/io.token.proto.common.token.TokenRequestPayload.AccessBody.AccountResourceType"
        }
      }
    },
    "io.token.proto.common.token.TokenRequestPayload.AccessBody.AccountResourceType": {
      "enum": [
        "ACCOUNT_INVALID",
        "ACCOUNT_INFO",
        "ACCOUNT_BALANCE",
        "ACCOUNT_TRANSACTIONS",
        "ACCOUNT_TRANSFER_DESTINATIONS",
        "ACCOUNT_FUNDS_CONFIRMATION",
        "ACCOUNT_STANDING_ORDERS",
        "ACCOUNT_SCHEDULED_PAYMENTS",
        "ACCOUNT_DIRECT_DEBITS"
      ],
      "default": "ACCOUNT_INVALID",
      "type": "string"
    },
    "io.token.proto.common.token.TokenRequestPayload.AccessBody.ResourceType": {
      "enum": [
        "INVALID",
        "ACCOUNTS",
        "BALANCES",
        "TRANSACTIONS",
        "TRANSFER_DESTINATIONS",
        "FUNDS_CONFIRMATIONS",
        "STANDING_ORDERS",
        "SCHEDULED_PAYMENTS",
        "DIRECT_DEBITS",
        "TRUSTED_BENEFICIARIES",
        "PARTIES"
      ],
      "default": "INVALID",
      "type": "string"
    },
    "io.token.proto.common.token.TokenRequestPayload.AccessBody.ResourceTypeList": {
      "type": "object",
      "properties": {
        "resources": {
          "items": {
            "$ref": "#/$defs/io.token.proto.common.token.TokenRequestPayload.AccessBody.ResourceType"
          },
          "type": "array"
        },
        "source": {
          "$ref": "#/$defs/io.token.proto.common.token.TokenRequestPayload.AccessBody.ResourceTypeList.SourceAccount"
        }
      }
    },
    "io.token.proto.common.token.TokenRequestPayload.AccessBody.ResourceTypeList.SourceAccount": {
      "type": "object",
      "properties": {
        "accountIdentifier": {
          "$ref": "#/$defs/io.token.proto.common.account.AccountIdentifier"
        },
        "currency": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.token.TokenRequestPayload.TransferBody": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "string"
        },
        "confirmFunds": {
          "format": "boolean",
          "type": "boolean"
        },
        "currency": {
          "type": "string"
        },
        "destinations": {
          "items": {
            "$ref": "#/$defs/io.token.proto.common.transferinstructions.TransferEndpoint"
          },
          "type": "array"
        },
        "executionDate": {
          "type": "string"
        },
        "instructions": {
          "$ref": "#/$defs/io.token.proto.common.transferinstructions.TransferInstructions"
        },
        "lifetimeAmount": {
          "type": "string"
        },
        "remittanceReference": {
          "type": "string"
        },
        "returnRefundAccount": {
          "format": "boolean",
          "type": "boolean"
        },
        "setTransferDestinationsUrl": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.transferinstructions.ChargeBearer": {
      "enum": [
        "INVALID_CHARGE_BEARER",
        "CRED",
        "DEBT",
        "SHAR",
        "SLEV"
      ],
      "default": "INVALID_CHARGE_BEARER",
      "type": "string"
    },
    "io.token.proto.common.transferinstructions.CustomerData": {
      "type": "object",
      "properties": {
        "address": {
          "$ref": "#/$defs/io.token.proto.common.address.Address"
        },
        "legalNames": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "io.token.proto.common.transferinstructions.PaymentContext": {
      "enum": [
        "INVALID_CONTEXT",
        "OTHER_CONTEXT",
        "BILL_PAYMENT",
        "ECOMMERCE_GOODS",
        "ECOMMERCE_SERVICES",
        "PERSON_TO_PERSON"
      ],
      "default": "INVALID_CONTEXT",
      "type": "string"
    },
    "io.token.proto.common.transferinstructions.TransferDestination": {
      "type": "object",
      "properties

# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/token-io/refs/heads/main/json-schema/token-io-io-token-proto-gateway-retrieve-consent-request-response-schema.json

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-retrieve-consent-request-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.