Token.io · Schema

io.token.proto.gateway.CancelPaymentResponse

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

Properties

Name Type Description
payment object
View JSON Schema on GitHub

JSON Schema

token-io-io-token-proto-gateway-cancel-payment-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-cancel-payment-response-schema.json",
  "title": "io.token.proto.gateway.CancelPaymentResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/token-io-payments-api-openapi.yml#/components/schemas/io.token.proto.gateway.CancelPaymentResponse",
  "type": "object",
  "properties": {
    "payment": {
      "$ref": "#/$defs/io.token.proto.common.v2.openbanking.payment.Payment"
    }
  },
  "$defs": {
    "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.alias.Alias": {
      "type": "object",
      "properties": {
        "realm": {
          "type": "string"
        },
        "realmId": {
          "type": "string"
        },
        "type": {
          "$ref": "#/$defs/io.token.proto.common.alias.Alias.Type"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.alias.Alias.Type": {
      "enum": [
        "INVALID",
        "UNKNOWN",
        "EMAIL",
        "PHONE",
        "DOMAIN",
        "USERNAME",
        "BANK",
        "CUSTOM",
        "EIDAS"
      ],
      "default": "INVALID",
      "type": "string"
    },
    "io.token.proto.common.money.Money": {
      "type": "object",
      "properties": {
        "currency": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.providerspecific.CredentialField": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "flickerCode": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "options": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "password": {
          "format": "boolean",
          "type": "boolean"
        },
        "type": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.CredentialField.Type"
        }
      }
    },
    "io.token.proto.common.providerspecific.CredentialField.Type": {
      "enum": [
        "INVALID",
        "FIELD",
        "PASSWORD",
        "PSU_MESSAGE",
        "IMAGE",
        "FLICKER",
        "DECOUPLED",
        "CONFIRMATION"
      ],
      "default": "INVALID",
      "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.token.ActingAs": {
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string"
        },
        "logoUrl": {
          "type": "string"
        },
        "refId": {
          "type": "string"
        },
        "secondaryName": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.transaction.TransactionStatus": {
      "enum": [
        "INVALID_STATUS",
        "PENDING",
        "PROCESSING",
        "SUCCESS",
        "PENDING_EXTERNAL_AUTHORIZATION",
        "FAILURE_CANCELED",
        "FAILURE_INSUFFICIENT_FUNDS",
        "FAILURE_INVALID_CURRENCY",
        "FAILURE_PERMISSION_DENIED",
        "FAILURE_QUOTE_EXPIRED",
        "FAILURE_INVALID_AMOUNT",
        "FAILURE_INVALID_QUOTE",
        "FAILURE_EXPIRED",
        "FAILURE_DECLINED",
        "FAILURE_GENERIC",
        "SENT",
        "INITIATED",
        "STATUS_NOT_AVAILABLE",
        "SETTLEMENT_IN_PROGRESS",
        "SETTLEMENT_INCOMPLETE",
        "SETTLEMENT_COMPLETED"
      ],
      "default": "INVALID_STATUS",
      "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.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": {
      "enum": [
        "UNKNOWN",
        "BUSINESS",
        "PERSONAL"
      ],
      "default": "UNKNOWN",
      "type": "string"
    },
    "io.token.proto.common.transferinstructions.TransferInstructions.Metadata": {
      "type": "object",
      "properties": {
        "chargeBearer": {
          "$ref": "#/$defs/io.token.proto.common.transferinstructions.ChargeBearer"
        },
        "deliveryAddress": {
          "$ref": "#/$defs/io.token.proto.common.address.Address"
        },
        "merchantCategoryCode": {
          "type": "string"
        },
        "merchantCustomerId": {
          "type": "string"
        },
        "paymentContext": {
          "$ref": "#/$defs/io.token.proto.common.transferinstructions.PaymentContext"
        },
        "providerStandingOrderMetadata": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.ProviderStandingOrderMetadata"
        },
        "providerTransferMetadata": {
          "$ref": "#/$defs/io.token.proto.common.providerspecific.ProviderTransferMetadata"
        },
        "purposeCode": {
          "type": "string"
        },
        "ultimateCreditor": {
          "type": "string"
        },
        "ultimateDebtor": {
          "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.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.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.ErrorInfo": {
      "type": "object",
      "properties": {
        "httpErrorCode": {
          "format": "int32",
          "type": "integer"
        },
        "message": {
          "type": "string"
        },
        "tokenExternalError": {
          "format": "boolean",
          "type": "boolean"
        },
        "tokenTraceId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.common.FlowType": {
      "enum": [
        "UNKNOWN",
        "API",
        "WEB_APP",
        "WEB_APP_CREDENTIAL",
        "API_ONLY",
        "FULL_HOSTED_PAGES",
        "EMBEDDED_HOSTED_PAGES",
        "PAY_BY_LINK_HOSTED_PAGES"
      ],
      "default": "UNKNOWN",
      "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.common.PayByLinkOptions": {
      "type": "object",
      "properties": {
        "expiresDateTime": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.common.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.v2.common.PaymentRefundStatus": {
      "enum": [
        "INVALID",
        "NONE",
        "PARTIAL",
        "FULL"
      ],
      "default": "INVALID",
      "type": "string"
    },
    "io.token.proto.common.v2.common.Refund": {
      "type": "object",
      "properties": {
        "paymentRefundStatus": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.PaymentRefundStatus"
        },
        "refundAccount": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.RefundAccount"
        },
        "refundStateUpdatedAt": {
          "type": "string"
        },
        "remainingRefundAmount": {
          "$ref": "#/$defs/io.token.proto.common.money.Money"
        },
        "settledRefundAmount": {
          "$ref": "#/$defs/io.token.proto.common.money.Money"
        }
      }
    },
    "io.token.proto.common.v2.common.RefundAccount": {
      "type": "object",
      "properties": {
        "accountNumber": {
          "type": "string"
        },
        "bankgiroNumber": {
          "type": "string"
        },
        "bban": {
          "type": "string"
        },
        "bic": {
          "type": "string"
        },
        "clearingNumber": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "plusgiroNumber": {
          "type": "string"
        },
        "sortCode": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.common.Risk": {
      "type": "object",
      "properties": {
        "beneficiaryAccountType": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.BeneficiaryAccountType"
        },
        "beneficiaryPrepopulatedIndicator": {
          "format": "boolean",
          "type": "boolean"
        },
        "contractPresentIndicator": {
          "format": "boolean",
          "type": "boolean"
        },
        "contractPresentInidicator": {
          "format": "boolean",
          "type": "boolean"
        },
        "deliveryAddress": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.Address"
        },
        "merchantCategoryCode": {
          "type": "string"
        },
        "paymentContextCode": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.PaymentContextCode"
        },
        "paymentPurposeCode": {
          "type": "string"
        },
        "psuId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.openbanking.common.Authentication": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string"
        },
        "fields": {
          "items": {
            "$ref": "#/$defs/io.token.proto.common.v2.openbanking.common.EmbeddedAuthField"
          },
          "type": "array"
        },
        "flickerCode": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "isRetry": {
          "format": "boolean",
          "type": "boolean"
        },
        "redirectUrl": {
          "type": "string"
        },
        "requiredCredentials": {
          "items": {
            "$ref": "#/$defs/io.token.proto.common.providerspecific.CredentialField"
          },
          "type": "array"
        }
      }
    },
    "io.token.proto.common.v2.openbanking.common.ChargeBearer": {
      "enum": [
        "UNKNOWN_CHARGE_BEARER",
        "CRED",
        "DEBT",
        "SHAR",
        "SLEV"
      ],
      "default": "UNKNOWN_CHARGE_BEARER",
      "type": "string"
    },
    "io.token.proto.common.v2.openbanking.common.EmbeddedAuthField": {
      "type": "object",
      "properties": {
        "additionalInformation": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "options": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "type": {
          "$ref": "#/$defs/io.token.proto.common.v2.openbanking.common.EmbeddedAuthField.Type"
        }
      }
    },
    "io.token.proto.common.v2.openbanking.common.EmbeddedAuthField.Type": {
      "enum": [
        "INVALID_TYPE",
        "FIELD",
        "PASSWORD",
        "CHOICE_FIELD",
        "CONFIRMATION"
      ],
      "default": "INVALID_TYPE",
      "type": "string"
    },
    "io.token.proto.common.v2.openbanking.common.PaymentType": {
      "enum": [
        "UNKNOWN_PAYMENT_TYPE",
        "SINGLE_IMMEDIATE_PAYMENT",
        "VARIABLE_RECURRING_PAYMENT"
      ],
      "default": "UNKNOWN_PAYMENT_TYPE",
      "type": "string"
    },
    "io.token.proto.common.v2.openbanking.payment.Initiation": {
      "type": "object",
      "properties": {
        "amount": {
          "$ref": "#/$defs/io.token.proto.common.money.Money"
        },
        "bankId": {
          "type": "string"
        },
        "callbackState": {
          "type": "string"
        },
        "callbackUrl": {
          "type": "string"
        },
        "chargeBearer": {
          "$ref": "#/$defs/io.token.proto.common.v2.openbanking.common.ChargeBearer"
        },
        "confirmFunds": {
          "format": "boolean",
          "type": "boolean"
        },
        "creditor": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.CreditorInformation"
        },
        "debtor": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.DebtorInformation"
        },
        "disableFutureDatedPaymentConversion": {
          "format": "boolean",
          "type": "boolean"
        },
        "executionDate": {
          "type": "string"
        },
        "externalPsuReference": {
          "type": "string"
        },
        "flowType": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.FlowType"
        },
        "localInstrument": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.LocalInstrument"
        },
        "onBehalfOfId": {
          "type": "string"
        },
        "payByLinkOptions": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.PayByLinkOptions"
        },
        "paymentTemplateId": {
          "type": "string"
        },
        "refId": {
          "type": "string"
        },
        "remittanceInformationPrimary": {
          "type": "string"
        },
        "remittanceInformationSecondary": {
          "type": "string"
        },
        "requireAppToApp": {
          "format": "boolean",
          "type": "boolean"
        },
        "returnRefundAccount": {
          "format": "boolean",
          "type": "boolean"
        },
        "returnTokenizedAccount": {
          "format": "boolean",
          "type": "boolean"
        },
        "risk": {
          "$ref": "#/$defs/io.token.proto.common.v2.common.Risk"
        },
        "v1Fields": {
          "$ref": "#/$defs/io.token.proto.common.v2.openbanking.payment.V1InitiationFields"
        },
        "vrpConsentId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.v2.openbanking.payment.Payment": {
      "type": "object",
      "properties": {
        "authentication": {
          "$ref": "#/$defs/io.token.proto.common.v2.openbanking.common.Authentication"
        },
        "bankPaymentId": {
          "type": "string"
        },
        "bankPaymentStatus": {
          "type": "string"
        },
        "bankTransactionId": {
          "type": "string"
        },
        "bankVrpId": {
          "type": "string"
        },
        "bankVrpStatus": {
          "type": "string"
        },
        "convertedToFutureDatedPayment": {
          "format": "boolean",
          "type": "boolean"
        },
        "createdDateTime": {
          "type": 

# --- truncated at 32 KB (37 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/token-io/refs/heads/main/json-schema/token-io-io-token-proto-gateway-cancel-payment-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-cancel-payment-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.