object GetWebhookByIdResponse
{
  "type": "object",
  "title": "UnitWebhookResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1webhooks/post/responses/201/content/application~1vnd.api%2Bjson/schema/properties/data"
    }
  }
}
object ReportCardAsLostViaApiResponse
{
  "type": "object",
  "title": "UnitCardResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
    }
  }
}
object ReportCardAsStolenViaApiResponse
{
  "type": "object",
  "title": "UnitCardResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
    }
  }
}
object ReturnCheckPaymentByIdRequest
{
  "type": "object",
  "title": "ReturnCheckPaymentRequest",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "default": "checkPaymentReturn"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "reason": {
              "enum": [
                "InsufficientFunds",
                "AccountClosed",
                "AlteredCheck",
                "ForgedSignature",
                "PostdatedCheck",
                "StopPaymentOrder",
                "UnauthorizedDebit",
                "WrongAmount",
                "DuplicatePayment",
                "MissingSignature",
                "IrregularEndorsement",
                "Other"
              ],
              "type": "string"
            }
          }
        }
      }
    }
  }
}
object RevokeOrgApiTokenRewardByIdResponse
{
  "type": "object",
  "title": "UnitApiTokenResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1users~1%7BuserId%7D~1api-tokens/post/responses/201/content/application~1vnd.api%2Bjson/schema/properties/data"
    }
  }
}
object StopPaymentCreateRequest
{
  "type": "object",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "$ref": "#/paths/~1stop-payments/post/requestBody/content/application~1json/schema/definitions/stopPayment"
    }
  },
  "definitions": {
    "stopPayment": {
      "type": "object",
      "title": "Stop Payment",
      "required": [
        "type",
        "attributes",
        "relationships"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "stopPayment"
        },
        "attributes": {
          "type": "object",
          "required": [
            "amount",
            "checkNumber"
          ],
          "properties": {
            "tags": {
              "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
            },
            "amount": {
              "type": "integer",
              "minimum": 1
            },
            "checkNumber": {
              "type": "string",
              "maxLength": 12
            },
            "idempotencyKey": {
              "type": "string",
              "maxLength": 255,
              "minLength": 1
            }
          }
        },
        "relationships": {
          "$ref": "#/paths/~1stop-payments/post/requestBody/content/application~1json/schema/definitions/relationships"
        }
      }
    },
    "relationships": {
      "type": "object",
      "required": [
        "account"
      ],
      "properties": {
        "account": {
          "type": "object",
          "required": [
            "data"
          ],
          "properties": {
            "data": {
              "type": "object",
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "id": {
                  "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                },
                "type": {
                  "enum": [
                    "account",
                    "depositAccount",
                    "financialBusinessFBOAccount"
                  ],
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}
object StopPaymentCreateResponse
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "title": "Stop Payment",
      "required": [
        "type",
        "id",
        "attributes",
        "relationships"
      ],
      "properties": {
        "id": {
          "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
        },
        "type": {
          "type": "string",
          "default": "stopPayment"
        },
        "attributes": {
          "type": "object",
          "required": [
            "createdAt",
            "updatedAt",
            "amount",
            "checkNumber"
          ],
          "properties": {
            "tags": {
              "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
            },
            "amount": {
              "type": "integer",
              "minimum": 1
            },
            "status": {
              "enum": [
                "Active",
                "Disabled"
              ],
              "type": "string"
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "checkNumber": {
              "type": "string"
            }
          }
        },
        "relationships": {
          "type": "object",
          "required": [
            "account",
            "customer"
          ],
          "properties": {
            "account": {
              "type": "object",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "enum": [
                        "depositAccount",
                        "account"
                      ],
                      "type": "string"
                    }
                  }
                }
              }
            },
            "customer": {
              "type": "object",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "enum": [
                        "businessCustomer",
                        "individualCustomer",
                        "customer"
                      ],
                      "type": "string"
                    }
                  }
                }
              }
            },
            "customers": {
              "$ref": "#/paths/~1accounts/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/CreateDepositAccount/properties/relationships/properties/customers"
            },
            "checkPayments": {
              "type": "object",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                      },
                      "type": {
                        "type": "string",
                        "default": "checkPayment"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
object StopPaymentGetListResponse
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/paths/~1stop-payments/post/responses/200/content/application~1json/schema/properties/data"
      }
    }
  }
}
object UnfreezeACardByIdResponse
{
  "type": "object",
  "title": "UnitCardResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
    }
  }
}
object UpdateAccountViaApiRequest
{
  "type": "object",
  "title": "Update Account",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "oneOf": [
        {
          "$ref": "#/paths/~1accounts~1%7BaccountId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/updateDepositAccount"
        },
        {
          "$ref": "#/paths/~1accounts~1%7BaccountId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/updateCreditAccount"
        }
      ]
    }
  },
  "definitions": {
    "updateCreditAccount": {
      "type": "object",
      "title": "Update Credit Account",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "creditAccount"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "creditLimit": {
              "type": "integer"
            }
          }
        }
      }
    },
    "updateDepositAccount": {
      "type": "object",
      "title": "Update Deposit Account",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "depositAccount"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "depositProduct": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
object UpdateAccountViaApiResponse
{
  "type": "object",
  "title": "UnitAccountResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1accounts/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/items"
    }
  }
}
object UpdateApplicationViaApiRequest
{
  "type": "object",
  "title": "Patch Application",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "oneOf": [
        {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessApplication"
        },
        {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessApplicationOfficer"
        },
        {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessApplicationBeneficialOwner"
        },
        {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchSoleProprietorApplication"
        },
        {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchIndividualApplication"
        },
        {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTrustApplication"
        }
      ]
    }
  },
  "definitions": {
    "contact": {
      "type": "object",
      "title": "Contact",
      "properties": {
        "email": {
          "type": "string",
          "format": "email"
        },
        "phone": {
          "type": "object",
          "title": "Phone",
          "required": [
            "countryCode",
            "number"
          ],
          "properties": {
            "number": {
              "type": "string"
            },
            "countryCode": {
              "type": "string"
            }
          }
        },
        "fullName": {
          "type": "object",
          "title": "Full Name",
          "required": [
            "first",
            "last"
          ],
          "properties": {
            "last": {
              "type": "string",
              "maxLength": 255,
              "minLength": 1
            },
            "first": {
              "type": "string",
              "maxLength": 255,
              "minLength": 1
            }
          }
        }
      }
    },
    "grantor": {
      "type": "object",
      "title": "Grantor",
      "properties": {
        "ssn": {
          "type": "string",
          "pattern": "^\\d{9}$"
        },
        "email": {
          "type": "string",
          "format": "email"
        },
        "phone": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
        },
        "address": {
          "type": "object",
          "title": "Address",
          "required": [
            "street",
            "city",
            "postalCode",
            "country",
            "state"
          ],
          "properties": {
            "city": {
              "type": "string",
              "pattern": "^.*$",
              "maxLength": 255,
              "minLength": 1
            },
            "state": {
              "type": "string"
            },
            "street": {
              "type": "string",
              "pattern": "^.*$",
              "maxLength": 255,
              "minLength": 1
            },
            "country": {
              "type": "string",
              "default": "US"
            },
            "street2": {
              "type": "string",
              "pattern": "^.*$",
              "nullable": true
            },
            "postalCode": {
              "type": "string",
              "pattern": "^[0-9]{5}(?:-[0-9]{4})?$"
            }
          }
        },
        "fullName": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/fullName"
        },
        "passport": {
          "type": "string"
        },
        "dateOfBirth": {
          "type": "string",
          "format": "date"
        },
        "nationality": {
          "type": "string",
          "pattern": "^(A(D|E|F|G|I|L|M|N|O|R|S|T|Q|U|W|X|Z)|B(A|B|D|E|F|G|H|I|J|L|M|N|O|Q|R|S|T|V|W|Y|Z)|C(A|C|D|F|G|H|I|K|L|M|N|O|R|U|V|W|X|Y|Z)|D(E|J|K|M|O|Z)|E(C|E|G|H|R|S|T)|F(I|J|K|M|O|R)|G(A|B|D|E|F|G|H|I|L|M|N|P|Q|R|S|T|U|W|Y)|H(K|M|N|R|T|U)|I(D|E|Q|L|M|N|O|R|S|T)|J(E|M|O|P)|K(E|G|H|I|M|N|P|R|W|Y|Z)|L(A|B|C|I|K|R|S|T|U|V|Y)|M(A|C|D|E|F|G|H|K|L|M|N|O|Q|P|R|S|T|U|V|W|X|Y|Z)|N(A|C|E|F|G|I|L|O|P|R|U|Z)|OM|P(A|E|F|G|H|K|L|M|N|R|S|T|W|Y)|QA|R(E|O|S|U|W)|S(A|B|C|D|E|G|H|I|J|K|L|M|N|O|R|T|V|X|Y|Z)|T(C|D|F|G|H|J|K|L|M|N|O|R|T|V|W|Z)|U(A|G|M|S|Y|Z)|V(A|C|E|G|I|N|U)|W(F|S)|XK|Y(E|T)|Z(A|M|W))$"
        },
        "matriculaConsular": {
          "type": "string"
        }
      }
    },
    "officer": {
      "type": "object",
      "title": "Officer",
      "properties": {
        "ssn": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/ssn"
        },
        "email": {
          "type": "string",
          "format": "email"
        },
        "phone": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
        },
        "address": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
        },
        "fullName": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/fullName"
        },
        "passport": {
          "type": "string"
        },
        "occupation": {
          "enum": [
            "ArchitectOrEngineer",
            "BusinessAnalystAccountantOrFinancialAdvisor",
            "CommunityAndSocialServicesWorker",
            "ConstructionMechanicOrMaintenanceWorker",
            "Doctor",
            "Educator",
            "EntertainmentSportsArtsOrMedia",
            "ExecutiveOrManager",
            "FarmerFishermanForester",
            "FoodServiceWorker",
            "GigWorker",
            "HospitalityOfficeOrAdministrativeSupportWorker",
            "HouseholdManager",
            "JanitorHousekeeperLandscaper",
            "Lawyer",
            "ManufacturingOrProductionWorker",
            "MilitaryOrPublicSafety",
            "NurseHealthcareTechnicianOrHealthcareSupport",
            "PersonalCareOrServiceWorker",
            "PilotDriverOperator",
            "SalesRepresentativeBrokerAgent",
            "ScientistOrTechnologist",
            "Student"
          ],
          "type": "string"
        },
        "dateOfBirth": {
          "type": "string",
          "format": "date"
        },
        "nationality": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/nationality"
        },
        "annualIncome": {
          "enum": [
            "UpTo10k",
            "Between10kAnd25k",
            "Between25kAnd50k",
            "Between50kAnd100k",
            "Between100kAnd250k",
            "Over250k"
          ],
          "type": "string"
        },
        "sourceOfIncome": {
          "enum": [
            "EmploymentOrPayrollIncome",
            "PartTimeOrContractorIncome",
            "InheritancesAndGifts",
            "PersonalInvestments",
            "BusinessOwnershipInterests",
            "GovernmentBenefits"
          ],
          "type": "string"
        },
        "matriculaConsular": {
          "type": "string"
        }
      }
    },
    "beneficialOwner": {
      "type": "object",
      "title": "Beneficial Owner",
      "properties": {
        "ssn": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/ssn"
        },
        "address": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
        },
        "passport": {
          "type": "string"
        },
        "occupation": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/occupation"
        },
        "dateOfBirth": {
          "type": "string",
          "format": "date"
        },
        "nationality": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/nationality"
        },
        "annualIncome": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/annualIncome"
        },
        "sourceOfIncome": {
          "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/sourceOfIncome"
        },
        "matriculaConsular": {
          "type": "string"
        }
      }
    },
    "patchTrustApplication": {
      "type": "object",
      "title": "Patch Trust Application",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "trustApplication"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            }
          }
        }
      }
    },
    "patchBusinessApplication": {
      "type": "object",
      "title": "Patch Business Application",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "businessApplication"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "website": {
              "type": "string"
            },
            "cashFlow": {
              "enum": [
                "Unpredictable",
                "Predictable"
              ],
              "type": "string"
            },
            "stockSymbol": {
              "type": "string"
            },
            "annualRevenue": {
              "enum": [
                "UpTo250k",
                "Between250kAnd500k",
                "Between500kAnd1m",
                "Between1mAnd5m",
                "Over5m"
              ],
              "type": "string"
            },
            "businessVertical": {
              "enum": [
                "AdultEntertainmentDatingOrEscortServices",
                "AgricultureForestryFishingOrHunting",
                "ArtsEntertainmentAndRecreation",
                "BusinessSupportOrBuildingServices",
                "Cannabis",
                "Construction",
                "DirectMarketingOrTelemarketing",
                "EducationalServices",
                "FinancialServicesCryptocurrency",
                "FinancialServicesDebitCollectionOrConsolidation",
                "FinancialServicesMoneyServicesBusinessOrCurrencyExchange",
                "FinancialServicesOther",
                "FinancialServicesPaydayLending",
                "GamingOrGambling",
                "HealthCareAndSocialAssistance",
                "HospitalityAccommodationOrFoodServices",
                "LegalAccountingConsultingOrComputerProgramming",
                "Manufacturing",
                "Mining",
                "Nutraceuticals",
                "PersonalCareServices",
                "PublicAdministration",
                "RealEstate",
                "ReligiousCivicAndSocialOrganizations",
                "RepairAndMaintenance",
                "RetailTrade",
                "TechnologyMediaOrTelecom",
                "TransportationOrWarehousing",
                "Utilities",
                "WholesaleTrade"
              ],
              "type": "string"
            },
            "numberOfEmployees": {
              "enum": [
                "UpTo10",
                "Between10And50",
                "Between50And100",
                "Between100And500",
                "Over500"
              ],
              "type": "string"
            },
            "yearOfIncorporation": {
              "type": "string",
              "pattern": "^\\d{4}$"
            },
            "countriesOfOperation": {
              "type": "array",
              "items": {
                "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/nationality"
              },
              "minItems": 1
            }
          }
        }
      }
    },
    "patchIndividualApplication": {
      "type": "object",
      "title": "Patch Individual Application",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "individualApplication"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "occupation": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/occupation"
            },
            "annualIncome": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/annualIncome"
            },
            "sourceOfIncome": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/sourceOfIncome"
            }
          }
        }
      }
    },
    "patchSoleProprietorApplication": {
      "type": "object",
      "title": "Patch Individual Application",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "individualApplication"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "website": {
              "type": "string"
            },
            "annualRevenue": {
              "enum": [
                "UpTo50k",
                "Between50kAnd100k",
                "Between100kAnd200k",
                "Between200kAnd500k",
                "Over500k"
              ],
              "type": "string"
            },
            "businessVertical": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessApplication/properties/attributes/properties/businessVertical"
            },
            "numberOfEmployees": {
              "enum": [
                "One",
                "Between2And5",
                "Between5And10",
                "Over10"
              ],
              "type": "string"
            }
          }
        }
      }
    },
    "patchBusinessApplicationOfficer": {
      "type": "object",
      "title": "Patch Business Application",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "businessApplication"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "officer": {
              "type": "object",
              "properties": {
                "occupation": {
                  "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/occupation"
                },
                "annualIncome": {
                  "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/annualIncome"
                },
                "sourceOfIncome": {
                  "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/sourceOfIncome"
                }
              }
            }
          }
        }
      }
    },
    "patchBusinessApplicationBeneficialOwner": {
      "type": "object",
      "title": "Patch Business Application",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "beneficialOwner"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "occupation": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/occupation"
            },
            "annualIncome": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/annualIncome"
            },
            "sourceOfIncome": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/officer/properties/sourceOfIncome"
            }
          },
          "relationships": {
            "type": "object",
            "properties": {
              "application": {
                "$ref": "#/paths/~1check-deposits/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createCheckDepositRelationships/properties/account"
              }
            }
          }
        }
      }
    }
  }
}
object UpdateCardViaApiRequest
{
  "type": "object",
  "title": "Patch Card",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "oneOf": [
        {
          "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchIndividualDebitCard"
        },
        {
          "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchIndividualVirtualDebitCard"
        },
        {
          "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessDebitCard"
        },
        {
          "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessVirtualDebitCard"
        },
        {
          "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessCreditCard"
        },
        {
          "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessVirtualCreditCard"
        }
      ]
    }
  },
  "definitions": {
    "patchBusinessDebitCard": {
      "type": "object",
      "title": "Patch Business Debit Card",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "enum": [
            "businessDebitCard"
          ],
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "required": [],
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "email": {
              "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createOfficer/properties/email"
            },
            "phone": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
            },
            "design": {
              "type": "string"
            },
            "limits": {
              "type": "object",
              "properties": {
                "dailyPurchase": {
                  "type": "integer"
                },
                "dailyWithdrawal": {
                  "type": "integer"
                },
                "monthlyPurchase": {
                  "type": "integer"
                },
                "monthlyWithdrawal": {
                  "type": "integer"
                }
              }
            },
            "address": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
            },
            "shippingAddress": {
              "$ref": "#/components/schemas/addressNullable"
            },
            "defaultFundingAccountId": {
              "$ref": "#/components/schemas/idNullable"
            }
          }
        }
      }
    },
    "patchBusinessCreditCard": {
      "type": "object",
      "title": "Patch Business Credit Card",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "enum": [
            "businessCreditCard"
          ],
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "required": [],
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "email": {
              "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createOfficer/properties/email"
            },
            "phone": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
            },
            "design": {
              "type": "string"
            },
            "limits": {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessDebitCard/properties/attributes/properties/limits"
            },
            "address": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
            },
            "shippingAddress": {
              "$ref": "#/components/schemas/addressNullable"
            },
            "defaultFundingAccountId": {
              "$ref": "#/components/schemas/idNullable"
            }
          }
        }
      }
    },
    "patchIndividualDebitCard": {
      "type": "object",
      "title": "Patch Individual Debit Card",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "enum": [
            "individualDebitCard"
          ],
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "design": {
              "type": "string"
            },
            "limits": {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessDebitCard/properties/attributes/properties/limits"
            },
            "shippingAddress": {
              "$ref": "#/components/schemas/addressNullable"
            },
            "defaultFundingAccountId": {
              "$ref": "#/components/schemas/idNullable"
            }
          }
        }
      }
    },
    "patchBusinessVirtualDebitCard": {
      "type": "object",
      "title": "Patch Business Virtual Debit Card",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "enum": [
            "businessVirtualDebitCard"
          ],
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "required": [],
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "email": {
              "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createOfficer/properties/email"
            },
            "phone": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
            },
            "limits": {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessDebitCard/properties/attributes/properties/limits"
            },
            "address": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
            },
            "defaultFundingAccountId": {
              "$ref": "#/components/schemas/idNullable"
            }
          }
        }
      }
    },
    "patchBusinessVirtualCreditCard": {
      "type": "object",
      "title": "Patch Business Virtual Credit Card",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "enum": [
            "businessVirtualCreditCard"
          ],
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "required": [],
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "email": {
              "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createOfficer/properties/email"
            },
            "phone": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
            },
            "limits": {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessDebitCard/properties/attributes/properties/limits"
            },
            "address": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
            },
            "defaultFundingAccountId": {
              "$ref": "#/components/schemas/idNullable"
            }
          }
        }
      }
    },
    "patchIndividualVirtualDebitCard": {
      "type": "object",
      "title": "Patch Individual Virtual Debit Card",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "enum": [
            "individualVirtualDebitCard"
          ],
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "limits": {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBusinessDebitCard/properties/attributes/properties/limits"
            },
            "defaultFundingAccountId": {
              "$ref": "#/components/schemas/idNullable"
            }
          }
        }
      }
    }
  }
}
object UpdateCardViaApiResponse
{
  "type": "object",
  "title": "UnitCardResponse",
  "properties": {
    "data": {
      "type": "object",
      "title": "Card Document",
      "properties": {
        "id": {
          "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
        },
        "type": {
          "type": "string"
        }
      },
      "definitions": {
        "pinStatus": {
          "type": "object",
          "title": "PinStatusDTO",
          "properties": {
            "type": {
              "type": "string"
            },
            "attributes": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string"
                }
              }
            }
          }
        },
        "BusinessDebitCard": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "last4Digits",
                    "expirationDate",
                    "address",
                    "fullName",
                    "phone",
                    "email",
                    "dateOfBirth"
                  ],
                  "properties": {
                    "bin": {
                      "type": "string",
                      "pattern": "^\\d{9}$"
                    },
                    "ssn": {
                      "type": "string",
                      "pattern": "^\\d{9}$"
                    },
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "email": {
                      "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createOfficer/properties/email"
                    },
                    "phone": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
                    },
                    "design": {
                      "type": "string"
                    },
                    "status": {
                      "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/physicalCardStatus"
                    },
                    "address": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
                    },
                    "fullName": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/fullName"
                    },
                    "passport": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "dateOfBirth": {
                      "type": "string",
                      "format": "date"
                    },
                    "last4Digits": {
                      "type": "string",
                      "pattern": "^\\d{4}$"
                    },
                    "nationality": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/nationality"
                    },
                    "freezeReason": {
                      "type": "string"
                    },
                    "expirationDate": {
                      "type": "string",
                      "pattern": "^\\d{4}[-](1[012]|0[1-9])$"
                    },
                    "shippingAddress": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/cardRelationships"
                }
              }
            }
          ],
          "title": "Business Debit Card"
        },
        "cardRelationships": {
          "type": "object",
          "title": "cardRelationships",
          "required": [
            "account"
          ],
          "properties": {
            "account": {
              "type": "object",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "enum": [
                        "account",
                        "depositAccount"
                      ],
                      "type": "string"
                    }
                  }
                }
              }
            },
            "customer": {
              "type": "object",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "enum": [
                        "businessCustomer",
                        "individualCustomer",
                        "customer"
                      ],
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "virtualCardStatus": {
          "enum": [
            "Active",
            "Inactive",
            "Stolen",
            "Lost",
            "Frozen",
            "ClosedByCustomer",
            "Unknown",
            "SuspectedFraud"
          ],
          "type": "string"
        },
        "BusinessCreditCard": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "last4Digits",
                    "expirationDate",
                    "address",
                    "fullName",
                    "phone",
                    "email",
                    "dateOfBirth"
                  ],
                  "properties": {
                    "bin": {
                      "type": "string",
                      "pattern": "^\\d{9}$"
                    },
                    "ssn": {
                      "type": "string",
                      "pattern": "^\\d{9}$"
                    },
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "email": {
                      "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createOfficer/properties/email"
                    },
                    "phone": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
                    },
                    "design": {
                      "type": "string"
                    },
                    "status": {
                      "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/physicalCardStatus"
                    },
                    "address": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
                    },
                    "fullName": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/fullName"
                    },
                    "passport": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "dateOfBirth": {
                      "type": "string",
                      "format": "date"
                    },
                    "last4Digits": {
                      "type": "string",
                      "pattern": "^\\d{4}$"
                    },
                    "nationality": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/nationality"
                    },
                    "freezeReason": {
                      "type": "string"
                    },
                    "expirationDate": {
                      "type": "string",
                      "pattern": "^\\d{4}[-](1[012]|0[1-9])$"
                    },
                    "shippingAddress": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/cardRelationships"
                }
              }
            }
          ],
          "title": "Business Credit Card"
        },
        "physicalCardStatus": {
          "enum": [
            "Active",
            "Inactive",
            "Stolen",
            "Lost",
            "Frozen",
            "ClosedByCustomer",
            "Unknown",
            "SuspectedFraud",
            "ActiveForOnlineUse"
          ],
          "type": "string"
        },
        "IndividualDebitCard": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "last4Digits",
                    "expirationDate",
                    "status"
                  ],
                  "properties": {
                    "bin": {
                      "type": "string",
                      "pattern": "^\\d{9}$"
                    },
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "design": {
                      "type": "string"
                    },
                    "status": {
                      "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/physicalCardStatus"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "last4Digits": {
                      "type": "string",
                      "pattern": "^\\d{4}$"
                    },
                    "freezeReason": {
                      "type": "string"
                    },
                    "expirationDate": {
                      "type": "string",
                      "pattern": "^\\d{4}[-](1[012]|0[1-9])$"
                    },
                    "shippingAddress": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/cardRelationships"
                }
              }
            }
          ],
          "title": "Individual Debit Card"
        },
        "BusinessVirtualDebitCard": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "last4Digits",
                    "expirationDate",
                    "address",
                    "fullName",
                    "phone",
                    "email",
                    "dateOfBirth"
                  ],
                  "properties": {
                    "bin": {
                      "type": "string",
                      "pattern": "^\\d{9}$"
                    },
                    "ssn": {
                      "type": "string",
                      "pattern": "^\\d{9}$"
                    },
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "email": {
                      "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createOfficer/properties/email"
                    },
                    "phone": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
                    },
                    "status": {
                      "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/virtualCardStatus"
                    },
                    "address": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
                    },
                    "fullName": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/fullName"
                    },
                    "passport": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "dateOfBirth": {
                      "type": "string",
                      "format": "date"
                    },
                    "last4Digits": {
                      "type": "string",
                      "pattern": "^\\d{4}$"
                    },
                    "nationality": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/nationality"
                    },
                    "freezeReason": {
                      "type": "string"
                    },
                    "expirationDate": {
                      "type": "string",
                      "pattern": "^\\d{4}[-](1[012]|0[1-9])$"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/cardRelationships"
                }
              }
            }
          ],
          "title": "Business Virtual Debit Card"
        },
        "BusinessVirtualCreditCard": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "last4Digits",
                    "expirationDate",
                    "address",
                    "fullName",
                    "phone",
                    "email",
                    "dateOfBirth"
                  ],
                  "properties": {
                    "bin": {
                      "type": "string",
                      "pattern": "^\\d{9}$"
                    },
                    "ssn": {
                      "type": "string",
                      "pattern": "^\\d{9}$"
                    },
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "email": {
                      "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createOfficer/properties/email"
                    },
                    "phone": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
                    },
                    "status": {
                      "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/virtualCardStatus"
                    },
                    "address": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
                    },
                    "fullName": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/fullName"
                    },
                    "passport": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "dateOfBirth": {
                      "type": "string",
                      "format": "date"
                    },
                    "last4Digits": {
                      "type": "string",
                      "pattern": "^\\d{4}$"
                    },
                    "nationality": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/nationality"
                    },
                    "freezeReason": {
                      "type": "string"
                    },
                    "expirationDate": {
                      "type": "string",
                      "pattern": "^\\d{4}[-](1[012]|0[1-9])$"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/cardRelationships"
                }
              }
            }
          ],
          "title": "Business Virtual Credit Card"
        },
        "IndividualVirtualDebitCard": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "last4Digits",
                    "expirationDate",
                    "status"
                  ],
                  "properties": {
                    "bin": {
                      "type": "string",
                      "pattern": "^\\d{9}$"
                    },
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "status": {
                      "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/virtualCardStatus"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "last4Digits": {
                      "type": "string",
                      "pattern": "^\\d{4}$"
                    },
                    "freezeReason": {
                      "type": "string"
                    },
                    "expirationDate": {
                      "type": "string",
                      "pattern": "^\\d{4}[-](1[012]|0[1-9])$"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1cards~1%7BcardId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/cardRelationships"
                }
              }
            }
          ],
          "title": "Individual Virtual Debit Card"
        }
      },
      "discriminator": {
        "mapping": {
          "businessDebitCard": "#/definitions/BusinessDebitCard",
          "businessCreditCard": "#/definitions/BusinessCreditCard",
          "individualDebitCard": "#/definitions/IndividualDebitCard",
          "businessVirtualDebitCard": "#/definitions/BusinessVirtualDebitCard",
          "businessVirtualCreditCard": "#/definitions/BusinessVirtualCreditCard",
          "individualVirtualDebitCard": "#/definitions/IndividualVirtualDebitCard"
        },
        "propertyName": "type"
      }
    }
  }
}
object UpdateCheckDepositByIdRequest
{
  "type": "object",
  "title": "Patch Check Deposit",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "$ref": "#/paths/~1check-deposits~1%7BcheckDepositId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchCheckDeposit"
    }
  },
  "definitions": {
    "patchCheckDeposit": {
      "type": "object",
      "title": "Patch Check Deposit",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "checkDeposit"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "amount": {
              "type": "integer",
              "minimum": 1
            }
          }
        }
      }
    }
  }
}
object UpdateCheckDepositByIdResponse
{
  "type": "object",
  "title": "UnitCheckDepositResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1check-deposits/post/responses/201/content/application~1vnd.api%2Bjson/schema/properties/data"
    }
  }
}
object UpdateCounterpartyViaApiRequest
{
  "type": "object",
  "title": "Patch Counterparty",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "oneOf": [
        {
          "$ref": "#/paths/~1counterparties~1%7BcounterpartyId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchCounterparty"
        }
      ]
    }
  },
  "definitions": {
    "patchCounterparty": {
      "type": "object",
      "title": "Patch Counterparty",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "counterparty"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "maxLength": 50,
              "minLength": 1
            },
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "verifyName": {
              "type": "boolean",
              "default": false
            },
            "permissions": {
              "enum": [
                "CreditOnly",
                "DebitOnly",
                "CreditAndDebit"
              ],
              "type": "string"
            },
            "plaidProcessorToken": {
              "type": "string",
              "pattern": "^processor-.*$",
              "maxLength": 60,
              "minLength": 40
            }
          }
        }
      }
    }
  }
}
object UpdateCounterpartyViaApiResponse
{
  "type": "object",
  "title": "UnitCounterpartyResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1counterparties/post/responses/201/content/application~1vnd.api%2Bjson/schema/properties/data"
    }
  }
}
object UpdateCustomerViaApiRequest
{
  "type": "object",
  "title": "Patch Customer",
  "properties": {
    "data": {
      "oneOf": [
        {
          "$ref": "#/paths/~1customers~1%7BcustomerId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/updateIndividualCustomer"
        },
        {
          "$ref": "#/paths/~1customers~1%7BcustomerId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/updateBusinessCustomer"
        },
        {
          "$ref": "#/paths/~1customers~1%7BcustomerId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/updateTrustCustomer"
        }
      ]
    }
  },
  "definitions": {
    "relationships": {
      "type": "object",
      "properties": {
        "org": {
          "type": "object",
          "required": [
            "data"
          ],
          "properties": {
            "data": {
              "type": "object",
              "required": [
                "id",
                "type"
              ],
              "properties": {
                "id": {
                  "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                },
                "type": {
                  "type": "string",
                  "default": "org"
                }
              }
            }
          }
        },
        "application": {
          "type": "object",
          "properties": {
            "id": {
              "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
            },
            "type": {
              "enum": [
                "businessApplication",
                "individualApplication"
              ],
              "type": "string"
            }
          }
        }
      }
    },
    "updateTrustCustomer": {
      "type": "object",
      "title": "UpdateTrustCustomer",
      "properties": {
        "type": {
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags",
              "nullable": true
            },
            "contact": {
              "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/CreateTrustApplication/properties/attributes/properties/contact",
              "nullable": true
            },
            "authorizedUsers": {
              "type": "array",
              "items": {
                "type": "object",
                "title": "Authorized User",
                "required": [
                  "fullName",
                  "email",
                  "phone"
                ],
                "properties": {
                  "email": {
                    "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createOfficer/properties/email"
                  },
                  "phone": {
                    "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone"
                  },
                  "fullName": {
                    "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/fullName"
                  },
                  "jwtSubject": {
                    "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createPowerOfAttorneyAgent/properties/jwtSubject"
                  }
                }
              },
              "nullable": true
            }
          }
        }
      }
    },
    "updateBusinessCustomer": {
      "type": "object",
      "title": "UpdateBusinessCustomer",
      "properties": {
        "type": {
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "dba": {
              "type": "string",
              "nullable": true
            },
            "ein": {
              "type": "string",
              "pattern": "^\\d{9}$"
            },
            "tags": {
              "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags",
              "nullable": true
            },
            "phone": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone",
              "nullable": true
            },
            "address": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address",
              "nullable": true
            },
            "contact": {
              "allOf": [
                {
                  "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/CreateBusinessApplication/properties/attributes/properties/contact"
                }
              ],
              "nullable": true,
              "required": [
                "fullName"
              ]
            },
            "authorizedUsers": {
              "type": "array",
              "items": {
                "$ref": "#/paths/~1customers~1%7BcustomerId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/updateTrustCustomer/properties/attributes/properties/authorizedUsers/items"
              },
              "nullable": true
            }
          }
        }
      }
    },
    "updateIndividualCustomer": {
      "type": "object",
      "title": "UpdateIndividualCustomer",
      "properties": {
        "type": {
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "dba": {
              "type": "string",
              "nullable": true
            },
            "tags": {
              "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
            },
            "email": {
              "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createOfficer/properties/email",
              "nullable": true
            },
            "phone": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/contact/properties/phone",
              "nullable": true
            },
            "address": {
              "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address",
              "nullable": true
            },
            "jwtSubject": {
              "$ref": "#/paths/~1applications/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/createPowerOfAttorneyAgent/properties/jwtSubject",
              "nullable": true
            },
            "authorizedUsers": {
              "type": "array",
              "items": {
                "$ref": "#/paths/~1customers~1%7BcustomerId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/updateTrustCustomer/properties/attributes/properties/authorizedUsers/items"
              },
              "nullable": true
            }
          }
        }
      }
    }
  }
}
object UpdateCustomerViaApiResponse
{
  "type": "object",
  "title": "UnitCustomerResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1customers/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/items"
    }
  }
}
object UpdatePaymentViaApiRequest
{
  "type": "object",
  "title": "Patch Payment",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "oneOf": [
        {
          "$ref": "#/paths/~1payments~1%7BpaymentId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchAchPayment"
        },
        {
          "$ref": "#/paths/~1payments~1%7BpaymentId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBookPayment"
        }
      ]
    }
  },
  "definitions": {
    "patchAchPayment": {
      "type": "object",
      "title": "Patch ACH Payment",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "achPayment"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            }
          }
        }
      }
    },
    "patchBookPayment": {
      "type": "object",
      "title": "Patch Book Payment",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "bookPayment"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            }
          }
        }
      }
    }
  }
}
object UpdatePaymentViaApiResponse
{
  "type": "object",
  "title": "UnitPaymentResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1payments~1%7BpaymentId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data"
    }
  }
}
object UpdateReceivedPaymentViaApiRequest
{
  "type": "object",
  "title": "Patch Received Payment",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "oneOf": [
        {
          "$ref": "#/paths/~1received-payments~1%7BpaymentId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchAchReceivedPayment"
        }
      ]
    }
  },
  "definitions": {
    "patchAchReceivedPayment": {
      "type": "object",
      "title": "Patch ACH Received Payment",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "achReceivedPayment"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            }
          }
        }
      }
    }
  }
}
object UpdateReceivedPaymentViaApiResponse
{
  "type": "object",
  "title": "UnitReceivedPaymentResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1received-payments~1%7BpaymentId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data"
    }
  }
}
object UpdateTransactionViaApiRequest
{
  "type": "object",
  "title": "Patch Transaction",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "oneOf": [
        {
          "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags"
        },
        {
          "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchBookTransaction"
        },
        {
          "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchChargebackTransaction"
        }
      ]
    }
  },
  "definitions": {
    "accountRelationship": {
      "type": "object",
      "required": [
        "data"
      ],
      "properties": {
        "data": {
          "type": "object",
          "required": [
            "type",
            "id"
          ],
          "properties": {
            "id": {
              "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
            },
            "type": {
              "enum": [
                "account",
                "depositAccount",
                "creditAccount",
                "batchAccount"
              ],
              "type": "string"
            }
          }
        }
      }
    },
    "patchBookTransaction": {
      "type": "object",
      "title": "Patch Book Transaction",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "bookTransaction"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "summary": {
              "type": "string"
            }
          }
        },
        "relationships": {
          "type": "object",
          "required": [
            "account"
          ],
          "properties": {
            "account": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/accountRelationship"
            }
          }
        }
      }
    },
    "patchTransactionTags": {
      "type": "object",
      "title": "Patch Transaction",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "transaction"
        },
        "attributes": {
          "type": "object",
          "required": [
            "tags"
          ],
          "properties": {
            "tags": {
              "type": "object",
              "maxProperties": 15
            }
          }
        }
      }
    },
    "patchChargebackTransaction": {
      "type": "object",
      "title": "Patch Chargeback Transaction",
      "required": [
        "type",
        "attributes"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "chargebackTransaction"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/patchTransactionTags/properties/attributes/properties/tags"
            },
            "summary": {
              "type": "string"
            }
          }
        },
        "relationships": {
          "type": "object",
          "required": [
            "account"
          ],
          "properties": {
            "account": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/accountRelationship"
            }
          }
        }
      }
    }
  }
}
object UpdateTransactionViaApiResponse
{
  "type": "object",
  "title": "UnitTransactionResponse",
  "properties": {
    "data": {
      "type": "object",
      "title": "Transaction Resource",
      "properties": {
        "id": {
          "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
        },
        "type": {
          "type": "string"
        }
      },
      "definitions": {
        "AtmTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "cardLast4Digits",
                    "atmName",
                    "surcharge"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "atmName": {
                      "type": "string"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "surcharge": {
                      "type": "integer"
                    },
                    "atmLocation": {
                      "type": "string"
                    },
                    "cardNetwork": {
                      "type": "string"
                    },
                    "interchange": {
                      "type": "string",
                      "nullable": true
                    },
                    "cardLast4Digits": {
                      "type": "string"
                    },
                    "networkTransactionId": {
                      "type": "string"
                    },
                    "internationalServiceFee": {
                      "type": "integer",
                      "nullable": true
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "ATM"
        },
        "FeeTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Fee"
        },
        "BookTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "counterparty"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "counterparty": {
                      "$ref": "#/paths/~1payments~1%7BpaymentId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/definitions/counterparty"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Book"
        },
        "CardTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "cardLast4Digits",
                    "merchant",
                    "recurring"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "merchant": {
                      "$ref": "#/paths/~1authorizations~1%7BauthorizationId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/properties/attributes/properties/merchant"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "recurring": {
                      "type": "boolean"
                    },
                    "cardNetwork": {
                      "type": "string"
                    },
                    "interchange": {
                      "type": "string",
                      "nullable": true
                    },
                    "digitalWallet": {
                      "type": "string"
                    },
                    "paymentMethod": {
                      "type": "string"
                    },
                    "cardLast4Digits": {
                      "type": "string"
                    },
                    "cardVerificationData": {
                      "$ref": "#/paths/~1authorizations~1%7BauthorizationId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/properties/attributes/properties/cardVerificationData"
                    },
                    "networkTransactionId": {
                      "type": "string"
                    },
                    "internationalServiceFee": {
                      "type": "integer",
                      "nullable": true
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "cardTransaction"
        },
        "WireTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "counterparty"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "imadOmad": {
                      "type": "object",
                      "properties": {
                        "imad": {
                          "type": "string"
                        },
                        "omad": {
                          "type": "string"
                        }
                      }
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "counterparty": {
                      "$ref": "#/paths/~1payments~1%7BpaymentId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/definitions/counterparty"
                    },
                    "senderReference": {
                      "type": "string"
                    },
                    "beneficiaryInformation": {
                      "type": "string"
                    },
                    "referenceForBeneficiary": {
                      "type": "string"
                    },
                    "beneficiaryAdviceInformation": {
                      "type": "string"
                    },
                    "originatorToBeneficiaryInformation": {
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "wireTransaction"
        },
        "RewardTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "receiverCounterparty"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "receiverCounterparty": {
                      "$ref": "#/paths/~1payments~1%7BpaymentId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/definitions/counterparty"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Reward"
        },
        "BillPayTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "billPayTransaction"
        },
        "DisputeTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "reason",
                    "disputeId"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "disputeId": {
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "disputeTransaction"
        },
        "ReleaseTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "counterparty"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "senderName": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "counterparty": {
                      "$ref": "#/paths/~1payments~1%7BpaymentId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/definitions/counterparty"
                    },
                    "senderAddress": {
                      "$ref": "#/paths/~1applications~1%7BapplicationId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/grantor/properties/address"
                    },
                    "senderAccountNumber": {
                      "type": "string",
                      "maxLength": 17
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "releaseTransaction"
        },
        "InterestTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "interestTransaction"
        },
        "PurchaseTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "cardLast4Digits",
                    "merchant",
                    "recurring",
                    "ecommerce",
                    "cardPresent"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "merchant": {
                      "$ref": "#/paths/~1authorizations~1%7BauthorizationId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/properties/attributes/properties/merchant"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "ecommerce": {
                      "type": "boolean"
                    },
                    "recurring": {
                      "type": "boolean"
                    },
                    "cardNetwork": {
                      "type": "string"
                    },
                    "cardPresent": {
                      "type": "boolean"
                    },
                    "coordinates": {
                      "$ref": "#/paths/~1atm-locations/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/attributes/properties/coordinates"
                    },
                    "interchange": {
                      "type": "string",
                      "nullable": true
                    },
                    "digitalWallet": {
                      "type": "string"
                    },
                    "paymentMethod": {
                      "type": "string"
                    },
                    "cardLast4Digits": {
                      "type": "string"
                    },
                    "cardVerificationData": {
                      "$ref": "#/paths/~1authorizations~1%7BauthorizationId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/properties/attributes/properties/cardVerificationData"
                    },
                    "networkTransactionId": {
                      "type": "string"
                    },
                    "internationalServiceFee": {
                      "type": "integer",
                      "nullable": true
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Purchase"
        },
        "ReversalTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "cardLast4Digits"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "cardLast4Digits": {
                      "type": "string"
                    },
                    "networkTransactionId": {
                      "type": "string"
                    },
                    "internationalServiceFee": {
                      "type": "integer",
                      "nullable": true
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Reversal"
        },
        "AdjustmentTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "adjustmentTransaction"
        },
        "ChargebackTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "counterparty": {
                      "$ref": "#/paths/~1payments~1%7BpaymentId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/definitions/counterparty"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Chargeback"
        },
        "SettlementTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "settlementTransaction"
        },
        "CashDepositTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "cardLast4Digits",
                    "merchant",
                    "recurring"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "recurring": {
                      "type": "boolean"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "cashDepositTransaction"
        },
        "InterchangeTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "interchangeShareTransaction"
        },
        "ReceivedAchTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "description",
                    "companyName",
                    "counterpartyRoutingNumber"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "addenda": {
                      "type": "string"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "secCode": {
                      "type": "string",
                      "maxLength": 3,
                      "minLength": 3
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "companyName": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "traceNumber": {
                      "type": "string"
                    },
                    "counterpartyName": {
                      "type": "string"
                    },
                    "counterpartyRoutingNumber": {
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Received ACH"
        },
        "ReturnedAchTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "companyName",
                    "counterpartyName",
                    "counterpartyRoutingNumber",
                    "reason"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "achReason": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "companyName": {
                      "type": "string"
                    },
                    "counterpartyName": {
                      "type": "string"
                    },
                    "counterpartyRoutingNumber": {
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Returned ACH"
        },
        "CheckDepositTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "checkDepositTransaction"
        },
        "CheckPaymentTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "checkPaymentTransaction"
        },
        "BankRepaymentTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "paidForDate"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "paidForDate": {
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "bankRepaymentTransaction"
        },
        "DishonoredAchTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "description",
                    "companyName",
                    "counterpartyRoutingNumber"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "secCode": {
                      "type": "string",
                      "maxLength": 3,
                      "minLength": 3
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "companyName": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "traceNumber": {
                      "type": "string"
                    },
                    "counterpartyName": {
                      "type": "string"
                    },
                    "counterpartyRoutingNumber": {
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Dishonored Return ACH"
        },
        "InterestShareTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "interestShareTransaction"
        },
        "OriginatedAchTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "description",
                    "counterparty"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "addenda": {
                      "type": "string"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "secCode": {
                      "type": "string"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "traceNumber": {
                      "type": "string"
                    },
                    "counterparty": {
                      "$ref": "#/paths/~1payments~1%7BpaymentId%7D/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/properties/data/definitions/counterparty"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Originated ACH"
        },
        "transactionRelationships": {
          "type": "object",
          "title": "transactionRelationships",
          "required": [
            "account"
          ],
          "properties": {
            "org": {
              "$ref": "#/paths/~1customers~1%7BcustomerId%7D/patch/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/relationships/properties/org"
            },
            "card": {
              "type": "object",
              "title": "cardRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "card"
                    }
                  }
                }
              }
            },
            "reward": {
              "type": "object",
              "title": "rewardRelationship",
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "reward"
                    }
                  }
                }
              }
            },
            "account": {
              "type": "object",
              "title": "accountRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "enum": [
                        "depositAccount",
                        "glAccount",
                        "account"
                      ],
                      "type": "string"
                    }
                  }
                }
              }
            },
            "payment": {
              "type": "object",
              "title": "paymentRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "payment"
                    }
                  }
                }
              }
            },
            "customer": {
              "type": "object",
              "title": "customerRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "enum": [
                        "businessCustomer",
                        "individualCustomer",
                        "customer"
                      ],
                      "type": "string"
                    }
                  }
                }
              }
            },
            "returned": {
              "type": "object",
              "title": "returnedRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "transaction"
                    }
                  }
                }
              }
            },
            "customers": {
              "$ref": "#/paths/~1accounts/post/requestBody/content/application~1vnd.api%2Bjson/schema/definitions/CreateDepositAccount/properties/relationships/properties/customers"
            },
            "repayment": {
              "type": "object",
              "title": "repaymentRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "repayment"
                    }
                  }
                }
              }
            },
            "chargeback": {
              "type": "object",
              "title": "chargebackRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "chargeback"
                    }
                  }
                }
              }
            },
            "incomingAch": {
              "type": "object",
              "title": "incomingAchRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "incomingAch"
                    }
                  }
                }
              }
            },
            "checkDeposit": {
              "type": "object",
              "title": "checkDepositRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "checkDeposit"
                    }
                  }
                }
              }
            },
            "checkPayment": {
              "type": "object",
              "title": "checkPaymentRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "payment"
                    }
                  }
                }
              }
            },
            "authorization": {
              "type": "object",
              "title": "authorizationRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "authorization"
                    }
                  }
                }
              }
            },
            "receivedPayment": {
              "type": "object",
              "title": "receivedPaymentRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "receivedPayment"
                    }
                  }
                }
              }
            },
            "receivingAccount": {
              "type": "object",
              "title": "receivingAccountRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "enum": [
                        "depositAccount",
                        "account"
                      ],
                      "type": "string"
                    }
                  }
                }
              }
            },
            "recurringPayment": {
              "type": "object",
              "title": "recurringPaymentRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "recurringPayment"
                    }
                  }
                }
              }
            },
            "relatedTransaction": {
              "type": "object",
              "title": "relatedTransactionRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "transaction"
                    }
                  }
                }
              }
            },
            "counterpartyAccount": {
              "type": "object",
              "title": "counterpartyAccountRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "account"
                    }
                  }
                }
              }
            },
            "disputedTransaction": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships/properties/relatedTransaction"
            },
            "authorizationRequest": {
              "type": "object",
              "title": "authorizationRequestRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "authorizationRequest"
                    }
                  }
                }
              }
            },
            "counterpartyCustomer": {
              "type": "object",
              "title": "counterpartyCustomerRelationship",
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1disputes/get/responses/200/content/application~1vnd.api%2Bjson%3B%20charset%3Dutf-8/schema/items/properties/id"
                    },
                    "type": {
                      "type": "string",
                      "default": "customer"
                    }
                  }
                }
              }
            },
            "paymentAdvanceTransaction": {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships/properties/relatedTransaction"
            }
          }
        },
        "PaymentAdvanceTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "paymentAdvanceTransaction"
        },
        "PaymentCanceledTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "paymentCanceledTransaction"
        },
        "CustomerRepaymentTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "customerRepaymentTransaction"
        },
        "DisputeSettlementTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "disputeSettlementTransaction"
        },
        "SponsoredInterestTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "sponsoredInterestTransaction"
        },
        "ReturnedReceivedAchTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "companyName",
                    "reason"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    },
                    "companyName": {
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "Returned Received ACH"
        },
        "RepaidPaymentAdvanceTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "repaidPaymentAdvanceTransaction"
        },
        "ReturnedCheckDepositTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "returnedCheckDepositTransaction"
        },
        "ReturnedCheckPaymentTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary",
                    "reason"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "returnedCheckPaymentTransaction"
        },
        "NegativeBalanceCoverageTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "NegativeBalanceCoverage"
        },
        "AccountLowBalanceClosureTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "AccountLowBalanceClosure"
        },
        "CustomerRepaymentReturnedTransaction": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data"
            },
            {
              "type": "object",
              "required": [
                "attributes",
                "relationships"
              ],
              "properties": {
                "attributes": {
                  "type": "object",
                  "required": [
                    "createdAt",
                    "amount",
                    "direction",
                    "balance",
                    "summary"
                  ],
                  "properties": {
                    "tags": {
                      "$ref": "#/paths/~1fees/post/requestBody/content/application~1vnd.api%2Bjson/schema/data/properties/attributes/properties/tags"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "balance": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "direction": {
                      "enum": [
                        "Credit",
                        "Debit"
                      ],
                      "type": "string"
                    }
                  }
                },
                "relationships": {
                  "$ref": "#/paths/~1accounts~1%7BaccountId%7D~1transactions~1%7BtransactionId%7D/patch/responses/200/content/application~1vnd.api%2Bjson/schema/properties/data/definitions/transactionRelationships"
                }
              }
            }
          ],
          "title": "customerRepaymentReturnedTransaction"
        }
      },
      "discriminator": {
        "mapping": {
          "atmTransaction": "#/definitions/AtmTransaction",
          "feeTransaction": "#/definitions/FeeTransaction",
          "bookTransaction": "#/definitions/BookTransaction",
          "cardTransaction": "#/definitions/CardTransaction",
          "wireTransaction": "#/definitions/WireTransaction",
          "rewardTransaction": "#/definitions/RewardTransaction",
          "billPayTransaction": "#/definitions/BillPayTransaction",
          "disputeTransaction": "#/definitions/DisputeTransaction",
          "releaseTransaction": "#/definitions/ReleaseTransaction",
          "interestTransaction": "#/definitions/InterestTransaction",
          "purchaseTransaction": "#/definitions/PurchaseTransaction",
          "reversalTransaction": "#/definitions/ReversalTransaction",
          "adjustmentTransaction": "#/definitions/AdjustmentTransaction",
          "chargebackTransaction": "#/definitions/ChargebackTransaction",
          "settlementTransaction": "#/definitions/SettlementTransaction",
          "cashDepositTransaction": "#/definitions/CashDepositTransaction",
          "interchangeTransaction": "#/definitions/InterchangeTransaction",
          "receivedAchTransaction": "#/definitions/ReceivedAchTransaction",
          "returnedAchTransaction": "#/definitions/ReturnedAchTransaction",
          "checkDepositTransaction": "#/definitions/CheckDepositTransaction",
          "checkPaymentTransaction": "#/definitions/CheckPaymentTransaction",
          "bankRepaymentTransaction": "#/definitions/BankRepaymentTransaction",
          "dishonoredAchTransaction": "#/definitions/DishonoredAchTransaction",
          "interestShareTransaction": "#/definitions/InterestShareTransaction",
          "originatedAchTransaction": "#/definitions/OriginatedAchTransaction",
          "paymentAdvanceTransaction": "#/definitions/PaymentAdvanceTransaction",
          "customerRepaymentTransaction": "#/definitions/CustomerRepaymentTransaction",
          "disputeSettlementTransaction": "#/definitions/DisputeSettlementTransaction",
          "sponsoredInterestTransaction": "#/definitions/SponsoredInterestTransaction",
          "returnedReceivedAchTransaction": "#/definitions/ReturnedReceivedAchTransaction",
          "repaidPaymentAdvanceTransaction": "#/definitions/RepaidPaymentAdvanceTransaction",
          "returnedCheckDepositTransaction": "#/definitions/ReturnedCheckDepositTransaction",
          "returnedCheckPaymentTransaction": "#/definitions/ReturnedCheckPaymentTransaction",
          "negativeBalanceCoverageTransaction": "#/definitions/NegativeBalanceCoverageTransaction",
          "accountLowBalanceClosureTransaction": "#/definitions/AccountLowBalanceClosureTransaction",
          "customerRepaymentReturnedTransaction": "#/definitions/CustomerRepaymentReturnedTransaction"
        },
        "propertyName": "type"
      }
    }
  }
}
object UpdateWebhookViaApiRequest
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "tags": {
              "type": "object"
            }
          }
        }
      }
    }
  }
}
object UpdateWebhookViaApiResponse
{
  "type": "object",
  "title": "UnitWebhookResponse",
  "properties": {
    "data": {
      "$ref": "#/paths/~1webhooks/post/responses/201/content/application~1vnd.api%2Bjson/schema/properties/data"
    }
  }
}
object UploadAJpegDocumentForAnApplicationBackSidePutRequest
{
  "type": "object"
}
object UploadAJpegDocumentForAnApplicationViaApiRequest
{
  "type": "object"
}
object UploadAPngDocumentForAnApplicationBackSidePutRequest
{
  "type": "object"
}
object UploadAPngDocumentForAnApplicationByIdRequest
{
  "type": "object"
}
object VerifyADocumentForAnApplicationPutRequest
{
  "type": "object",
  "title": "VerifyDocument",
  "properties": {
    "jobId": {
      "type": "string"
    }
  }
}
object addressNullable
{
  "type": "object",
  "title": "Address",
  "nullable": true,
  "required": [
    "street",
    "city",
    "postalCode",
    "country",
    "state"
  ],
  "properties": {
    "city": {
      "type": "string",
      "pattern": "^.*$",
      "maxLength": 255,
      "minLength": 1
    },
    "state": {
      "type": "string"
    },
    "street": {
      "type": "string",
      "pattern": "^.*$",
      "maxLength": 255,
      "minLength": 1
    },
    "country": {
      "type": "string",
      "default": "US"
    },
    "street2": {
      "type": "string",
      "pattern": "^.*$",
      "nullable": true
    },
    "postalCode": {
      "type": "string",
      "pattern": "^[0-9]{5}(?:-[0-9]{4})?$"
    }
  }
}
string idNullable
{
  "type": "string",
  "pattern": "^[1-9]\\d*$",
  "nullable": true
}
string nationalityNullable
{
  "type": "string",
  "pattern": "^(A(D|E|F|G|I|L|M|N|O|R|S|T|Q|U|W|X|Z)|B(A|B|D|E|F|G|H|I|J|L|M|N|O|Q|R|S|T|V|W|Y|Z)|C(A|C|D|F|G|H|I|K|L|M|N|O|R|U|V|W|X|Y|Z)|D(E|J|K|M|O|Z)|E(C|E|G|H|R|S|T)|F(I|J|K|M|O|R)|G(A|B|D|E|F|G|H|I|L|M|N|P|Q|R|S|T|U|W|Y)|H(K|M|N|R|T|U)|I(D|E|Q|L|M|N|O|R|S|T)|J(E|M|O|P)|K(E|G|H|I|M|N|P|R|W|Y|Z)|L(A|B|C|I|K|R|S|T|U|V|Y)|M(A|C|D|E|F|G|H|K|L|M|N|O|Q|P|R|S|T|U|V|W|X|Y|Z)|N(A|C|E|F|G|I|L|O|P|R|U|Z)|OM|P(A|E|F|G|H|K|L|M|N|R|S|T|W|Y)|QA|R(E|O|S|U|W)|S(A|B|C|D|E|G|H|I|J|K|L|M|N|O|R|T|V|X|Y|Z)|T(C|D|F|G|H|J|K|L|M|N|O|R|T|V|W|Z)|U(A|G|M|S|Y|Z)|V(A|C|E|G|I|N|U)|W(F|S)|XK|Y(E|T)|Z(A|M|W))$",
  "nullable": true
}