openapi: 3.0.0
info:
  title: Moov API
  contact:
    name: Moov Developer Support
    email: help@moov.io
    url: https://moov.io
  license:
    name: Unlicensed
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  description: |-
    Moov is a platform that enables developers to integrate all aspects of money movement with ease and speed.
    The Moov API makes it simple for platforms to send, receive, and store money. Our API is based upon REST
    principles, returns JSON responses, and uses standard HTTP response codes. To learn more about how Moov
    works at a high level, read our [concepts](https://docs.moov.io/guides/get-started/glossary/) guide.
  version: latest
servers:
  - url: https://api.moov.io
    description: Production API host
    variables: {}
security:
  - BasicAuth: []
tags:
  - name: Accounts
  - name: Adjustments
  - name: Apple pay
  - name: Authentication
  - name: Bank accounts
  - name: Fee plans
  - name: Branding
  - name: Capabilities
  - name: Cards
  - name: Disputes
  - name: End to End Encryption
  - name: Enriched address
  - name: Enriched profile
  - name: Industries
  - name: Avatars
  - name: Institutions
  - name: Files
  - name: Card issuing
  - name: Issuing transactions
  - name: Onboarding
  - name: Payment links
  - name: Payment methods
  - name: Ping
  - name: Receipts
  - name: Representatives
  - name: Scheduling
  - name: Terminal Applications
  - name: Transfers
  - name: Underwriting
  - name: Sweeps
  - name: Wallet transactions
  - name: Wallets
paths:
  /accounts:
    post:
      operationId: createAccount
      description: |-
        You can create **business** or **individual** accounts for your users (i.e., customers, merchants) by passing the required
        information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).

        If you're requesting the `wallet`, `send-funds`, `collect-funds`, or `card-issuing` capabilities, you'll need to:
          + Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
            This can be done upon account creation, or by [patching](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account using the `termsOfService` field.
        If you're creating a business account with the business type `llc`, `partnership`, or `privateCorporation`, you'll need to:
          + Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
          + [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.

        Visit our documentation to read more about [creating accounts](https://docs.moov.io/guides/accounts/create-accounts/) and [verification requirements](https://docs.moov.io/guides/accounts/requirements/identity-verification/).
        Note that the `mode` field (for production or sandbox) is only required when creating a _facilitator_ account. All non-facilitator account requests will ignore the mode field and be set to the calling facilitator's mode.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need 
        to specify the `/accounts.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: &ref_18
            type: string
            x-speakeasy-globals-hidden: true
            default: v2024.01.00
          x-speakeasy-globals-hidden: true
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_20
                  - accountID
                  - mode
                  - accountType
                  - displayName
                  - profile
                  - verification
                  - createdOn
                  - updatedOn
                properties: &ref_21
                  accountID:
                    type: string
                    format: uuid
                    description: Unique identifier for this account.
                    example: c520f1b9-0ba7-42f5-b977-248cdbe41c69
                  mode:
                    type: string
                    enum: &ref_17
                      - sandbox
                      - production
                    description: The operating mode for an account.
                    example: production
                  accountType:
                    type: string
                    enum: &ref_9
                      - individual
                      - business
                    description: The type of entity represented by this account.
                    example: business
                  displayName:
                    type: string
                    maxLength: 64
                    example: Whole Body Fitness
                  profile:
                    type: object
                    properties: &ref_568
                      individual:
                        type: object
                        required: &ref_484
                          - name
                        properties: &ref_485
                          name:
                            type: object
                            required: &ref_3
                              - firstName
                              - lastName
                            properties: &ref_4
                              firstName:
                                type: string
                                maxLength: 64
                                description: The individual's first given name.
                                example: Jordan
                              middleName:
                                type: string
                                maxLength: 64
                                description: The individual's second given name, if any.
                                example: Reese
                              lastName:
                                type: string
                                maxLength: 64
                                description: The individual's family name.
                                example: Lee
                              suffix:
                                type: string
                                maxLength: 20
                                description: Suffix of a given name.
                                example: Jr
                          phone:
                            type: object
                            properties: &ref_2
                              number:
                                type: string
                                maxLength: 10
                                example: '8185551212'
                              countryCode:
                                type: string
                                maxLength: 1
                                example: '1'
                          email:
                            type: string
                            maxLength: 255
                            format: email
                            example: jordan.lee@classbooker.dev
                          address:
                            type: object
                            required: &ref_0
                              - addressLine1
                              - city
                              - stateOrProvince
                              - postalCode
                              - country
                            properties: &ref_1
                              addressLine1:
                                type: string
                                maxLength: 60
                                example: 123 Main Street
                              addressLine2:
                                type: string
                                maxLength: 32
                                example: Apt 302
                              city:
                                type: string
                                maxLength: 32
                                example: Boulder
                              stateOrProvince:
                                type: string
                                maxLength: 2
                                example: CO
                              postalCode:
                                type: string
                                maxLength: 5
                                example: '80301'
                              country:
                                type: string
                                maxLength: 2
                                example: US
                          birthDateProvided:
                            type: boolean
                            description: Indicates whether this individual's birth date has been provided.
                          governmentIDProvided:
                            type: boolean
                            description: Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this individual.
                        description: Describes an individual.
                      business:
                        type: object
                        required: &ref_360
                          - legalBusinessName
                          - ownersProvided
                        properties: &ref_361
                          legalBusinessName:
                            type: string
                            maxLength: 64
                            description: The legal name under which the entity is registered.
                            example: Classbooker, LLC
                          doingBusinessAs:
                            type: string
                            maxLength: 64
                            description: A registered trade name under which the business operates, if different from its legal name.
                          businessType:
                            type: string
                            enum: &ref_10
                              - soleProprietorship
                              - unincorporatedAssociation
                              - trust
                              - publicCorporation
                              - privateCorporation
                              - llc
                              - partnership
                              - unincorporatedNonProfit
                              - incorporatedNonProfit
                              - governmentEntity
                            description: The type of entity represented by this business.
                            example: llc
                          address:
                            type: object
                            required: *ref_0
                            properties: *ref_1
                          phone:
                            type: object
                            properties: *ref_2
                          email:
                            type: string
                            maxLength: 255
                            format: email
                            example: jordan.lee@classbooker.dev
                          website:
                            type: string
                            format: uri
                            maxLength: 100
                          description:
                            type: string
                            minLength: 10
                            maxLength: 100
                            example: Local fitness gym paying out instructors
                          taxIDProvided:
                            type: boolean
                            description: Indicates whether a tax ID has been provided for this business.
                          representatives:
                            type: array
                            items:
                              type: object
                              required: &ref_135
                                - representativeID
                                - name
                                - createdOn
                                - updatedOn
                              properties: &ref_136
                                representativeID:
                                  type: string
                                  format: uuid
                                  description: Unique identifier for this representative.
                                name:
                                  type: object
                                  required: *ref_3
                                  properties: *ref_4
                                phone:
                                  type: object
                                  properties: *ref_2
                                email:
                                  type: string
                                  maxLength: 255
                                  format: email
                                  example: jordan.lee@classbooker.dev
                                address:
                                  type: object
                                  required: *ref_0
                                  properties: *ref_1
                                birthDateProvided:
                                  type: boolean
                                  description: Indicates whether this representative's birth date has been provided.
                                governmentIDProvided:
                                  type: boolean
                                  description: Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this representative.
                                responsibilities:
                                  type: object
                                  properties: &ref_140
                                    isController:
                                      type: boolean
                                      description: Indicates whether this individual has significant management responsibilities within the business.
                                    isOwner:
                                      type: boolean
                                      description: |-
                                        If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the
                                        business. If the representative does not own at least 25% of the business, this field should be `false`.
                                    ownershipPercentage:
                                      type: integer
                                      description: The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
                                      example: 38
                                    jobTitle:
                                      type: string
                                      maxLength: 64
                                      example: CEO
                                  description: Describes the job responsibilities of a business representative.
                                createdOn:
                                  type: string
                                  format: date-time
                                updatedOn:
                                  type: string
                                  format: date-time
                                disabledOn:
                                  type: string
                                  format: date-time
                              description: Describes a business representative.
                          ownersProvided:
                            type: boolean
                          industryCodes:
                            type: object
                            properties: &ref_11
                              naics:
                                type: string
                                minLength: 2
                                maxLength: 6
                                example: '713940'
                              sic:
                                type: string
                                minLength: 4
                                maxLength: 4
                                example: '7991'
                              mcc:
                                type: string
                                minLength: 4
                                maxLength: 4
                                example: '7997'
                          primaryRegulator:
                            type: string
                            enum: &ref_12
                              - OCC
                              - FDIC
                              - NCUA
                              - FRB
                            description: If the business is a financial institution, this field describes its primary regulator.
                        description: Describes a business.
                    description: Describes a Moov account profile. A profile will have a business or an individual, depending on the account's type.
                  metadata:
                    type: object
                    additionalProperties: &ref_13
                      type: string
                    description: Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
                    example: &ref_14
                      optional: metadata
                  termsOfService:
                    type: object
                    required: &ref_616
                      - acceptedDate
                      - acceptedIP
                    properties: &ref_617
                      acceptedDate:
                        type: string
                        format: date-time
                        description: The date and time the terms of service were accepted.
                      acceptedIP:
                        type: string
                        format: ipv4
                        description: The IP address from which the terms of service were accepted.
                        example: 172.217.2.46
                    description: Describes the acceptance of the Terms of Service.
                  capabilities:
                    type: array
                    items:
                      type: object
                      required: &ref_314
                        - capability
                        - status
                      properties: &ref_315
                        capability:
                          type: string
                        status:
                          type: string
                      description: Describes an action or set of actions that an account is permitted to perform.
                  verification:
                    type: object
                    required: &ref_651
                      - status
                    properties: &ref_652
                      verificationStatus:
                        type: string
                        enum: &ref_319
                          - unverified
                          - pending
                          - resubmit
                          - review
                          - verified
                          - failed
                        description: Possible states an account verification can be in.
                        deprecated: true
                      status:
                        type: string
                        enum: &ref_653
                          - unverified
                          - pending
                          - verified
                          - errored
                        description: Possible states an account verification can be in.
                        deprecated: true
                      details:
                        type: string
                        enum: &ref_654
                          - failedAutoVerify
                          - docDobMismatch
                          - docNameMismatch
                          - docAddressMismatch
                          - docNumberMismatch
                          - docIncomplete
                          - docFailedRisk
                          - potentialAccountSanctionsMatch
                          - potentialRepresentativeSanctionsMatch
                          - failedOther
                        description: Additional detail for a verification status.
                        deprecated: true
                      documents:
                        type: array
                        items:
                          type: object
                          required: &ref_438
                            - documentID
                            - type
                            - contentType
                            - uploadedAt
                          properties: &ref_439
                            documentID:
                              type: string
                              format: uuid
                              example: e07e83e8-9429-4e99-ac99-c941f719eb39
                            type:
                              type: string
                              enum: &ref_440
                                - driversLicense
                                - passport
                                - utilityBill
                                - bankStatement
                              description: Types of documents that can be uploaded.
                              example: bankStatement
                            contentType:
                              type: string
                              description: The document's MIME type.
                              example: application/pdf
                            parseErrors:
                              type: array
                              items:
                                type: string
                              description: Optional array of errors encountered during automated parsing.
                            uploadedAt:
                              type: string
                              format: date-time
                              example: '2024-05-06T12:20:38.184Z'
                    description: Describes identity verification status and relevant identity verification documents.
                  foreignID:
                    type: string
                    maxLength: 64
                    description: Optional alias from a foreign/external system which can be used to reference this resource.
                  customerSupport:
                    type: object
                    properties: &ref_15
                      phone:
                        type: object
                        properties: *ref_2
                      email:
                        type: string
                        maxLength: 255
                        format: email
                        example: jordan.lee@classbooker.dev
                      address:
                        type: object
                        required: *ref_0
                        properties: *ref_1
                      website:
                        type: string
                        format: uri
                    description: |-
                      User-provided information that can be displayed on credit card transactions for customers to use when
                      contacting a customer support team. This data is only allowed on a business account.
                  settings:
                    type: object
                    properties: &ref_16
                      cardPayment:
                        type: object
                        properties: &ref_372
                          statementDescriptor:
                            type: string
                            minLength: 4
                            maxLength: 22
                            pattern: '[a-zA-Z0-9.!*-+_\- ]+'
                            description: The description that shows up on credit card transactions. This will default to the accounts display name on account creation.
                            example: Whole Body Fitness
                        description: User provided settings to manage card payments. This data is only allowed on a business account.
                      achPayment:
                        type: object
                        required: &ref_310
                          - companyName
                        properties: &ref_311
                          companyName:
                            type: string
                            minLength: 1
                            maxLength: 16
                            pattern: '[a-zA-Z0-9.!*-+_\- ]+'
                            description: The description that shows up on ACH transactions. This will default to the account's display name on account creation.
                            example: WholeBodyFitness
                    description: User provided settings to manage an account.
                  createdOn:
                    type: string
                    format: date-time
                    example: '2024-05-06T12:20:38.184Z'
                  updatedOn:
                    type: string
                    format: date-time
                    example: '2024-05-06T12:20:38.184Z'
                  disconnectedOn:
                    type: string
                    format: date-time
                    example: '2024-05-06T12:20:38.184Z'
                example: &ref_22
                  mode: sandbox
                  accountID: 53ca67ea-6fd3-423f-9544-ce2404159d33
                  accountType: business
                  displayName: Whole Body Fitness LLC
                  profile:
                    business:
                      legalBusinessName: Whole Body Fitness LLC
                      ownersProvided: false
                  verification:
                    verificationStatus: unverified
                    status: unverified
                  settings:
                    cardPayment:
                      statementDescriptor: Whole Body Fitness LLC
                    achPayment:
                      companyName: Whole Body Fitne
                  createdOn: '2024-12-16T17:55:20.557151867Z'
                  updatedOn: '2024-12-16T17:55:20.557151867Z'
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_5
                  - error
                properties: &ref_6
                  error:
                    type: string
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties: &ref_387
                      accountType:
                        type: string
                      profile:
                        type: object
                        properties: &ref_23
                          individual:
                            type: object
                            properties: &ref_402
                              name:
                                type: object
                                properties: &ref_137
                                  firstName:
                                    type: string
                                  middleName:
                                    type: string
                                  lastName:
                                    type: string
                                  suffix:
                                    type: string
                              phone:
                                type: object
                                properties: &ref_8
                                  number:
                                    type: string
                                  countryCode:
                                    type: string
                              email:
                                type: string
                              address:
                                type: object
                                properties: &ref_7
                                  addressLine1:
                                    type: string
                                  addressLine2:
                                    type: string
                                  city:
                                    type: string
                                  stateOrProvince:
                                    type: string
                                  postalCode:
                                    type: string
                                  country:
                                    type: string
                              birthDate:
                                type: object
                                properties: &ref_217
                                  day:
                                    type: string
                                  month:
                                    type: string
                                  year:
                                    type: string
                              governmentID:
                                type: object
                                properties:
                                  ssn:
                                    type: object
                                    properties:
                                      full:
                                        type: string
                                      lastFour:
                                        type: string
                                  itin:
                                    type: object
                                    properties:
                                      full:
                                        type: string
                                      lastFour:
                                        type: string
                          business:
                            type: object
                            properties: &ref_393
                              legalBusinessName:
                                type: string
                              doingBusinessAs:
                                type: string
                              businessType:
                                type: string
                              address:
                                type: object
                                properties: *ref_7
                              phone:
                                type: object
                                properties: *ref_8
                              email:
                                type: string
                              website:
                                type: string
                              description:
                                type: string
                              taxID:
                                type: object
                                properties:
                                  ein:
                                    type: object
                                    properties:
                                      number:
                                        type: string
                              industryCodes:
                                type: object
                                properties:
                                  naics:
                                    type: string
                                  sic:
                                    type: string
                                  mcc:
                                    type: string
                              primaryRegulator:
                                type: string
                      metadata:
                        type: string
                      termsOfService:
                        type: object
                        properties: &ref_24
                          token:
                            type: string
                          manual:
                            type: object
                            properties:
                              acceptedDate:
                                type: string
                              acceptedDomain:
                                type: string
                              acceptedIP:
                                type: string
                              acceptedUserAgent:
                                type: string
                      foreignID:
                        type: string
                      customerSupport:
                        type: object
                        properties: &ref_25
                          phone:
                            type: object
                            properties: *ref_8
                          email:
                            type: string
                          address:
                            type: object
                            properties: *ref_7
                          website:
                            type: string
                      settings:
                        type: object
                        properties: &ref_26
                          cardPayment:
                            type: object
                            properties:
                              statementDescriptor:
                                type: string
                          achPayment:
                            type: object
                            properties:
                              companyName:
                                type: string
                      capabilities:
                        type: object
                        additionalProperties: &ref_233
                          type: string
                        example: &ref_234
                          '0': first element failed validation...
                required:
                  - error
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Accounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_230
                - accountType
                - profile
              properties: &ref_231
                accountType:
                  type: string
                  enum: *ref_9
                  description: The type of entity represented by this account.
                  example: business
                profile:
                  type: object
                  properties: &ref_409
                    individual:
                      type: object
                      required: &ref_403
                        - name
                      properties: &ref_404
                        name:
                          type: object
                          required: *ref_3
                          properties: *ref_4
                        phone:
                          type: object
                          properties: *ref_2
                        email:
                          type: string
                          maxLength: 255
                          format: email
                          example: jordan.lee@classbooker.dev
                        address:
                          type: object
                          required: *ref_0
                          properties: *ref_1
                        birthDate:
                          type: object
                          required: &ref_138
                            - day
                            - month
                            - year
                          properties: &ref_139
                            day:
                              type: integer
                              example: 9
                            month:
                              type: integer
                              example: 11
                            year:
                              type: integer
                              example: 1989
                        governmentID:
                          type: object
                          properties: &ref_27
                            ssn:
                              type: object
                              properties:
                                full:
                                  type: string
                                  pattern: ^\d{3}[-]?\d{2}[-]?\d{4}$
                                lastFour:
                                  type: string
                            itin:
                              type: object
                              properties:
                                full:
                                  type: string
                                  pattern: ^\d{3}[-]?\d{2}[-]?\d{4}$
                                lastFour:
                                  type: string
                    business:
                      type: object
                      required: &ref_394
                        - legalBusinessName
                      properties: &ref_395
                        legalBusinessName:
                          type: string
                          maxLength: 64
                          description: The legal name under which the entity is registered.
                          example: Classbooker, LLC
                        doingBusinessAs:
                          type: string
                          maxLength: 64
                          description: A registered trade name under which the business operates, if different from its legal name.
                        businessType:
                          type: string
                          enum: *ref_10
                          description: The type of entity represented by this business.
                          example: llc
                        address:
                          type: object
                          required: *ref_0
                          properties: *ref_1
                        phone:
                          type: object
                          properties: *ref_2
                        email:
                          type: string
                          maxLength: 255
                          format: email
                          example: jordan.lee@classbooker.dev
                        website:
                          type: string
                          format: uri
                          maxLength: 100
                        description:
                          type: string
                          minLength: 10
                          maxLength: 100
                          example: Local fitness gym paying out instructors
                        taxID:
                          type: object
                          required: &ref_611
                            - ein
                          properties: &ref_612
                            ein:
                              type: object
                              properties:
                                number:
                                  type: string
                                  example: 12-3456789
                              required:
                                - number
                          description: An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN.
                        industryCodes:
                          type: object
                          properties: *ref_11
                        primaryRegulator:
                          type: string
                          enum: *ref_12
                          description: If the business is a financial institution, this field describes its primary regulator.
                metadata:
                  type: object
                  additionalProperties: *ref_13
                  description: Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
                  example: *ref_14
                termsOfService:
                  oneOf:
                    - type: object
                      required: &ref_245
                        - token
                      properties: &ref_246
                        token:
                          type: string
                          example: kgT1uxoMAk7QKuyJcmQE8nqW_HjpyuXBabiXPi6T83fUQoxsyWYPcYzuHQTqrt7YRp4gCwyDQvb6U5REM9Pgl2EloCe35t-eiMAbUWGo3Kerxme6aqNcKrP_6-v0MTXViOEJ96IBxPFTvMV7EROI2dq3u4e-x4BbGSCedAX-ViAQND6hcreCDXwrO6sHuzh5Xi2IzSqZHxaovnWEboaxuZKRJkA3dsFID6fzitMpm2qrOh4
                      description: An encrypted value used to record acceptance of Moov's Terms of Service.
                    - type: object
                      required: &ref_521
                        - acceptedDate
                        - acceptedIP
                        - acceptedUserAgent
                        - acceptedDomain
                      properties: &ref_522
                        acceptedDate:
                          type: string
                          format: date-time
                          description: The date and time the terms of service were accepted.
                        acceptedIP:
                          type: string
                          format: ipv4
                          description: The IP address from which the terms of service were accepted.
                          example: 172.217.2.46
                        acceptedUserAgent:
                          type: string
                          maxLength: 255
                          description: The user-agent of the user making the request.
                          example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36
                        acceptedDomain:
                          type: string
                          format: uri
                      description: Describes the acceptance of the Terms of Service. All data is required, and must be from the user.
                foreignID:
                  type: string
                  maxLength: 64
                  description: Optional alias from a foreign/external system which can be used to reference this resource.
                customerSupport:
                  type: object
                  properties: *ref_15
                  description: |-
                    User-provided information that can be displayed on credit card transactions for customers to use when
                    contacting a customer support team. This data is only allowed on a business account.
                settings:
                  type: object
                  properties: *ref_16
                  description: User provided settings to manage an account.
                capabilities:
                  type: array
                  items:
                    type: string
                    enum: &ref_19
                      - transfers
                      - send-funds
                      - collect-funds
                      - wallet
                      - card-issuing
                      - production-app
                    description: |-
                      Moov account capabilities.

                      The `production-app` capability might appear in your list. This is a read-only capability that Moov requests and uses for account verification purposes. The capability remains active with your account and requires no additional action.
                mode:
                  type: string
                  enum: *ref_17
                  description: The operating mode for an account.
                  example: production
              example: &ref_232
                accountType: business
                profile:
                  business:
                    legalBusinessName: Whole Body Fitness LLC
      x-speakeasy-name-override: create
    get:
      operationId: listAccounts
      description: |-
        List or search accounts to which the caller is connected.

        All supported query parameters are optional. If none are provided the response will include all connected accounts.
        Pagination is supported via the `skip` and `count` query parameters. Searching by name and email will overlap and 
        return results based on relevance.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need 
        to specify the `/accounts.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: name
          in: query
          required: false
          description: |-
            Filter connected accounts by name.

            If provided, this query will attempt to find matches against the following Account and Profile fields:
            <ul>
              <li>Account `displayName`</li>
              <li>Individual Profile `firstName`, `middleName`, and `lastName`</li>
              <li>Business Profile `legalBusinessName`</li>
            </ul>
          schema: &ref_253
            type: string
          explode: false
        - name: email
          in: query
          required: false
          description: |2-
              Filter connected accounts by email address.

              Provide the full email address to filter by email.
          schema: &ref_250
            type: string
          explode: false
        - name: type
          in: query
          required: false
          description: |2-
              Filter connected accounts by AccountType.

              If the `type` parameter is used in combination with `name`, only the corresponding type's name fields will
              be searched. For example, if `type=business` and `name=moov`, the search will attempt to find matches against
              the display name and Business Profile name fields (`legalBusinessName`, and `doingBusinessAs`).
          schema: &ref_254
            type: string
            enum: *ref_9
            description: The type of entity represented by this account.
            example: business
          explode: false
        - name: foreignID
          in: query
          required: false
          description: '  Serves as an optional alias from a foreign/external system which can be used to reference this resource.'
          schema: &ref_251
            type: string
          explode: false
        - name: includeDisconnected
          in: query
          required: false
          description: |-
            Filter disconnected accounts.

            If true, the response will include disconnected accounts.
          schema: &ref_252
            type: boolean
          explode: false
        - name: capability
          in: query
          required: false
          description: '  Filter connected accounts by the capability.'
          schema: &ref_248
            type: string
            enum: *ref_19
            description: |-
              Moov account capabilities.

              The `production-app` capability might appear in your list. This is a read-only capability that Moov requests and uses for account verification purposes. The capability remains active with your account and requires no additional action.
          explode: false
        - name: capabilityStatus
          in: query
          required: false
          description: '  Filter connected accounts by the capability.'
          schema: &ref_249
            type: string
            enum: &ref_53
              - enabled
              - disabled
              - pending
              - in-review
            description: The status of the capability requested for an account.
          explode: false
        - name: skip
          in: query
          required: false
          schema:
            type: integer
            format: int64
            description: The number of entries to skip when paginating a large result set.
            example: 60
          explode: false
        - name: count
          in: query
          required: false
          schema:
            type: integer
            format: int64
            description: Limits the maximum number of results returned, or determines the page size when used with `skip` for pagination.
            example: 20
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_20
                  properties: *ref_21
                  example: *ref_22
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Accounts
      x-speakeasy-name-override: list
  /accounts/{accountID}:
    get:
      operationId: getAccount
      description: |-
        Retrieves details for the account with the specified ID.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need 
        to specify the `/accounts/{accountID}/profile.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_20
                properties: *ref_21
                example: *ref_22
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Accounts
      x-speakeasy-name-override: get
    patch:
      operationId: updateAccount
      description: |-
        When **can** profile data be updated:
          + For unverified accounts, all profile data can be edited.
          + During the verification process, missing or incomplete profile data can be edited.
          + Verified accounts can only add missing profile data.

          When **can't** profile data be updated:
          + Verified accounts cannot change any existing profile data.

        If you need to update information in a locked state, please contact Moov support.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need 
        to specify the `/accounts/{accountID}/profile.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_20
                properties: *ref_21
                example: *ref_22
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties: &ref_545
                      profile:
                        type: object
                        properties: *ref_23
                      metadata:
                        type: string
                      termsOfService:
                        type: object
                        properties: *ref_24
                      foreignID:
                        type: string
                      customerSupport:
                        type: object
                        properties: *ref_25
                      settings:
                        type: object
                        properties: *ref_26
                required:
                  - error
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Accounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_544
                profile:
                  type: object
                  properties: &ref_548
                    individual:
                      type: object
                      properties: &ref_547
                        name:
                          type: object
                          properties: &ref_141
                            firstName:
                              type: string
                              maxLength: 64
                              description: The individual's first given name.
                              example: Jordan
                            middleName:
                              type: string
                              maxLength: 64
                              description: The individual's second given name, if any.
                              example: Reese
                            lastName:
                              type: string
                              maxLength: 64
                              description: The individual's family name.
                              example: Lee
                            suffix:
                              type: string
                              maxLength: 20
                              description: Suffix of a given name.
                              example: Jr
                        phone:
                          type: object
                          properties: *ref_2
                        email:
                          type: string
                          maxLength: 255
                          format: email
                          example: jordan.lee@classbooker.dev
                        address:
                          type: object
                          properties: &ref_28
                            addressLine1:
                              type: string
                              maxLength: 60
                              example: 123 Main Street
                            addressLine2:
                              type: string
                              maxLength: 32
                              example: Apt 302
                            city:
                              type: string
                              maxLength: 32
                              example: Boulder
                            stateOrProvince:
                              type: string
                              maxLength: 2
                              example: CO
                            postalCode:
                              type: string
                              maxLength: 5
                              example: '80301'
                            country:
                              type: string
                              maxLength: 2
                              example: US
                        birthDate:
                          type: object
                          properties: &ref_142
                            day:
                              type: integer
                              example: 9
                            month:
                              type: integer
                              example: 11
                            year:
                              type: integer
                              example: 1989
                        governmentID:
                          type: object
                          properties: *ref_27
                      description: Describes the fields available when patching an individual.
                    business:
                      type: object
                      properties: &ref_546
                        legalBusinessName:
                          type: string
                          maxLength: 64
                        doingBusinessAs:
                          type: string
                          maxLength: 64
                        businessType:
                          type: string
                          enum: *ref_10
                          description: The type of entity represented by this business.
                          example: llc
                        address:
                          type: object
                          properties: *ref_28
                        phone:
                          type: object
                          properties: *ref_2
                        email:
                          type: string
                          maxLength: 255
                          format: email
                          example: jordan.lee@classbooker.dev
                        website:
                          type: string
                          maxLength: 100
                        description:
                          type: string
                          minLength: 10
                          maxLength: 100
                        taxID:
                          type: object
                          properties: &ref_613
                            ein:
                              type: object
                              properties:
                                number:
                                  type: string
                                  example: 12-3456789
                          description: An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN.
                        ownersProvided:
                          type: boolean
                        industryCodes:
                          type: object
                          properties: *ref_11
                        primaryRegulator:
                          type: string
                          enum: *ref_12
                          description: If the business is a financial institution, this field describes its primary regulator.
                  description: |-
                    Describes the fields available when patching a profile.
                    Each object can be patched independent of patching the other fields.
                metadata:
                  type: object
                  allOf:
                    - type: object
                      additionalProperties: *ref_13
                      description: Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
                      example: *ref_14
                  nullable: true
                termsOfService:
                  oneOf:
                    - type: object
                      properties: &ref_618
                        token:
                          type: string
                          example: kgT1uxoMAk7QKuyJcmQE8nqW_HjpyuXBabiXPi6T83fUQoxsyWYPcYzuHQTqrt7YRp4gCwyDQvb6U5REM9Pgl2EloCe35t-eiMAbUWGo3Kerxme6aqNcKrP_6-v0MTXViOEJ96IBxPFTvMV7EROI2dq3u4e-x4BbGSCedAX-ViAQND6hcreCDXwrO6sHuzh5Xi2IzSqZHxaovnWEboaxuZKRJkA3dsFID6fzitMpm2qrOh4
                      description: An encrypted value used to record acceptance of Moov's Terms of Service.
                    - type: object
                      properties: &ref_523
                        acceptedDate:
                          type: string
                          format: date-time
                          description: The date and time the terms of service were accepted.
                        acceptedIP:
                          type: string
                          format: ipv4
                          description: The IP address from which the terms of service were accepted.
                          example: 172.217.2.46
                        acceptedUserAgent:
                          type: string
                          maxLength: 255
                          description: The user-agent of the user making the request.
                          example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36
                        acceptedDomain:
                          type: string
                          format: uri
                      description: Describes the acceptance of the Terms of Service. All data is required, and must be from the user.
                foreignID:
                  type: string
                customerSupport:
                  type: object
                  allOf:
                    - type: object
                      properties: &ref_434
                        phone:
                          type: object
                          properties: *ref_2
                        email:
                          type: string
                          maxLength: 255
                          format: email
                          example: jordan.lee@classbooker.dev
                        address:
                          type: object
                          properties: *ref_28
                        website:
                          type: string
                          format: uri
                      description: |-
                        User-provided information that can be displayed on credit card transactions for customers to use when
                        contacting a customer support team. This data is only allowed on a business account.
                  nullable: true
                settings:
                  type: object
                  properties: *ref_26
              description: Describes the fields available when patching a Moov account.
      x-speakeasy-name-override: update
    delete:
      operationId: disconnectAccount
      description: |-
        This will sever the connection between you and the account specified and it will no longer be listed as 
        active in the list of accounts. This also means you'll only have read-only access to the account going 
        forward for reporting purposes.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.disconnect` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Accounts
      x-speakeasy-name-override: disconnect
  /accounts/{accountID}/adjustments:
    get:
      operationId: listAdjustments
      description: |-
        List adjustments associated with a Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: walletID
          in: query
          required: false
          description: A wallet ID to filter adjustments by.
          schema:
            type: string
            format: uuid
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_29
                    - adjustmentID
                    - walletID
                    - amount
                    - createdOn
                  properties: &ref_30
                    adjustmentID:
                      type: string
                      format: uuid
                    walletID:
                      type: string
                      format: uuid
                    amount:
                      type: object
                      required: &ref_84
                        - currency
                        - valueDecimal
                      properties: &ref_85
                        currency:
                          type: string
                          pattern: ^[A-Za-z]{3}$
                          description: A 3-letter ISO 4217 currency code.
                          example: USD
                        valueDecimal:
                          type: string
                          pattern: ^\d+\.\d{1,9}$
                          description: |-
                            A decimal-formatted numerical string that represents up to 9 decimal place precision. 

                            For example, $12.987654321 is '12.987654321'.
                          example: '12.987654321'
                    createdOn:
                      type: string
                      format: date-time
                  description: An adjustment to a wallet.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Adjustments
      x-speakeasy-name-override: list
  /accounts/{accountID}/adjustments/{adjustmentID}:
    get:
      operationId: getAdjustment
      description: |-
        Retrieve a specific adjustment associated with a Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: adjustmentID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_29
                properties: *ref_30
                description: An adjustment to a wallet.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Adjustments
      x-speakeasy-name-override: get
  /accounts/{accountID}/apple-pay/domains:
    post:
      operationId: registerApplePayMerchantDomains
      description: |-
        Add domains to be registered with Apple Pay.

        Any domains that will be used to accept payments must first be [verified](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) 
        with Apple.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/apple-pay.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: ID of the Moov account representing the merchant.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_31
                  - accountID
                  - displayName
                  - domains
                  - createdOn
                  - updatedOn
                properties: &ref_32
                  accountID:
                    type: string
                  displayName:
                    type: string
                    maxLength: 64
                    description: A UTF-8 string to display in the Buy button.
                  domains:
                    type: array
                    items:
                      type: string
                    description: A unique list of fully-qualified, top-level or sub-domain names where you will accept Apple Pay.
                    example:
                      - checkout.classbooker.dev
                  createdOn:
                    type: string
                    format: date-time
                  updatedOn:
                    type: string
                    format: date-time
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: Apple Pay domains are already registered for this account.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '417':
          description: The requested domains were not verified.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Apple pay
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_588
                displayName:
                  type: string
                  maxLength: 64
                  description: A UTF-8 string to display in the Buy button.
                domains:
                  type: array
                  items:
                    type: string
                  description: A unique list of fully-qualified, top-level or sub-domain names where you will accept Apple Pay.
                  example:
                    - checkout.classbooker.dev
      x-speakeasy-name-override: registerMerchantDomains
    patch:
      operationId: updateApplePayMerchantDomains
      description: |-
        Add or remove domains to be registered with Apple Pay. 

        Any domains that will be used to accept payments must first be [verified](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) 
        with Apple.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/apple-pay.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: ID of the Moov account representing the merchant.
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: Apple Pay domains are already registered for this account.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '417':
          description: The requested domains were not verified.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Apple pay
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_630
                addDomains:
                  type: array
                  items:
                    type: string
                  description: A unique list of fully-qualified, top-level or sub-domain names to add.
                  example:
                    - pay.classbooker.dev
                removeDomains:
                  type: array
                  items:
                    type: string
                  description: A unique list of fully-qualified, top-level or sub-domain names to remove.
                  example:
                    - checkout.classbooker.dev
      x-speakeasy-name-override: updateMerchantDomains
    get:
      operationId: getApplePayMerchantDomains
      description: |-
        Get domains registered with Apple Pay. 

        Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/apple-pay.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: ID of the Moov account representing the merchant.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_31
                properties: *ref_32
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Apple pay
      x-speakeasy-name-override: getMerchantDomains
  /accounts/{accountID}/apple-pay/sessions:
    post:
      operationId: createApplePaySession
      description: |-
        Create a session with Apple Pay to facilitate a payment. 

        Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more. 
        A successful response from this endpoint should be passed through to Apple Pay unchanged. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/apple-pay.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: ID of the Moov account representing the merchant.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: string
                description: |-
                  Stringified session object returned from Apple Pay.

                  The string value should be deserialized as a JSON object before passing to Apple.
                example: '{"epochTimestamp":1733783167685,"expiresAt":1733786767685...}'
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Apple pay
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_388
                - domain
                - displayName
              properties: &ref_389
                domain:
                  type: string
                  description: A fully qualified top-level or sub-domain name where you will accept Apple Pay. Should not include "https".
                  example: checkout.classbooker.dev
                displayName:
                  type: string
                  maxLength: 64
                  description: A UTF-8 string to display in the Buy button.
      x-speakeasy-name-override: createSession
  /accounts/{accountID}/apple-pay/tokens:
    post:
      operationId: linkApplePayToken
      description: |-
        Connect an Apple Pay token to the specified account. 

        Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more. 
        The `token` data is defined by Apple Pay and should be passed through from Apple Pay's response unmodified.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/cards.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: ID of the Moov account representing the cardholder.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_516
                  - paymentMethodID
                  - paymentMethodType
                  - applePay
                properties: &ref_517
                  paymentMethodID:
                    type: string
                    format: uuid
                    description: The new payment method's ID.
                  paymentMethodType:
                    type: string
                    enum: &ref_33
                      - moov-wallet
                      - ach-debit-fund
                      - ach-debit-collect
                      - ach-credit-standard
                      - ach-credit-same-day
                      - rtp-credit
                      - card-payment
                      - push-to-card
                      - pull-from-card
                      - apple-pay
                      - card-present-payment
                    description: The payment method type that represents a payment rail and directionality
                  applePay:
                    type: object
                    required: &ref_131
                      - brand
                      - cardType
                      - cardDisplayName
                      - fingerprint
                      - expiration
                      - dynamicLastFour
                    properties: &ref_132
                      brand:
                        type: string
                        enum: &ref_57
                          - American Express
                          - Discover
                          - Mastercard
                          - Visa
                          - Unknown
                        description: The card brand.
                        example: Visa
                      cardType:
                        type: string
                        enum: &ref_58
                          - debit
                          - credit
                          - prepaid
                          - unknown
                        description: The type of the card.
                        example: credit
                      cardDisplayName:
                        type: string
                        description: |2-
                            User-friendly name of the tokenized card returned by Apple.
                            
                            It usually contains the brand and the last four digits of the underlying card.
                            There is no standard format.
                        example: Visa 1256
                      fingerprint:
                        type: string
                        maxLength: 100
                        description: |-
                          Uniquely identifies a linked payment card or token.
                          For Apple Pay, the fingerprint is based on the tokenized card number and may vary based on the user's device.
                          This field can be used to identify specific payment methods across multiple accounts on your platform.
                        example: 9948962d92a1ce40c9f918cd9ece3a22bde62fb325a2f1fe2e833969de672ba3
                      expiration:
                        type: object
                        required: &ref_59
                          - month
                          - year
                        properties: &ref_60
                          month:
                            type: string
                            minLength: 2
                            maxLength: 2
                          year:
                            type: string
                            minLength: 2
                            maxLength: 2
                        description: The expiration date of the card or token.
                        example: &ref_61
                          month: '01'
                          year: '21'
                      dynamicLastFour:
                        type: string
                        description: The last four digits of the Apple Pay token, which may differ from the tokenized card's last four digits.
                      issuerCountry:
                        type: string
                        description: Country where the underlying card was issued.
                        example: US
                    description: Describes an Apple Pay token on a Moov account.
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_503
                  error:
                    type: string
                    description: Describes an error that wasn't attributable to a single request field.
                  paymentData:
                    type: string
                    description: Describes an error within the `token.paymentData` request field.
                  paymentMethod:
                    type: string
                    description: Describes an error within the `token.paymentMethod` request field.
                  transactionIdentifier:
                    type: string
                    description: Describes an error within the `token.transactionIdentifier` request field.
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Apple pay
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_501
                - token
              properties: &ref_502
                token:
                  type: object
                  required: &ref_504
                    - paymentData
                    - paymentMethod
                    - transactionIdentifier
                  properties: &ref_505
                    paymentData:
                      type: object
                      required: &ref_506
                        - version
                        - data
                        - signature
                        - header
                      properties: &ref_507
                        version:
                          type: string
                          description: Specifies the encryption used for the payment token ("EC_v1" or "RSA_v1").
                          example: EC_v1
                        data:
                          type: string
                          description: The encrypted, base64-encoded payment data.
                          example: 3+f4oOTwPa6f1UZ6tG...CE=
                        signature:
                          type: string
                          description: A base64 encoded signature of the payment and header data.
                          example: MIAGCSqGSIb3DQ.AAAA==
                        header:
                          type: object
                          required: &ref_338
                            - publicKeyHash
                            - transactionId
                          properties: &ref_339
                            ephemeralPublicKey:
                              type: string
                              description: Base64-encoded ephemeral public key, used for ECC-encrypted payment data.
                              example: MFkwEK...Md==
                            publicKeyHash:
                              type: string
                              description: A base64-encoded, SHA-256 hash of the merchant's public key.
                              example: l0CnXdMv...D1I=
                            transactionId:
                              type: string
                              description: A device-generated identifier for the transaction.
                              example: 32b...4f3
                          description: |-
                            Information needed to decrypt Apple Pay payment data.

                            Refer to [Apple's documentation](https://developer.apple.com/documentation/passkit/payment-token-format-reference#Header-keys-and-values) 
                            for more information.
                      description: |2-
                          Contains the encrypted payment data.

                          Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken/1916115-paymentdata) 
                          for more information.
                    paymentMethod:
                      type: object
                      required: &ref_508
                        - displayName
                        - network
                        - type
                      properties: &ref_509
                        displayName:
                          type: string
                          description: A display-friendly discription of the card.
                          example: Visa 1234
                        network:
                          type: string
                          description: The card's payment network.
                          example: Visa
                        type:
                          type: string
                          description: The type of card.
                          example: debit
                      description: |2-
                          Provides information about the underlying card.

                          Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken/1916113-paymentmethod) 
                          for more information.
                    transactionIdentifier:
                      type: string
                      description: A unique identifier provided by Apple Pay for this payment.
                      example: 32b...4f3
                  description: |2-
                      Contains the user's payment information as returned from Apple Pay.

                      Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken) 
                      for more information.
                billingContact:
                  type: object
                  properties: &ref_337
                    addressLines:
                      type: array
                      items:
                        type: string
                      description: Address lines 1 and 2 for the contact.
                      example:
                        - 123 Sesame Street
                    locality:
                      type: string
                      description: The contact's city.
                      example: Phoenix
                    postalCode:
                      type: string
                      description: The contact's postal code.
                      example: '30345'
                    administrativeArea:
                      type: string
                      description: The contact's two-letter state code.
                      example: AZ
                    countryCode:
                      type: string
                      description: The contact's two-letter ISO 3166
                      example: US
                  description: |2-
                      Billing contact information as returned from Apple Pay.
                      
                      Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentcontact) 
                      for more information.
              description: |2-
                  The JSON structure returned from Apple Pay when authorizing a payment session.

                  Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypayment) 
                  for more information.
      x-speakeasy-name-override: linkToken
  /accounts/{accountID}/bank-accounts:
    post:
      operationId: linkBankAccount
      description: |-
        Link a bank account to an existing Moov account. Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more.

        It is strongly recommended that callers include the `X-Wait-For` header, set to `payment-method`, if the newly linked
        bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
        Methods](https://docs.moov.io/api/sources/payment-methods/list/)
        endpoint to wait for the new payment methods to be available for use.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/bank-accounts.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: x-wait-for
          in: header
          required: false
          description: |-
            Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.

            When this header is set to `payment-method`, the response will include any payment methods that were created for the newly
            linked card in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.
          schema:
            type: string
            enum: &ref_41
              - payment-method
              - rail-response
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_36
                  - bankAccountID
                  - fingerprint
                  - status
                  - holderName
                  - holderType
                  - bankName
                  - bankAccountType
                  - routingNumber
                  - lastFourAccountNumber
                  - updatedOn
                properties: &ref_37
                  bankAccountID:
                    type: string
                    format: uuid
                  fingerprint:
                    type: string
                    maxLength: 100
                    description: |-
                      Once the bank account is linked, we don't reveal the full bank account number. 

                      The fingerprint acts as a way to identify whether two linked bank accounts are the same.
                  status:
                    type: string
                    enum: &ref_119
                      - new
                      - verified
                      - verificationFailed
                      - pending
                      - errored
                  holderName:
                    type: string
                  holderType:
                    type: string
                    enum: &ref_34
                      - individual
                      - business
                    description: The type of holder on a funding source.
                  bankName:
                    type: string
                  bankAccountType:
                    type: string
                    enum: &ref_35
                      - checking
                      - savings
                      - general-ledger
                      - loan
                    description: The bank account type.
                  routingNumber:
                    type: string
                  lastFourAccountNumber:
                    type: string
                  updatedOn:
                    type: string
                    format: date-time
                  statusReason:
                    type: string
                    enum: &ref_353
                      - bank-account-created
                      - verification-initiated
                      - micro-deposit-attempts-exceeded
                      - micro-deposit-expired
                      - max-verification-failures
                      - verification-attempts-exceeded
                      - verification-expired
                      - verification-successful
                      - ach-debit-return
                      - ach-credit-return
                      - rtp-credit-failure
                      - micro-deposit-return
                      - admin-action
                      - other
                    description: The reason the bank account status changed to the current value.
                  exceptionDetails:
                    type: object
                    required: &ref_39
                      - achReturnCode
                      - rtpRejectionCode
                      - description
                    properties: &ref_40
                      achReturnCode:
                        type: string
                        enum: &ref_312
                          - R02
                          - R03
                          - R04
                          - R05
                          - R07
                          - R08
                          - R10
                          - R11
                          - R12
                          - R13
                          - R14
                          - R15
                          - R16
                          - R17
                          - R20
                          - R23
                          - R29
                          - R34
                          - R38
                          - R39
                        description: |-
                          The return code of an ACH transaction that caused the bank account status to change.

                          - R02: Account Closed
                          - R03: No Account/Unable to Locate Account
                          - R04: Invalid Account Number
                          - R05: Improper Debit to Consumer Account
                          - R07: Authorization Revoked by Customer
                          - R08: Payment Stopped
                          - R10: Customer Advises Originator is Not Known or Authorized to Receiver
                          - R11: Customer Advises Entry Not in Accordance with the Terms of the Authorization
                          - R12: Branch Sold to Another DFI
                          - R13: RDFI not qualified to participate
                          - R14: Representative payee deceased or unable to continue in that capacity
                          - R15: Beneficiary or bank account holder
                          - R16: Bank account frozen
                          - R17: Entry with Invalid Account Number Initiated Under Questionable Circumstances
                          - R20: Non-payment bank account
                          - R23: Credit entry refused by receiver
                          - R29: Corporate customer advises not authorized
                          - R34: Limited participation RDFI
                          - R38: Stop Payment on Source Document (Adjustment Entry)
                          - R39: Improper Source Document
                      rtpRejectionCode:
                        type: string
                        enum: &ref_576
                          - AC03
                          - AC04
                          - AC06
                          - AC14
                          - AG01
                          - AG03
                          - MD07
                        description: |-
                          The rejection code of an RTP transaction that caused the bank account status to change.

                          - AC03: Account Invalid
                          - AC04: Account Closed
                          - AC06: Account Blocked
                          - AC14: Creditor Account Type Invalid
                          - AG01: Transactions Forbidden On Account
                          - AG03: Transaction Type Not Supported
                          - MD07: Customer Deceased
                      description:
                        type: string
                        description: Details related to an `errored` or `verificationFailed` bank account status.
                    description: Reason for, and details related to, an `errored` or `verificationFailed` bank account status.
                  paymentMethods:
                    type: array
                    items:
                      type: object
                      required: &ref_63
                        - paymentMethodID
                        - paymentMethodType
                      properties: &ref_64
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum: *ref_33
                          description: The payment method type that represents a payment rail and directionality
                    description: |-
                      Includes any payment methods generated for a newly created bank account, removing the need to
                      call the List Payment Methods endpoint following a successful Create BankAccount request.

                      **NOTE: This field is only populated for Create BankAccount requests made with the `X-Wait-For` header.**
                description: Describes a bank account linked to a Moov account.
                example: &ref_38
                  bankAccountID: 833fa3ef-14d3-4c97-ba45-6af66f739832
                  fingerprint: dd4cbfe5fbaf47b392770b5b595bec604fd99394749b7d017153e2b9cfbea40e
                  status: new
                  holderName: John Doe
                  holderType: individual
                  bankName: Gringotts Bank
                  bankAccountType: checking
                  routingNumber: '123456780'
                  lastFourAccountNumber: '6789'
                  updatedOn: '2024-11-26T22:37:06Z'
                  statusReason: bank-account-created
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_354
                  account:
                    type: string
                  plaid:
                    type: string
                  plaidLink:
                    type: string
                  mx:
                    type: string
                  error:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Bank accounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf: &ref_510
                - type: object
                  required: &ref_351
                    - account
                  properties: &ref_352
                    account:
                      type: object
                      required: &ref_349
                        - holderName
                        - holderType
                        - accountNumber
                        - bankAccountType
                        - routingNumber
                      properties: &ref_350
                        holderName:
                          type: string
                        holderType:
                          type: string
                          enum: *ref_34
                          description: The type of holder on a funding source.
                        accountNumber:
                          type: string
                        bankAccountType:
                          type: string
                          enum: *ref_35
                          description: The bank account type.
                        routingNumber:
                          type: string
                  description: Describes the bank account to link to the Moov account.
                  title: Bank account
                - type: object
                  required: &ref_566
                    - plaid
                  properties: &ref_567
                    plaid:
                      type: object
                      required: &ref_560
                        - token
                      properties: &ref_561
                        token:
                          type: string
                      description: |-
                        The details of a Plaid processor integration for a linked funding source. 

                        `sandbox` - When linking a bank account to a `sandbox` account using a Plaid processor token a default bank account
                        response will be used. The following default data will be used to generate the bank account in this flow:

                        ```
                          RoutingNumber: "011401533",
                          AccountNumber: "1111222233330000",
                          AccountType:   "checking",
                          Mask:          "0000"
                        ```
                  description: Describes the account to link to the Moov account using a Plaid processor token.
                  title: Plaid
                - type: object
                  required: &ref_564
                    - plaidLink
                  properties: &ref_565
                    plaidLink:
                      type: object
                      required: &ref_562
                        - publicToken
                      properties: &ref_563
                        publicToken:
                          type: string
                      description: |-
                        This is used by Moov.js with a Plaid reseller relationship. The details of a Plaid link integration for a linked funding source.

                        You can simulate linking bank accounts with Plaid in test mode. See our [test mode](https://docs.moov.io/guides/get-started/test-mode/#plaid)
                        guide for more information.

                        Plaid's `sandbox` environment - (requires Plaid reseller setup with Moov). When linking a bank account to a `sandbox` account using a Plaid 
                        public token it will utilize Plaid's sandbox environment. The Plaid public token provided must be generated from Plaid's sandbox environment. 
                        Please see <a href="https://plaid.com/docs/api/sandbox/#sandboxpublic_tokencreate" target="_blank">Plaid's sandbox documentation</a> for more 
                        details.
                  description: |-
                    This is used by Moov.js with a Plaid reseller relationship. 

                    Describes the account to link to the Moov account using a Plaid using a Plaid public token.
                  title: Plaid Link
                - type: object
                  required: &ref_530
                    - mx
                  properties: &ref_531
                    mx:
                      type: object
                      required: &ref_519
                        - authorizationCode
                      properties: &ref_520
                        authorizationCode:
                          type: string
                      description: |-
                        The authorization code of a MX account which allows a processor to retrieve a linked payment account. 

                        `sandbox` - When linking a bank account to a `sandbox` account using a MX authorization code it will utilize MX's sandbox environment. 
                        The MX authorization code provided must be generated from MX's sandbox environment.
                  description: |-
                    Describes the account to link to the Moov account using a MX processor token. 

                    `sandbox` - When linking a bank account to a `sandbox` account using an MX authorization token a default bank account routing number will
                    be used. The following default data will be used to generate the bank account in this flow:

                    ```
                      RoutingNumber: "123456780",
                      BankName: "Gringotts Bank"
                    ```
                  title: MX
      x-speakeasy-name-override: link
    get:
      operationId: listBankAccounts
      description: |-
        List all the bank accounts associated with a particular Moov account. 

        Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/bank-accounts.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_36
                  properties: *ref_37
                  description: Describes a bank account linked to a Moov account.
                  example: *ref_38
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Bank accounts
      x-speakeasy-name-override: list
  /accounts/{accountID}/bank-accounts/{bankAccountID}:
    get:
      operationId: getBankAccount
      description: |-
        Retrieve bank account details (i.e. routing number or account type) associated with a specific Moov account. 

        Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/bank-accounts.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: bankAccountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_36
                properties: *ref_37
                description: Describes a bank account linked to a Moov account.
                example: *ref_38
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Bank accounts
      x-speakeasy-name-override: get
    delete:
      operationId: disableBankAccount
      description: |-
        Discontinue using a specified bank account linked to a Moov account. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/bank-accounts.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: bankAccountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Bank accounts
      x-speakeasy-name-override: disable
  /accounts/{accountID}/bank-accounts/{bankAccountID}/micro-deposits:
    post:
      operationId: initiateMicroDeposits
      description: |-
        Micro-deposits help confirm bank account ownership, helping reduce fraud and the risk of unauthorized activity. 
        Use this method to initiate the micro-deposit verification, sending two small credit transfers to the bank account 
        you want to confirm.

        If you request micro-deposits before 4:15PM ET, they will appear that same day. If you request micro-deposits any 
        time after 4:15PM ET, they will appear the next banking day. When the two credits are initiated, Moov simultaneously
        initiates a debit to recoup the micro-deposits. 

        Micro-deposits initiated for a `sandbox` bank account will always be `$0.00` / `$0.00` and instantly verifiable once initiated.

        You can simulate micro-deposit verification in test mode. See our [test mode](https://docs.moov.io/guides/get-started/test-mode/#micro-deposits)
        guide for more information.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/bank-accounts.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: bankAccountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Bank accounts
    put:
      operationId: completeMicroDeposits
      description: |-
        Complete the micro-deposit validation process by passing the amounts of the two transfers within three tries.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/bank-accounts.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: bankAccountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_383
                  - status
                properties: &ref_384
                  status:
                    type: string
                    enum: &ref_524
                      - verified
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_525
                  amounts:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Bank accounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_381
                - amounts
              properties: &ref_382
                amounts:
                  type: array
                  items:
                    type: integer
                  description: Two positive integers, in cents, equal to the values of the micro-deposits sent to the bank account.
                  example:
                    - 18
                    - 21
              description: Request to complete the micro-deposit verification workflow.
  /accounts/{accountID}/bank-accounts/{bankAccountID}/verify:
    get:
      operationId: getBankAccountVerification
      description: |-
        Retrieve the current status and details of an instant verification, including whether the verification method was instant or same-day 
        ACH. This helps track the verification process in real-time and provides details in case of exceptions.

        The status will indicate the following:

        - `new`: Verification initiated, credit pending to the payment network
        - `sent-credit`: Credit sent, available for verification
        - `failed`: Verification failed, description provided, user needs to add a new bank account
        - `expired`: Verification expired after 14 days, initiate another verification
        - `max-attempts-exceeded`: Five incorrect code attempts exhausted, initiate another verification

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/bank-accounts.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: bankAccountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_44
                  - verificationMethod
                  - status
                properties: &ref_45
                  verificationMethod:
                    type: string
                    enum: &ref_42
                      - instant
                      - ach
                  status:
                    type: string
                    enum: &ref_43
                      - new
                      - sent-credit
                      - max-attempts-exceeded
                      - failed
                      - expired
                      - successful
                  exceptionDetails:
                    type: object
                    required: *ref_39
                    properties: *ref_40
                    description: Reason for, and details related to, an `errored` or `verificationFailed` bank account status.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Bank accounts
      x-speakeasy-name-override: getVerification
    post:
      operationId: initiateBankAccountVerification
      description: |-
        Instant micro-deposit verification offers a quick and efficient way to verify bank account ownership. 

        Send a $0.01 credit with a unique verification code via RTP or same-day ACH, depending on the receiving bank's capabilities. This
        feature provides a faster alternative to traditional methods, allowing verification in a single session.

        It is recommended to use the `X-Wait-For: rail-response` header to synchronously receive the outcome of the instant credit in the
          response payload.

        Possible verification methods:
          - `instant`: Real-time verification credit sent via RTP
          - `ach`: Verification credit sent via same-day ACH

        Possible statuses:
          - `new`: Verification initiated, credit pending
          - `sent-credit`: Credit sent, available for verification in the external bank account
          - `failed`: Verification failed due to credit rejection/return, details in `exceptionDetails`

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/bank-accounts.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: x-wait-for
          in: header
          required: false
          description: |-
            Optional header to wait for certain events, such as the rail response, to occur before returning a response.

            When this header is set to `rail-response`, the endpoint will wait for a sent-credit or failed status from the payment rail.
          schema:
            type: string
            enum: *ref_41
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: bankAccountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_355
                  - verificationMethod
                  - status
                properties: &ref_356
                  verificationMethod:
                    type: string
                    enum: *ref_42
                  status:
                    type: string
                    enum: *ref_43
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Bank accounts
      x-speakeasy-name-override: initiateVerification
    put:
      operationId: completeBankAccountVerification
      description: |-
        Finalize the instant micro-deposit verification by submitting the verification code displayed in the user's bank account. 

        Upon successful verification, the bank account status will be updated to `verified` and eligible for ACH debit transactions.

        The following formats are accepted:
        - `MV0000`
        - `mv0000`
        - `0000`

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/bank-accounts.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: bankAccountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_44
                properties: *ref_45
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Bank accounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_379
                - code
              properties: &ref_380
                code:
                  type: string
                  description: Code provided by user from their bank account transactions
                  example: MV1234
      x-speakeasy-name-override: completeVerification
  /accounts/{accountID}/branding:
    post:
      operationId: createBrand
      description: |-
        Create brand properties for the specified account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/branding.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_49
                  - colors
                properties: &ref_50
                  colors:
                    type: object
                    required: &ref_358
                      - dark
                      - light
                    properties: &ref_359
                      dark:
                        type: object
                        required: &ref_46
                          - accent
                        properties: &ref_47
                          accent:
                            type: string
                            description: A CSS hex color representing an accent color.
                            example: '#111111'
                      light:
                        type: object
                        required: *ref_46
                        properties: *ref_47
                    description: Brand colors for light and dark modes.
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_51
                  colors:
                    type: object
                    properties: &ref_378
                      light:
                        type: object
                        properties: &ref_48
                          accent:
                            type: string
                      dark:
                        type: object
                        properties: *ref_48
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Branding
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: *ref_49
              properties: *ref_50
      x-speakeasy-name-override: create
    put:
      operationId: upsertBrand
      description: |-
        Create or replace brand properties for the specified account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/branding.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_49
                properties: *ref_50
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: *ref_51
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Branding
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: *ref_49
              properties: *ref_50
      x-speakeasy-name-override: upsert
    get:
      operationId: getBrand
      description: |-
        Get brand properties for the specified account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/branding.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_49
                properties: *ref_50
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Branding
      x-speakeasy-name-override: get
    patch:
      operationId: updateBrand
      description: |-
        Updates the brand properties for the specified account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/branding.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_49
                properties: *ref_50
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: *ref_51
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Branding
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_631
                colors:
                  type: object
                  properties: &ref_639
                    dark:
                      type: object
                      properties: &ref_52
                        accent:
                          type: string
                    light:
                      type: object
                      properties: *ref_52
      x-speakeasy-name-override: update
  /accounts/{accountID}/capabilities:
    get:
      operationId: listCapabilities
      description: |-
        Retrieve all the capabilities an account has requested.

        Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_55
                    - capability
                    - accountID
                    - status
                    - createdOn
                    - updatedOn
                  properties: &ref_56
                    capability:
                      type: string
                      enum: *ref_19
                      description: |-
                        Moov account capabilities.

                        The `production-app` capability might appear in your list. This is a read-only capability that Moov requests and uses for account verification purposes. The capability remains active with your account and requires no additional action.
                    accountID:
                      type: string
                      format: uuid
                    status:
                      type: string
                      enum: *ref_53
                      description: The status of the capability requested for an account.
                    requirements:
                      type: object
                      properties: &ref_364
                        currentlyDue:
                          type: array
                          items:
                            type: string
                            enum: &ref_54
                              - account.tos-acceptance
                              - individual.mobile
                              - individual.email
                              - individual.email-or-mobile
                              - individual.firstname
                              - individual.lastname
                              - individual.address
                              - individual.ssn-last4
                              - individual.ssn
                              - individual.birthdate
                              - business.legalname
                              - business.description-or-website
                              - business.entity-type
                              - business.business-type
                              - business.dba
                              - business.ein
                              - business.address
                              - business.phone
                              - business.admins
                              - business.controllers
                              - business.owners
                              - business.classification
                              - business.industry-code-mcc
                              - business.indicate-owners-provided
                              - business.average-transaction-size
                              - business.max-transaction-size
                              - business.average-monthly-transaction-volume
                              - business.volume-by-customer-type
                              - business.card-volume-distribution
                              - business.fulfillment
                              - business.description
                              - business.underwriting-documents-tier-one
                              - bank-accounts.name
                              - bank-accounts.routing-number
                              - bank-accounts.account-number
                              - document.business.verification
                              - document.individual.tin
                              - document.individual.verification
                              - document.representative.{rep-uuid}.tin
                              - document.representative.{rep-uuid}.verification
                              - representative.{rep-uuid}.mobile
                              - representative.{rep-uuid}.email
                              - representative.{rep-uuid}.email-or-mobile
                              - representative.{rep-uuid}.firstname
                              - representative.{rep-uuid}.lastname
                              - representative.{rep-uuid}.address
                              - representative.{rep-uuid}.ssn-last4
                              - representative.{rep-uuid}.ssn
                              - representative.{rep-uuid}.birthdate
                              - representative.{rep-uuid}.job-title
                              - representative.{rep-uuid}.is-controller
                              - representative.{rep-uuid}.is-owner
                              - representative.{rep-uuid}.ownership
                              - document.{doc-uuid}
                            description: The unique ID of what the requirement is asking to be filled out.
                        errors:
                          type: array
                          items:
                            type: object
                            required: &ref_595
                              - requirement
                            properties: &ref_596
                              requirement:
                                type: string
                                enum: *ref_54
                                description: The unique ID of what the requirement is asking to be filled out.
                              errorCode:
                                type: string
                                enum: &ref_597
                                  - invalid-value
                                  - failed-automatic-verification
                                  - failed-other
                                  - invalid-address
                                  - address-restricted
                                  - tax-id-mismatch
                                  - document-id-mismatch
                                  - document-date-of-birth-mismatch
                                  - document-name-mismatch
                                  - document-address.mismatch
                                  - document-number-mismatch
                                  - document-incomplete
                                  - document-failed-risk
                                  - document-illegible
                                  - document-unsupported
                                  - document-not-uploaded
                                  - document-corrupt
                                  - document-expired
                      description: Represents individual and business data necessary to facilitate the enabling of a capability for an account.
                    disabledReason:
                      type: string
                    createdOn:
                      type: string
                      format: date-time
                    updatedOn:
                      type: string
                      format: date-time
                    disabledOn:
                      type: string
                      format: date-time
              example:
                - capability: transfers
                  accountID: 01234567-89ab-cdef-0123-456789abcdef
                  status: enabled
                  createdOn: '2024-05-06T12:20:38.184Z'
                  updatedOn: '2024-05-06T12:20:38.184Z'
                - capability: collect-funds
                  accountID: 01234567-89ab-cdef-0123-456789abcdef
                  status: in-review
                  requirements:
                    currentlyDue:
                      - business.owners
                  createdOn: '2024-05-06T12:20:38.184Z'
                  updatedOn: '2024-05-06T12:20:38.184Z'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Capabilities
      x-speakeasy-name-override: list
    post:
      operationId: requestCapabilities
      description: |-
        Request capabilities for a specific account. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_55
                  properties: *ref_56
              example:
                - capability: transfers
                  accountID: 01234567-89ab-cdef-0123-456789abcdef
                  status: enabled
                  createdOn: '2024-05-06T12:20:38.184Z'
                  updatedOn: '2024-05-06T12:20:38.184Z'
                - capability: collect-funds
                  accountID: 01234567-89ab-cdef-0123-456789abcdef
                  status: in-review
                  requirements:
                    currentlyDue:
                      - business.owners
                  createdOn: '2024-05-06T12:20:38.184Z'
                  updatedOn: '2024-05-06T12:20:38.184Z'
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_334
                  error:
                    type: object
                    properties: &ref_363
                      capabilities:
                        type: object
                        additionalProperties:
                          type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Capabilities
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_332
                - capabilities
              properties: &ref_333
                capabilities:
                  type: array
                  items:
                    type: string
                    enum: *ref_19
                    description: |-
                      Moov account capabilities.

                      The `production-app` capability might appear in your list. This is a read-only capability that Moov requests and uses for account verification purposes. The capability remains active with your account and requires no additional action.
            example:
              capabilities:
                - collect-funds
      x-speakeasy-name-override: request
  /accounts/{accountID}/capabilities/{capabilityID}:
    get:
      operationId: getCapability
      description: |-
        Retrieve a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: capabilityID
          in: path
          required: true
          schema:
            type: string
            enum: *ref_19
            description: |-
              Moov account capabilities.

              The `production-app` capability might appear in your list. This is a read-only capability that Moov requests and uses for account verification purposes. The capability remains active with your account and requires no additional action.
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_55
                properties: *ref_56
              example:
                capability: transfers
                accountID: 01234567-89ab-cdef-0123-456789abcdef
                status: enabled
                createdOn: '2024-05-06T12:20:38.184Z'
                updatedOn: '2024-05-06T12:20:38.184Z'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Capabilities
      x-speakeasy-name-override: get
    delete:
      operationId: disableCapability
      description: |-
        Disable a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.

          To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: capabilityID
          in: path
          required: true
          schema:
            type: string
            enum: *ref_19
            description: |-
              Moov account capabilities.

              The `production-app` capability might appear in your list. This is a read-only capability that Moov requests and uses for account verification purposes. The capability remains active with your account and requires no additional action.
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Capabilities
      x-speakeasy-name-override: disable
  /accounts/{accountID}/cards:
    post:
      operationId: linkCard
      description: |-
        Link a card to an existing Moov account. 

        Read our [accept card payments guide](https://docs.moov.io/guides/sources/cards/accept-card-payments/#link-a-card) to learn more.

        Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance. 

        During card linking, the provided data will be verified by submitting a $0 authorization (account verification) request. 
        If `merchantAccountID` is provided, the authorization request will contain that account's statement descriptor and address. 
        Otherwise, the platform account's profile will be used. If no statement descriptor has been set, the authorization will 
        use the account's name instead.

        It is strongly recommended that callers include the `X-Wait-For` header, set to `payment-method`, if the newly linked 
        card is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment 
        Methods](https://docs.moov.io/api/sources/payment-methods/list/)
        endpoint to wait for the new payment methods to be available for use.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/cards.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: x-wait-for
          in: header
          required: false
          description: |-
            Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.

            When this header is set to `payment-method`, the response will include any payment methods that were created for the newly 
            linked card in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.
          schema:
            type: string
            enum: &ref_515
              - payment-method
            example: payment-method
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_68
                  - cardID
                  - fingerprint
                  - brand
                  - cardType
                  - lastFourCardNumber
                  - bin
                  - expiration
                  - billingAddress
                  - cardVerification
                  - issuer
                  - issuerCountry
                  - issuerURL
                  - issuerPhone
                  - domesticPushToCard
                  - domesticPullFromCard
                properties: &ref_69
                  cardID:
                    type: string
                    format: uuid
                    description: ID of the card.
                    example: 01234567-89ab-cdef-0123-456789abcdef
                  fingerprint:
                    type: string
                    maxLength: 100
                    description: |-
                      Uniquely identifies a linked payment card or token.
                      For Apple Pay, the fingerprint is based on the tokenized card number and may vary based on the user's device.
                      This field can be used to identify specific payment methods across multiple accounts on your platform.
                    example: 9948962d92a1ce40c9f918cd9ece3a22bde62fb325a2f1fe2e833969de672ba3
                  brand:
                    type: string
                    enum: *ref_57
                    description: The card brand.
                    example: Visa
                  cardType:
                    type: string
                    enum: *ref_58
                    description: The type of the card.
                    example: credit
                  cardCategory:
                    type: string
                    description: |-
                      The category or level of the card defined by the issuer.
                      Examples include, but not limited to, "REWARDS", "TRADITIONAL REWARDS", "CLASSIC", and "CORPORATE PURCHASING".
                  lastFourCardNumber:
                    type: string
                    minLength: 4
                    maxLength: 4
                    description: Last four digits of the card number
                  bin:
                    type: string
                    minLength: 6
                    maxLength: 8
                    description: The first six to eight digits of the card number, which identifies the financial institution that issued the card.
                  expiration:
                    type: object
                    required: *ref_59
                    properties: *ref_60
                    description: The expiration date of the card or token.
                    example: *ref_61
                  holderName:
                    type: string
                    description: The name of the cardholder as it appears on the card.
                  billingAddress:
                    type: object
                    required: &ref_65
                      - postalCode
                    properties: &ref_66
                      addressLine1:
                        type: string
                        maxLength: 60
                      addressLine2:
                        type: string
                        maxLength: 32
                      city:
                        type: string
                        maxLength: 32
                      stateOrProvince:
                        type: string
                        maxLength: 2
                      postalCode:
                        type: string
                        maxLength: 10
                      country:
                        type: string
                        maxLength: 2
                    example: &ref_67
                      addressLine1: 123 Main Street
                      addressLine2: Apt 302
                      city: Boulder
                      stateOrProvince: CO
                      postalCode: '80301'
                      country: US
                  cardVerification:
                    type: object
                    required: &ref_122
                      - cvv
                      - addressLine1
                      - postalCode
                      - accountName
                    properties: &ref_123
                      cvv:
                        type: string
                        enum: &ref_62
                          - noMatch
                          - match
                          - notChecked
                          - unavailable
                          - partialMatch
                        example: match
                      addressLine1:
                        type: string
                        enum: *ref_62
                        example: match
                      postalCode:
                        type: string
                        enum: *ref_62
                        example: match
                      accountName:
                        type: object
                        required: &ref_316
                          - firstName
                          - lastName
                          - middleName
                          - fullName
                        properties: &ref_317
                          firstName:
                            type: string
                            enum: *ref_62
                            example: match
                          lastName:
                            type: string
                            enum: *ref_62
                            example: match
                          middleName:
                            type: string
                            enum: *ref_62
                            example: match
                          fullName:
                            type: string
                            enum: *ref_62
                            example: match
                        description: The results of submitting cardholder name to a card network for verification.
                        example: &ref_318
                          firstName: match
                          lastName: match
                          middleName: match
                          fullName: match
                    description: The results of submitting cardholder data to a card network for verification.
                    example: &ref_124
                      cvv: match
                      addressLine1: match
                      postalCode: match
                      accountName:
                        firstName: match
                        lastName: match
                        middleName: match
                        fullName: match
                  issuer:
                    type: string
                    description: Financial institution that issued the card.
                  issuerCountry:
                    type: string
                    description: Country where the card was issued.
                  issuerURL:
                    type: string
                    format: uri
                    description: URL of the issuer.
                  issuerPhone:
                    type: string
                    description: Phone number of the issuer.
                  commercial:
                    type: boolean
                    description: |-
                      If true, the card is for commercial use, or associated with a business.
                      If false, the card is associated with a general consumer.
                  regulated:
                    type: boolean
                    description: |-
                      If true, the card issuing bank is regulated, and the scheme fees for debit transactions will be limited based on the Durbin Amendment.
                      If false, the card issuing bank is not regulated, and the scheme fees will not be limited.
                  cardOnFile:
                    type: boolean
                    description: Indicates cardholder has authorized card to be stored for future payments.
                  merchantAccountID:
                    type: string
                    format: uuid
                  cardAccountUpdater:
                    type: object
                    properties: &ref_125
                      updatedOn:
                        type: string
                        format: date-time
                      updateType:
                        type: string
                        enum: &ref_376
                          - unspecified
                          - account-closed
                          - contact-cardholder
                          - expiration-update
                          - no-change
                          - no-match
                          - number-update
                        description: The results of the card update request.
                        example: number-update
                    description: The results of the most recent card update request.
                    example: &ref_126
                      updatedOn: '2024-05-06T12:20:38.184Z'
                      updateType: number-update
                  domesticPushToCard:
                    type: string
                    enum: &ref_127
                      - not-supported
                      - standard
                      - fast-funds
                      - unknown
                    description: Indicates which level of domestic push-to-card transfer is supported by the card, if any.
                    example: standard
                  domesticPullFromCard:
                    type: string
                    enum: &ref_128
                      - not-supported
                      - supported
                      - unknown
                    description: Indicates if the card supports domestic pull-from-card transfer.
                    example: supported
                  paymentMethods:
                    type: array
                    items:
                      type: object
                      required: *ref_63
                      properties: *ref_64
                description: Describes a card on a Moov account.
                example: &ref_70
                  cardID: 01234567-89ab-cdef-0123-456789abcdef
                  fingerprint: 9948962d92a1ce40c9f918cd9ece3a22bde62fb325a2f1fe2e833969de672ba3
                  brand: Visa
                  cardType: credit
                  cardCategory: CLASSIC
                  lastFourCardNumber: '1234'
                  bin: '123456'
                  expiration:
                    month: '01'
                    year: '21'
                  holderName: Jules Jackson
                  billingAddress:
                    addressLine1: 123 Main Street
                    addressLine2: Apt 302
                    city: Boulder
                    stateOrProvince: CO
                    postalCode: '80301'
                    country: US
                  cardVerification:
                    cvv: match
                    addressLine1: match
                    postalCode: match
                    accountName:
                      firstName: match
                      lastName: match
                      middleName: match
                      fullName: match
                  issuer: GRINGOTTS BANK
                  issuerCountry: US
                  issuerURL: HTTPS://WWW.EXAMPLE.COM/
                  issuerPhone: '8185551212'
                  commercial: false
                  regulated: false
                  cardOnFile: true
                  merchantAccountID: 01234567-89ab-cdef-0123-456789abcdef
                  cardAccountUpdater:
                    updatedOn: '2024-05-06T12:20:38.184Z'
                    updateType: number-update
                  domesticPushToCard: standard
                  domesticPullFromCard: supported
                  paymentMethods:
                    - paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                      paymentMethodType: card-payment
                    - paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                      paymentMethodType: push-to-card
                    - paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                      paymentMethodType: pull-from-card
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_514
                  error:
                    type: string
                  e2ee:
                    type: object
                    properties: &ref_71
                      token:
                        type: string
                  cardNumber:
                    type: string
                  cardCvv:
                    type: string
                  expiration:
                    type: string
                  holderName:
                    type: string
                  billingAddress:
                    type: string
                  cardOnFile:
                    type: string
                  merchantAccountID:
                    type: string
                  verifyName:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Cards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_511
                - cardNumber
                - cardCvv
                - expiration
                - billingAddress
              properties: &ref_512
                e2ee:
                  type: object
                  required: &ref_208
                    - token
                  properties: &ref_209
                    token:
                      type: string
                      format: jwe
                      description: An [RFC](https://datatracker.ietf.org/doc/html/rfc7516) compact-serialized JSON Web Encryption (JWE) token.
                  description: |-
                    Wraps a compact-serialized JSON Web Encryption (JWE) token used for secure transmission of sensitive data (e.g., PCI information) through intermediaries. 
                    This token is encrypted using the public key from /end-to-end-keys and wraps an AES key. For details and examples, refer to our 
                    [GitHub repository](https://github.com/moovfinancial/moov-go/blob/main/examples/e2ee/e2ee_test.go).
                  example: &ref_210
                    token: eyJhbGciOiJFQ0RILUVTK0EyNTZLVyIsImVuYyI6IkEyNTZHQ00iLCJlcGsiOnsia3R5IjoiRUMiLCJjcnYiOiJQLTUyMSIsIngiOiJBS0NYVDM1WVdvTm8wbzExNy1SU0dqUGg3alN1NjFmLUhnYkx1dW0xVG1ueTRlcW5yX2hyU0hpY0w1d3gwODRCWDBRZjVTdEtkRUoydzY2ZUJqWHprRV9OIiwieSI6IkFIMEJfT2RaYTQtbG43dGJ4M3VBdlc1NDNQRE9HUXBCTDloRFFNWjlTQXNfOW05UWN3dnhRd1hrb1VrM3VzT1FnVV9ySVFrNFRoZ1NTUzV4UlhKcm5ZaTkifSwia2lkIjoiYmRvV3pLekpKUGw0TVFIaENDa05WYTZlZ1dmYi02V1haSjZKTFZqQ0hWMD0ifQ.HalyoHsfufBJEODd2lD9ThQvvVWw3b2kgWDLHGxmHhMv8rODyLL_Ug.rpQP178t8Ed_pUU2.Sn9UFeVoegAxiMUv11q7l3M0y9YHSLYi2n_JB7n7Pc777_47-icfaxstJemT0IC81w.akkq1EBxzWkBr4vEomSpWA
                cardNumber:
                  type: string
                cardCvv:
                  type: string
                expiration:
                  type: object
                  required: *ref_59
                  properties: *ref_60
                  description: The expiration date of the card or token.
                  example: *ref_61
                holderName:
                  type: string
                billingAddress:
                  type: object
                  required: *ref_65
                  properties: *ref_66
                  example: *ref_67
                cardOnFile:
                  type: boolean
                merchantAccountID:
                  type: string
                verifyName:
                  type: boolean
              example: &ref_513
                cardNumber: '4111111111111111'
                cardCvv: '123'
                expiration:
                  month: '01'
                  year: '21'
                holderName: Jules Jackson
                billingAddress:
                  postalCode: '80301'
      x-speakeasy-name-override: link
    get:
      operationId: listCards
      description: |-
        List all the active cards associated with a Moov account. 

        Read our [accept card payments guide](https://docs.moov.io/guides/sources/cards/accept-card-payments/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/cards.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_68
                  properties: *ref_69
                  description: Describes a card on a Moov account.
                  example: *ref_70
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Cards
      x-speakeasy-name-override: list
  /accounts/{accountID}/cards/{cardID}:
    get:
      operationId: getCard
      description: |-
        Fetch a specific card associated with a Moov account. 

        Read our [accept card payments guide](https://docs.moov.io/guides/sources/cards/accept-card-payments/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/cards.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: cardID
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: ID of the card.
            example: 01234567-89ab-cdef-0123-456789abcdef
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_68
                properties: *ref_69
                description: Describes a card on a Moov account.
                example: *ref_70
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Cards
      x-speakeasy-name-override: get
    patch:
      operationId: updateCard
      description: |-
        Update a linked card and/or resubmit it for verification. 

        If a value is provided for CVV, a new verification ($0 authorization) will be submitted for the card. Updating the expiration 
        date or 
        address will update the information stored on file for the card but will not be verified.

        Read our [accept card payments guide](https://docs.moov.io/guides/sources/cards/accept-card-payments/#reverify-a-card) to learn 
        more.

        Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/cards.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: cardID
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: ID of the card.
            example: 01234567-89ab-cdef-0123-456789abcdef
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_68
                properties: *ref_69
                description: Describes a card on a Moov account.
                example: *ref_70
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_636
                  e2ee:
                    type: object
                    properties: *ref_71
                  billingAddress:
                    type: string
                  expiration:
                    type: string
                  cardCvv:
                    type: string
                  cardOnFile:
                    type: string
                  merchantAccountID:
                    type: string
                  verifyName:
                    type: string
                  holderName:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Cards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_632
                e2ee:
                  type: object
                  properties: &ref_441
                    token:
                      type: string
                      format: jwe
                      description: An [RFC](https://datatracker.ietf.org/doc/html/rfc7516) compact-serialized JSON Web Encryption (JWE) token.
                  description: |-
                    Wraps a compact-serialized JSON Web Encryption (JWE) token used for secure transmission of sensitive data (e.g., PCI information) through intermediaries. 
                    This token is encrypted using the public key from /end-to-end-keys and wraps an AES key. For details and examples, refer to our 
                    [GitHub repository](https://github.com/moovfinancial/moov-go/blob/main/examples/e2ee/e2ee_test.go).
                  example: &ref_442
                    token: eyJhbGciOiJFQ0RILUVTK0EyNTZLVyIsImVuYyI6IkEyNTZHQ00iLCJlcGsiOnsia3R5IjoiRUMiLCJjcnYiOiJQLTUyMSIsIngiOiJBS0NYVDM1WVdvTm8wbzExNy1SU0dqUGg3alN1NjFmLUhnYkx1dW0xVG1ueTRlcW5yX2hyU0hpY0w1d3gwODRCWDBRZjVTdEtkRUoydzY2ZUJqWHprRV9OIiwieSI6IkFIMEJfT2RaYTQtbG43dGJ4M3VBdlc1NDNQRE9HUXBCTDloRFFNWjlTQXNfOW05UWN3dnhRd1hrb1VrM3VzT1FnVV9ySVFrNFRoZ1NTUzV4UlhKcm5ZaTkifSwia2lkIjoiYmRvV3pLekpKUGw0TVFIaENDa05WYTZlZ1dmYi02V1haSjZKTFZqQ0hWMD0ifQ.HalyoHsfufBJEODd2lD9ThQvvVWw3b2kgWDLHGxmHhMv8rODyLL_Ug.rpQP178t8Ed_pUU2.Sn9UFeVoegAxiMUv11q7l3M0y9YHSLYi2n_JB7n7Pc777_47-icfaxstJemT0IC81w.akkq1EBxzWkBr4vEomSpWA
                billingAddress:
                  type: object
                  properties: &ref_634
                    addressLine1:
                      type: string
                      maxLength: 60
                    addressLine2:
                      type: string
                      maxLength: 32
                    city:
                      type: string
                      maxLength: 32
                    stateOrProvince:
                      type: string
                      maxLength: 2
                    postalCode:
                      type: string
                      maxLength: 10
                    country:
                      type: string
                      maxLength: 2
                  example: &ref_635
                    addressLine1: 123 Main Street
                    addressLine2: Apt 302
                    city: Boulder
                    stateOrProvince: CO
                    postalCode: '80301'
                    country: US
                expiration:
                  type: object
                  properties: &ref_637
                    month:
                      type: string
                    year:
                      type: string
                  example: &ref_638
                    month: '01'
                    year: '21'
                cardCvv:
                  type: string
                cardOnFile:
                  type: boolean
                merchantAccountID:
                  type: string
                verifyName:
                  type: boolean
                holderName:
                  type: string
              example: &ref_633
                cardCvv: '456'
      x-speakeasy-name-override: update
    delete:
      operationId: disableCard
      description: |-
        Disables a card associated with a Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/cards.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: cardID
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: ID of the card.
            example: 01234567-89ab-cdef-0123-456789abcdef
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Cards
      x-speakeasy-name-override: disable
  /accounts/{accountID}/countries:
    get:
      operationId: getAccountCountries
      description: |-
        Retrieve the specified countries of operation for an account. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_72
                  - countries
                properties: &ref_73
                  countries:
                    type: array
                    items:
                      type: string
                      maxLength: 64
                      example: United States
                description: The countries in which an account operates.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Accounts
      x-speakeasy-name-override: getCountries
    put:
      operationId: assignAccountCountries
      description: |-
        Assign the countries of operation for an account.

        This endpoint will always overwrite the previously assigned values. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_72
                properties: *ref_73
                description: The countries in which an account operates.
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_342
                  - error
                properties: &ref_343
                  error:
                    type: object
                    required: &ref_385
                      - countries
                    properties: &ref_386
                      countries:
                        type: object
                        additionalProperties:
                          type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Accounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: *ref_72
              properties: *ref_73
              description: The countries in which an account operates.
      x-speakeasy-name-override: assignCountries
  /accounts/{accountID}/disputes:
    get:
      operationId: listDisputes
      description: |-
        Returns the list of disputes. 

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: skip
          in: query
          required: false
          schema: &ref_81
            type: integer
            format: int64
            description: The number of entries to skip when paginating a large result set.
            example: 60
          explode: false
        - name: count
          in: query
          required: false
          schema: &ref_82
            default: 200
            type: integer
            format: int64
            description: Limits the maximum number of results returned, or determines the page size when used with `skip` for pagination.
            example: 20
          explode: false
        - name: startDateTime
          in: query
          required: false
          description: Optional date-time parameter to filter all disputes created on and after the provided date and time.
          schema: &ref_262
            type: string
            format: date-time
          explode: false
        - name: endDateTime
          in: query
          required: false
          description: Optional date-time parameter to filter all disputes created on and before the provided date and time.
          schema: &ref_257
            type: string
            format: date-time
          explode: false
        - name: respondStartDateTime
          in: query
          required: false
          description: Optional date-time which exclusively filters all disputes with respond by before this date-time.
          schema: &ref_261
            type: string
            format: date-time
          explode: false
        - name: respondEndDateTime
          in: query
          required: false
          description: Optional date-time which exclusively filters all disputes with respond by before this date-time.
          schema: &ref_260
            type: string
            format: date-time
          explode: false
        - name: status
          in: query
          required: false
          description: Optional dispute status by which to filter the disputes.
          schema: &ref_263
            type: string
            enum: &ref_74
              - response-needed
              - resolved
              - under-review
              - closed
              - accepted
              - expired
              - won
              - lost
            description: |-
              The status of a particular dispute. 

              Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/#dispute-statuses) to learn what each status means.
          explode: false
        - name: merchantAccountID
          in: query
          required: false
          description: Optional parameter to filter by merchant account ID.
          schema: &ref_258
            type: string
            format: uuid
          explode: false
        - name: cardholderAccountID
          in: query
          required: false
          description: Optional parameter to filter by cardholder account ID.
          schema: &ref_255
            type: string
            format: uuid
          explode: false
        - name: disputeIDs
          in: query
          required: false
          description: Optional parameter to filter by a comma separated list of dispute IDs.
          schema: &ref_256
            type: array
            items:
              type: string
          explode: false
        - name: transferIDs
          in: query
          required: false
          description: Optional parameter to filter by a comma separated list of transfer IDs.
          schema: &ref_264
            type: array
            items:
              type: string
          explode: false
        - name: orderBy
          in: query
          required: false
          schema: &ref_259
            type: string
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_75
                    - disputeID
                    - merchantAccountID
                    - amount
                    - networkReasonCode
                    - transfer
                    - respondBy
                    - status
                    - phase
                    - createdOn
                  properties: &ref_76
                    disputeID:
                      type: string
                      format: uuid
                    merchantAccountID:
                      type: string
                      format: uuid
                    amount:
                      type: object
                      required: &ref_98
                        - currency
                        - value
                      properties: &ref_99
                        currency:
                          type: string
                          pattern: ^[A-Za-z]{3}$
                          description: A 3-letter ISO 4217 currency code.
                          example: USD
                        value:
                          type: integer
                          format: int64
                          description: |-
                            Quantity in the smallest unit of the specified currency. 

                            In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.
                          example: 1204
                    networkReasonCode:
                      type: string
                      description: |-
                        Indicates the card network's category for the dispute. 

                        These codes may differ between card brands. You can find more information on the code from the networkReasonDescription field.
                    networkReasonDescription:
                      type: string
                      description: Provides detail on the card network's categorization of the dispute.
                    transfer:
                      type: object
                      required: &ref_436
                        - transferID
                      properties: &ref_437
                        transferID:
                          type: string
                          format: uuid
                          description: The disputed transfer's ID.
                    respondBy:
                      type: string
                      format: date-time
                    status:
                      type: string
                      enum: *ref_74
                      description: |-
                        The status of a particular dispute. 

                        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/#dispute-statuses) to learn what each status means.
                    phase:
                      type: string
                      enum: &ref_435
                        - pre-dispute
                        - inquiry
                        - chargeback
                        - unknown
                      description: The phase of a dispute within the dispute lifecycle.
                    createdOn:
                      type: string
                      format: date-time
                  description: Details of a card transaction dispute.
                  example: &ref_77
                    disputeID: 6e356108-fdfa-4910-bbe4-1e3c8abf5520
                    merchantAccountID: 34233b72-780c-4e0e-8b08-cbbe1bc878f8
                    createdOn: '2024-12-23T17:55:00Z'
                    amount:
                      currency: USD
                      value: 257753
                    networkReasonCode: '10.4'
                    transfer:
                      transferID: ecac148a-917e-4ee0-b46a-c51408939fff
                    respondBy: '2024-12-23T18:55:00Z'
                    status: response-needed
                    phase: chargeback
              example:
                - disputeID: 6e356108-fdfa-4910-bbe4-1e3c8abf5520
                  merchantAccountID: 34233b72-780c-4e0e-8b08-cbbe1bc878f8
                  createdOn: '2024-12-23T17:55:00Z'
                  amount:
                    currency: USD
                    value: 257753
                  networkReasonCode: '10.4'
                  transfer:
                    transferID: ecac148a-917e-4ee0-b46a-c51408939fff
                  respondBy: '2024-12-23T18:55:00Z'
                  status: response-needed
                  phase: chargeback
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      x-speakeasy-name-override: list
  /accounts/{accountID}/disputes/{disputeID}:
    get:
      operationId: getDispute
      description: |-
        Get a dispute by ID. 

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: disputeID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_75
                properties: *ref_76
                description: Details of a card transaction dispute.
                example: *ref_77
              example:
                disputeID: 6e356108-fdfa-4910-bbe4-1e3c8abf5520
                merchantAccountID: 34233b72-780c-4e0e-8b08-cbbe1bc878f8
                createdOn: '2024-12-23T17:55:00Z'
                amount:
                  currency: USD
                  value: 257753
                networkReasonCode: '10.4'
                transfer:
                  transferID: ecac148a-917e-4ee0-b46a-c51408939fff
                respondBy: '2024-12-23T18:55:00Z'
                status: response-needed
                phase: chargeback
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      x-speakeasy-name-override: get
  /accounts/{accountID}/disputes/{disputeID}/accept:
    post:
      operationId: acceptDispute
      description: |-
        Accepts liability for a dispute. 

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: disputeID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_75
                properties: *ref_76
                description: Details of a card transaction dispute.
                example: *ref_77
              example:
                disputeID: 6e356108-fdfa-4910-bbe4-1e3c8abf5520
                merchantAccountID: 34233b72-780c-4e0e-8b08-cbbe1bc878f8
                createdOn: '2024-12-23T17:55:00Z'
                amount:
                  currency: USD
                  value: 257753
                networkReasonCode: '10.4'
                transfer:
                  transferID: ecac148a-917e-4ee0-b46a-c51408939fff
                respondBy: '2024-12-23T18:55:00Z'
                status: accepted
                phase: chargeback
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      x-speakeasy-name-override: accept
  /accounts/{accountID}/disputes/{disputeID}/evidence:
    get:
      operationId: listDisputeEvidence
      description: |-
        Returns a dispute's public evidence by its ID. 

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: disputeID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_79
                    - evidenceID
                    - disputeID
                    - evidenceType
                    - createdOn
                    - updatedOn
                  properties: &ref_80
                    evidenceID:
                      type: string
                      format: uuid
                    disputeID:
                      type: string
                      format: uuid
                    evidenceType:
                      type: string
                      enum: &ref_78
                        - receipt
                        - proof-of-delivery
                        - cancelation-policy
                        - terms-of-service
                        - customer-communication
                        - generic-evidence
                        - cover-letter
                        - other
                    text:
                      type: string
                      description: For text evidence, the text submitted as evidence.
                    mimeType:
                      type: string
                      description: For file evidence, the MIME type of the file.
                    filename:
                      type: string
                      description: For file evidence, the name of the file.
                    size:
                      type: integer
                      format: int64
                      description: For file evidence, the size of the file.
                    createdOn:
                      type: string
                      format: date-time
                    updatedOn:
                      type: string
                      format: date-time
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      x-speakeasy-name-override: listEvidence
  /accounts/{accountID}/disputes/{disputeID}/evidence-file:
    post:
      operationId: uploadDisputeEvidenceFile
      description: |-
        Uploads a file as evidence for a dispute. 

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: disputeID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '201':
          description: The resource was successfully created.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_455
                  - evidenceID
                  - disputeID
                  - filename
                  - mimeType
                  - size
                  - evidenceType
                  - createdOn
                properties: &ref_456
                  evidenceID:
                    type: string
                    format: uuid
                    description: The ID of the evidence.
                  disputeID:
                    type: string
                    format: uuid
                    description: The ID of the dispute the evidence is associated with.
                  filename:
                    type: string
                    description: The name of the evidence file.
                  mimeType:
                    type: string
                    description: The MIME type of the evidence file.
                  size:
                    type: integer
                    format: int64
                    description: The size of the evidence file.
                  evidenceType:
                    type: string
                    enum: *ref_78
                  createdOn:
                    type: string
                    format: date-time
                    description: The date and time the evidence was uploaded.
                description: Details of a successfully uploaded evidence file.
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_469
                  evidenceType:
                    type: string
                  file:
                    type: object
                    properties:
                      filename:
                        type: string
                      mimeType:
                        type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required: &ref_396
                - file
                - evidenceType
              properties: &ref_397
                file:
                  type: string
                  format: binary
                  description: |-
                    The file to upload as evidence. Valid types are [jpeg, tiff, pdf].

                    The `Content-Type` header for this form part must be one of the following:
                      - `image/jpeg`
                      - `image/tiff`
                      - `application/pdf`
                evidenceType:
                  type: string
                  enum: *ref_78
      x-speakeasy-name-override: uploadEvidenceFile
  /accounts/{accountID}/disputes/{disputeID}/evidence-text:
    post:
      operationId: uploadDisputeEvidenceText
      description: |-
        Uploads text as evidence for a dispute.

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: disputeID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '201':
          description: The resource was successfully created.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_453
                  - evidenceID
                  - disputeID
                  - evidenceType
                  - text
                  - createdOn
                properties: &ref_454
                  evidenceID:
                    type: string
                    format: uuid
                  disputeID:
                    type: string
                    format: uuid
                  evidenceType:
                    type: string
                    enum: *ref_78
                  text:
                    type: string
                  createdOn:
                    type: string
                    format: date-time
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_398
                - text
                - evidenceType
              properties: &ref_399
                text:
                  type: string
                  maxLength: 750
                  description: The text to associate with the dispute as evidence.
                evidenceType:
                  type: string
                  enum: *ref_78
      x-speakeasy-name-override: uploadEvidenceText
  /accounts/{accountID}/disputes/{disputeID}/evidence/submit:
    post:
      operationId: submitDisputeEvidence
      description: |-
        Submit the evidence associated with a dispute.

        Evidence items must be uploaded using the appropriate endpoint(s) prior to calling this endpoint to submit it. **Evidence can only
        be submitted once per dispute.**

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: disputeID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_75
                properties: *ref_76
                description: Details of a card transaction dispute.
                example: *ref_77
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      x-speakeasy-name-override: submitEvidence
  /accounts/{accountID}/disputes/{disputeID}/evidence/{evidenceID}:
    get:
      operationId: getDisputeEvidence
      description: |-
        Get dispute evidence by ID.

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: disputeID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: evidenceID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_79
                properties: *ref_80
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      x-speakeasy-name-override: getEvidence
    patch:
      operationId: updateDisputeEvidence
      description: |-
        Updates dispute evidence by ID.

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: disputeID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: evidenceID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_79
                properties: *ref_80
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_640
                evidenceType:
                  type: string
                  enum: *ref_78
                text:
                  type: string
                  description: If updating text evidence, the new text to associate with the dispute.
      x-speakeasy-name-override: updateEvidence
    delete:
      operationId: deleteDisputeEvidenceFile
      description: |-
        Deletes dispute evidence by ID. 

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: disputeID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: evidenceID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      x-speakeasy-name-override: deleteEvidence
  /accounts/{accountID}/disputes/{disputeID}/evidence/{evidenceID}/data:
    get:
      operationId: getDisputeEvidenceData
      description: |-
        Downloads dispute evidence data by ID.

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: disputeID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: evidenceID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request has succeeded.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/pdf:
              schema:
                type: string
                format: binary
            image/jpeg:
              schema:
                type: string
                format: binary
            image/tiff:
              schema:
                type: string
                format: binary
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Disputes
      x-speakeasy-name-override: getEvidenceData
  /accounts/{accountID}/fee-plan-agreements:
    get:
      operationId: listFeePlanAgreements
      description: |-
        List all fee plan agreements associated with an account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: skip
          in: query
          required: false
          schema: *ref_81
          explode: false
        - name: count
          in: query
          required: false
          schema: *ref_82
          explode: false
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: agreementID
          in: query
          required: false
          description: A comma-separated list of agreement IDs to filter the results by.
          schema:
            type: array
            items:
              type: string
          explode: false
        - name: status
          in: query
          required: false
          description: A comma-separated list of statuses to filter the results by.
          schema:
            type: array
            items:
              type: string
              enum: &ref_83
                - active
                - terminated
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_86
                    - agreementID
                    - planID
                    - name
                    - acceptedOn
                    - status
                    - cardAcquiringModel
                    - billableFees
                    - minimumCommitment
                    - monthlyPlatformFee
                  properties: &ref_87
                    agreementID:
                      type: string
                      format: uuid
                    planID:
                      type: string
                      format: uuid
                    accountID:
                      type: string
                      format: uuid
                    name:
                      type: string
                      description: The name of the agreement.
                    description:
                      type: string
                      description: The description of the agreement.
                    acceptedOn:
                      type: string
                      format: date-time
                    status:
                      type: string
                      enum: *ref_83
                    cardAcquiringModel:
                      type: string
                      enum: &ref_88
                        - cost-plus
                        - flat-rate
                      description: Specifies the card processing pricing model
                    billableFees:
                      type: array
                      items:
                        type: object
                        required: &ref_89
                          - feeModel
                          - feeCategory
                        properties: &ref_90
                          billableFeeID:
                            type: string
                            format: uuid
                          billableEvent:
                            type: string
                            description: A unique code identifying a charge.
                          feeName:
                            type: string
                            description: Specifies the name of the fee that will be billed.
                          feeModel:
                            type: string
                            enum: &ref_460
                              - fixed
                              - blended
                              - variable
                            description: Specifies the pricing model used for the calculation of the final fee.
                          feeCategory:
                            type: string
                            enum: &ref_457
                              - ach
                              - card-acquiring
                              - card-other
                              - card-pull
                              - card-push
                              - monthly-platform
                              - network-passthrough
                              - other
                              - rtp
                          feeProperties:
                            type: object
                            properties: &ref_464
                              fixedAmount:
                                allOf:
                                  - type: object
                                    required: *ref_84
                                    properties: *ref_85
                                description: A fixed fee that is applied to the amount of each transaction in the `fixed` and `blended` fee models.
                              variableRate:
                                type: string
                                pattern: ^[0-9]+.?[0-9]*$
                                description: |-
                                  A percentage fee that is applied to the amount of each transaction in the `blended` fee model, expressed as a decimal. 

                                  For example, 0.05% is '0.05'.
                                example: '0.05'
                              minPerTransaction:
                                allOf:
                                  - type: object
                                    required: *ref_84
                                    properties: *ref_85
                                description: Specifies the minimum allowable spending for a single transaction, working as a transaction floor.
                              maxPerTransaction:
                                allOf:
                                  - type: object
                                    required: *ref_84
                                    properties: *ref_85
                                description: Specifies the maximum allowable spending for a single transaction, working as a transaction ceiling.
                            description: Defines the specific parameters used for fee calculation.
                            example: &ref_465
                              fixedAmount:
                                currency: USD
                                valueDecimal: '0.0195'
                              variableRate: '0.15'
                              minPerTransaction:
                                currency: USD
                                valueDecimal: '0.0195'
                              maxPerTransaction:
                                currency: USD
                                valueDecimal: '0.035'
                          feeConditions:
                            type: object
                            additionalProperties: &ref_458 {}
                            description: Defines the specific conditions that must be met for the fee to be applied.
                            example: &ref_459
                              cardBrand:
                                - visa
                        example: &ref_91
                          billableFeeID: 9d957d33-1a9a-47aa-9460-fe1a90f003dd
                          billableEvent: card-auth-volume
                          feeName: Card decline fee
                          feeModel: fixed
                          feeCategory: card-acquiring
                          feeProperties:
                            fixedAmount:
                              currency: USD
                              valueDecimal: '0.1'
                          feeConditions:
                            transactionType:
                              - decline
                    minimumCommitment:
                      type: object
                      allOf: &ref_92
                        - type: object
                          required: *ref_84
                          properties: *ref_85
                      description: The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
                    monthlyPlatformFee:
                      type: object
                      allOf: &ref_93
                        - type: object
                          required: *ref_84
                          properties: *ref_85
                      description: Fixed recurring amount paid in the billing period regardless of usage.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Fee plans
    post:
      operationId: createFeePlanAgreements
      description: |-
        Creates the subscription of a fee plan to a merchant account. Merchants are required to accept the fee plan terms prior to activation.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '201':
          description: The resource was successfully created.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_86
                properties: *ref_87
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_463
                  planID:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Fee plans
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_400
                - planID
              properties: &ref_401
                planID:
                  type: string
                  format: uuid
  /accounts/{accountID}/fee-plans:
    get:
      operationId: listFeePlans
      description: |-
        List all fee plans available for use by an account. This is intended to be used by an account when 
        selecting a fee plan to apply to a connected account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: planIDs
          in: query
          required: false
          description: A comma-separated list of plan IDs to filter the results by.
          schema:
            type: array
            items:
              type: string
              format: uuid
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_461
                    - planID
                    - name
                    - cardAcquiringModel
                    - billableFees
                    - minimumCommitment
                    - monthlyPlatformFee
                    - createdAt
                  properties: &ref_462
                    planID:
                      type: string
                      format: uuid
                    name:
                      type: string
                      description: The name of the fee plan.
                      example: Fixed Rate Merchant Plan
                    description:
                      type: string
                      description: A description of the fee plan.
                    cardAcquiringModel:
                      type: string
                      enum: *ref_88
                      description: Specifies the card processing pricing model
                    billableFees:
                      type: array
                      items:
                        type: object
                        required: *ref_89
                        properties: *ref_90
                        example: *ref_91
                      description: Additional usage-based fees for this plan.
                    minimumCommitment:
                      type: object
                      allOf: *ref_92
                      description: The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
                    monthlyPlatformFee:
                      type: object
                      allOf: *ref_93
                      description: Fixed recurring amount paid in the billing period regardless of usage.
                    createdAt:
                      type: string
                      format: date-time
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Fee plans
  /accounts/{accountID}/fees:
    get:
      operationId: retrieveFees
      description: |-
        Retrieve fees associated with an account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: transferID
          in: query
          required: false
          description: Optional transfer ID to filter the results by.
          schema:
            type: string
            format: uuid
          explode: false
        - name: disputeID
          in: query
          required: false
          description: Optional dispute ID to filter the results by.
          schema:
            type: string
            format: uuid
          explode: false
        - name: startDateTime
          in: query
          required: false
          description: Optional date-time to inclusively filter all fees created after this date-time.
          schema:
            type: string
            format: RFC-3339
          explode: false
        - name: endDateTime
          in: query
          required: false
          description: Optional date-time to exclusively filter all fees created before this date-time.
          schema:
            type: string
            format: RFC-3339
          explode: false
        - name: skip
          in: query
          required: false
          schema: *ref_81
          explode: false
        - name: count
          in: query
          required: false
          schema: *ref_82
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties: &ref_94
                    feeID:
                      type: string
                      format: uuid
                    accountID:
                      type: string
                      format: uuid
                    walletID:
                      type: string
                      format: uuid
                    createdOn:
                      type: string
                      format: date-time
                    feeName:
                      type: string
                    amount:
                      type: object
                      required: *ref_84
                      properties: *ref_85
                    generatedBy:
                      oneOf: &ref_476
                        - type: object
                          properties: &ref_481
                            transferID:
                              type: string
                              format: uuid
                          title: Transfer ID
                        - type: object
                          properties: &ref_479
                            CardID:
                              type: string
                              format: uuid
                          title: Card ID
                        - type: object
                          properties: &ref_480
                            DisputeID:
                              type: string
                              format: uuid
                          title: Dispute ID
                        - type: object
                          properties: &ref_477
                            AccountID:
                              type: string
                              format: uuid
                          title: Account ID
                        - type: object
                          properties: &ref_478
                            BankAccountID:
                              type: string
                              format: uuid
                          title: Bank account ID
                      description: The entity that generated the fee.
                  description: A fee incurred by a user.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Fee plans
  /accounts/{accountID}/fees/.fetch:
    post:
      operationId: listFeesFetch
      description: |-
        List fees associated with an account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties: *ref_94
                  description: A fee incurred by a user.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Fee plans
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties: &ref_518
                feeIDs:
                  type: array
                  items:
                    type: string
                    format: uuid
              description: Array of fee IDs to fetch.
  /accounts/{accountID}/files:
    post:
      operationId: uploadFile
      description: |-
        Upload a file and link it to the specified Moov account. 

        The maximum file size is 10MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf, 
        and png. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/files.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_96
                  - fileID
                  - fileName
                  - accountID
                  - filePurpose
                  - fileStatus
                  - metadata
                  - fileSizeBytes
                  - createdOn
                  - updatedOn
                properties: &ref_97
                  fileID:
                    type: string
                    format: uuid
                  fileName:
                    type: string
                    maxLength: 64
                    example: logo.png
                  accountID:
                    type: string
                    format: uuid
                  filePurpose:
                    type: string
                    enum: &ref_95
                      - business_verification
                      - representative_verification
                      - individual_verification
                      - merchant_underwriting
                      - account_requirement
                      - identity_verification
                    description: The file's purpose.
                    example: representative_verification
                  fileStatus:
                    type: string
                    enum: &ref_466
                      - pending
                      - approved
                      - rejected
                    description: The file's status.
                    example: pending
                  metadata:
                    type: string
                    format: json
                    example: '{"error_code": "document-name-mismatch", "requirement_id": "document.individual.verification", "representative_id": "c63ab175-251d-497e-a267-7346d087e180", "comment": "testing comment"'
                  decisionReason:
                    type: string
                    example: not correct file
                  fileSizeBytes:
                    type: integer
                  createdOn:
                    type: string
                    format: date-time
                  updatedOn:
                    type: string
                    format: date-time
                description: Describes a file linked to a Moov account.
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_470
                  error:
                    type: string
                  file:
                    type: string
                  filePurpose:
                    type: string
                  metadata:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Files
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required: &ref_467
                - file
                - filePurpose
              properties: &ref_468
                file:
                  type: string
                  format: binary
                  description: The file to be added. Valid types are `csv`, `png`, `jpeg`, `pdf`.
                filePurpose:
                  type: string
                  enum: *ref_95
                  description: The file's purpose.
                  example: representative_verification
                metadata:
                  type: string
                  format: json
                  description: |-
                    Additional metadata to be stored with the file, formatted as a JSON string.

                    Valid keys are `representative_id`, `comment`, `requirement_id`, `error_code`.
                  example: '{"requirement_id": "document.individual.verification"}'
              description: Request to upload a file for an account.
      x-speakeasy-name-override: upload
    get:
      operationId: listFiles
      description: |-
        List all the files associated with a particular Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/files.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_96
                  properties: *ref_97
                  description: Describes a file linked to a Moov account.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Files
      x-speakeasy-name-override: list
  /accounts/{accountID}/files/{fileID}:
    get:
      operationId: getFileDetails
      description: |-
        Retrieve file details associated with a specific Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/files.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: fileID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_96
                properties: *ref_97
                description: Describes a file linked to a Moov account.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Files
      x-speakeasy-name-override: get
  /accounts/{accountID}/merchant-agreement:
    get:
      operationId: getMerchantProcessingAgreement
      description: |-
        Retrieve a merchant account's processing agreement.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request has succeeded.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Accounts
  /accounts/{accountID}/partner-pricing:
    get:
      operationId: listPartnerPricing
      description: |-
        List all partner pricing plans available for use by an account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: planIDs
          in: query
          required: false
          description: A comma-separated list of plan IDs to filter the results by.
          schema:
            type: array
            items:
              type: string
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_539
                    - planID
                    - name
                    - revenueShare
                    - cardAcquiringModel
                    - billableFees
                    - minimumCommitment
                    - monthlyPlatformFee
                    - createdAt
                  properties: &ref_540
                    planID:
                      type: string
                      format: uuid
                    name:
                      type: string
                      description: The name of the fee plan.
                      example: Fixed Rate Merchant Plan
                    description:
                      type: string
                      description: A description of the fee plan.
                    revenueShare:
                      type: integer
                      description: The integer percentage value of the revenue split for partner.
                      example: 10
                    cardAcquiringModel:
                      type: string
                      enum: *ref_88
                      description: Specifies the card processing pricing model
                    billableFees:
                      type: array
                      items:
                        type: object
                        required: *ref_89
                        properties: *ref_90
                        example: *ref_91
                    minimumCommitment:
                      type: object
                      allOf: *ref_92
                      description: The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
                    monthlyPlatformFee:
                      type: object
                      allOf: *ref_93
                      description: Fixed recurring amount paid in the billing period regardless of usage.
                    createdAt:
                      type: string
                      format: date-time
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Fee plans
  /accounts/{accountID}/partner-pricing-agreements:
    get:
      operationId: listPartnerPricingAgreements
      description: |-
        List all partner pricing agreements associated with an account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: skip
          in: query
          required: false
          schema: *ref_81
          explode: false
        - name: count
          in: query
          required: false
          schema: *ref_82
          explode: false
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: agreementID
          in: query
          required: false
          description: A comma-separated list of agreement IDs to filter the results by.
          schema:
            type: array
            items:
              type: string
          explode: false
        - name: status
          in: query
          required: false
          description: A comma-separated list of statuses to filter the results by.
          schema:
            type: array
            items:
              type: string
              enum: *ref_83
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_541
                    - revenueShare
                  properties: &ref_542
                    revenueShare:
                      type: integer
                      description: The integer percentage value of the revenue split for partner.
                      example: 10
                  allOf: &ref_543
                    - type: object
                      required: *ref_86
                      properties: *ref_87
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Fee plans
  /accounts/{accountID}/payment-links:
    post:
      operationId: createPaymentLink
      description: |-
        Create a payment link that allows an end user to make a payment on Moov's hosted payment link page.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_107
                  - code
                  - mode
                  - status
                  - partnerAccountID
                  - merchantAccountID
                  - merchantPaymentMethodID
                  - link
                  - amount
                  - uses
                  - display
                  - customer
                  - createdOn
                  - updatedOn
                properties: &ref_108
                  code:
                    type: string
                    description: Unique code identifying this payment link.
                    example: uc7ZYKrMhi
                  mode:
                    type: string
                    enum: *ref_17
                    description: The operating mode for an account.
                    example: production
                  status:
                    type: string
                    enum: &ref_555
                      - active
                      - used
                      - disabled
                      - expired
                  partnerAccountID:
                    type: string
                    format: uuid
                    description: The partner's Moov account ID.
                  merchantAccountID:
                    type: string
                    format: uuid
                    description: The merchant's Moov account ID.
                  merchantPaymentMethodID:
                    type: string
                    format: uuid
                    description: The merchant's preferred payment method ID. Must be a wallet payment method.
                  link:
                    type: string
                    format: uri
                    description: Link to the payment landing page for this payment link.
                  amount:
                    type: object
                    required: *ref_98
                    properties: *ref_99
                  uses:
                    type: integer
                    format: int64
                    description: The number of times this payment link has been used.
                  maxUses:
                    type: integer
                    format: int64
                    description: |-
                      An optional limit on the number of times this payment link can be used. 

                      **For payouts, `maxUses` is always 1.**
                  lastUsedOn:
                    type: string
                    format: date-time
                    description: The timestamp when this payment link was last used.
                  expiresOn:
                    type: string
                    format: date-time
                    description: An optional expiration date for this payment link.
                  display:
                    type: object
                    required: &ref_100
                      - title
                      - description
                      - callToAction
                    properties: &ref_101
                      title:
                        type: string
                        description: The payment page title displayed to the user.
                      description:
                        type: string
                        description: A payment description displayed to the user.
                      callToAction:
                        type: string
                        enum: &ref_114
                          - pay
                          - book
                          - subscribe
                          - donate
                          - confirm
                          - auto
                        description: |-
                          The text to be displayed on web form's submit button.

                          If set to "auto" the UI will automatically select between 
                          "pay" and "confirm" for payments and payouts respectively.
                    description: Customizable display options for a payment link.
                  customer:
                    type: object
                    properties: &ref_102
                      requireAddress:
                        type: boolean
                        description: If true, a billing address is required when completing the payment form.
                      requirePhone:
                        type: boolean
                        description: If true, a phone number is required when completing the payment form.
                      metadata:
                        type: object
                        additionalProperties:
                          type: string
                        description: Optional free-form metadata for the Moov account that will represent this customer.
                  payment:
                    type: object
                    required: &ref_103
                      - allowedMethods
                    properties: &ref_104
                      allowedMethods:
                        type: array
                        items:
                          type: string
                          enum: &ref_115
                            - apple-pay
                            - card-payment
                            - ach-debit-collect
                          description: Payment methods allowed for collecting a payment.
                        minItems: 1
                        description: A list of payment methods that should be supported for this payment link.
                      cardDetails:
                        type: object
                        properties: &ref_116
                          dynamicDescriptor:
                            type: string
                            minLength: 4
                            maxLength: 22
                            description: An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field.
                            example: WhlBdy *Yoga 11-12
                        description: Options for payment links used to collect a card payment.
                      achDetails:
                        type: object
                        properties: &ref_117
                          companyEntryDescription:
                            type: string
                            minLength: 4
                            maxLength: 10
                            description: An optional override of the default NACHA company entry description for a transfer.
                            example: Gym dues
                          originatingCompanyName:
                            type: string
                            minLength: 4
                            maxLength: 16
                            description: An optional override of the default NACHA company name for a transfer.
                            example: Whole Body Fit
                        description: Options for payment links used to collect an ACH payment.
                    description: Options for payment links used to collect payment.
                  payout:
                    type: object
                    required: &ref_105
                      - allowedMethods
                      - recipient
                    properties: &ref_106
                      allowedMethods:
                        type: array
                        items:
                          type: string
                          enum: &ref_118
                            - push-to-card
                            - rtp-credit
                            - ach-credit-same-day
                            - ach-credit-standard
                          description: Payment methods allowed for disbursing funds.
                        minItems: 1
                        description: A list of payment methods that should be supported for this payment link.
                      recipient:
                        type: object
                        required: &ref_556
                          - email
                        properties: &ref_557
                          email:
                            type: string
                            maxLength: 255
                            format: email
                            example: jordan.lee@classbooker.dev
                        description: |-
                          Specify the intended recipient of the payout.

                          This information will be used to authenticate the end user when they follow the payment link.
                  createdOn:
                    type: string
                    format: date-time
                  updatedOn:
                    type: string
                    format: date-time
                  disabledOn:
                    type: string
                    format: date-time
                example: &ref_109
                  code: 3QLHtONjd5
                  mode: sandbox
                  status: active
                  partnerAccountID: d290f1ee-6c54-4b01-90e6-d701748f0851
                  merchantAccountID: 34233b72-780c-4e0e-8b08-cbbe1bc878f8
                  merchantPaymentMethodID: 4c4e7f8e-81f4-4f3d-8f6f-6f6e7f8e4c4e
                  link: https://moov.money/3QLHtONjd5
                  amount:
                    currency: USD
                    value: 10000
                  uses: 0
                  display:
                    title: Example Payment Link
                    description: This is an example payment link.
                    callToAction: pay
                  customer:
                    requirePhone: true
                  payment:
                    allowedMethods:
                      - card-payment
                      - ach-debit-collect
                  updatedOn: '2025-01-09T17:09:13.33Z'
                  createdOn: '2025-01-09T17:09:13.33Z'
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_408
                  partnerAccountID:
                    type: string
                  merchantPaymentMethodID:
                    type: string
                  amount:
                    type: object
                    properties: &ref_110
                      currency:
                        type: string
                      value:
                        type: string
                  maxUses:
                    type: string
                  expiresOn:
                    type: string
                  display:
                    type: object
                    properties: &ref_111
                      title:
                        type: string
                      description:
                        type: string
                      callToAction:
                        type: string
                  payment:
                    type: object
                    properties: &ref_112
                      allowedMethods:
                        type: string
                      cardDetails:
                        type: object
                        properties: &ref_369
                          dynamicDescriptor:
                            type: string
                      achDetails:
                        type: object
                        properties: &ref_309
                          companyEntryDescription:
                            type: string
                          originatingCompanyName:
                            type: string
                  payout:
                    type: object
                    properties: &ref_113
                      allowedMethods:
                        type: string
                      recipient:
                        type: object
                        properties: &ref_558
                          email:
                            type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Payment links
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_405
                - partnerAccountID
                - merchantPaymentMethodID
                - amount
                - display
              properties: &ref_406
                partnerAccountID:
                  type: string
                  format: uuid
                  description: The partner's Moov account ID.
                merchantPaymentMethodID:
                  type: string
                  format: uuid
                  description: The merchant's preferred payment method ID. Must be a wallet payment method.
                amount:
                  type: object
                  required: *ref_98
                  properties: *ref_99
                maxUses:
                  type: integer
                  format: int64
                  description: |-
                    An optional limit on the number of times this payment link can be used. 

                    **For payouts, `maxUses` is always 1.**
                expiresOn:
                  type: string
                  format: date-time
                  description: An optional expiration date for this payment link.
                display:
                  type: object
                  required: *ref_100
                  properties: *ref_101
                  description: Customizable display options for a payment link.
                customer:
                  type: object
                  properties: *ref_102
                payment:
                  type: object
                  required: *ref_103
                  properties: *ref_104
                  description: Options for payment links used to collect payment.
                payout:
                  type: object
                  required: *ref_105
                  properties: *ref_106
              description: |-
                Request to create a new payment link.

                A payment link must include either `payment` or `payout` details, but not both. For payout payment links,
                `maxUses` will automatically be set to 1, as these are intended for a one-time disbursement
                to a specific recipient.

                **Note:** The `payout` option is currently under development and is not yet available for general use.
              example: &ref_407
                partnerAccountID: d290f1ee-6c54-4b01-90e6-d701748f0851
                merchantPaymentMethodID: 4c4e7f8e-81f4-4f3d-8f6f-6f6e7f8e4c4e
                amount:
                  currency: USD
                  value: 10000
                display:
                  title: Example Payment Link
                  description: This is an example payment link.
                  callToAction: pay
                customer:
                  requirePhone: true
                payment:
                  allowedMethods:
                    - card-payment
                    - ach-debit-collect
      x-speakeasy-name-override: create
    get:
      operationId: listPaymentLinks
      description: |-
        List all the payment links created under a Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_107
                  properties: *ref_108
                  example: *ref_109
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Payment links
      x-speakeasy-name-override: list
  /accounts/{accountID}/payment-links/{paymentLinkCode}:
    get:
      operationId: getPaymentLink
      description: |-
        Retrieve a payment link by code.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: paymentLinkCode
          in: path
          required: true
          schema:
            type: string
            description: Unique code identifying this payment link.
            example: uc7ZYKrMhi
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_107
                properties: *ref_108
                example: *ref_109
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Payment links
      x-speakeasy-name-override: get
    patch:
      operationId: updatePaymentLink
      description: |-
        Update a payment link.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: paymentLinkCode
          in: path
          required: true
          schema:
            type: string
            description: Unique code identifying this payment link.
            example: uc7ZYKrMhi
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_107
                properties: *ref_108
                example: *ref_109
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_645
                  amount:
                    type: object
                    properties: *ref_110
                  expiresOn:
                    type: string
                  display:
                    type: object
                    properties: *ref_111
                  payment:
                    type: object
                    properties: *ref_112
                  payout:
                    type: object
                    properties: *ref_113
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Payment links
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_643
                amount:
                  type: object
                  properties: &ref_336
                    currency:
                      type: string
                      pattern: ^[A-Za-z]{3}$
                      description: A 3-letter ISO 4217 currency code.
                      example: USD
                    value:
                      type: integer
                      format: int64
                      description: |-
                        Quantity in the smallest unit of the specified currency. 

                        In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.
                      example: 1204
                expiresOn:
                  type: string
                  format: date-time
                  nullable: true
                display:
                  type: object
                  properties: &ref_552
                    title:
                      type: string
                      description: The payment page title displayed to the user.
                    description:
                      type: string
                      description: A payment description displayed to the user.
                    callToAction:
                      type: string
                      enum: *ref_114
                      description: |-
                        The text to be displayed on web form's submit button.

                        If set to "auto" the UI will automatically select between 
                        "pay" and "confirm" for payments and payouts respectively.
                  description: Customizable display options for a payment link.
                customer:
                  type: object
                  properties: *ref_102
                payment:
                  type: object
                  properties: &ref_553
                    allowedMethods:
                      type: array
                      items:
                        type: string
                        enum: *ref_115
                        description: Payment methods allowed for collecting a payment.
                      minItems: 1
                      description: A list of payment methods that should be supported for this payment link.
                    cardDetails:
                      type: object
                      properties: *ref_116
                      description: Options for payment links used to collect a card payment.
                    achDetails:
                      type: object
                      properties: *ref_117
                      description: Options for payment links used to collect an ACH payment.
                  description: Options for payment links used to collect payment.
                payout:
                  type: object
                  properties: &ref_554
                    allowedMethods:
                      type: array
                      items:
                        type: string
                        enum: *ref_118
                        description: Payment methods allowed for disbursing funds.
                      minItems: 1
                      description: A list of payment methods that should be supported for this payment link.
                    recipient:
                      type: object
                      properties: &ref_559
                        email:
                          type: string
                          maxLength: 255
                          format: email
                          example: jordan.lee@classbooker.dev
                      description: |-
                        Specify the intended recipient of the payout.

                        This information will be used to authenticate the end user when they follow the payment link.
              example: &ref_644
                amount:
                  currency: USD
                  value: 12099
                customer:
                  requirePhone: true
                  requireAddress: true
      x-speakeasy-name-override: update
    delete:
      operationId: disablePaymentLink
      description: |-
        Disable a payment link.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: paymentLinkCode
          in: path
          required: true
          schema:
            type: string
            description: Unique code identifying this payment link.
            example: uc7ZYKrMhi
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Payment links
      x-speakeasy-name-override: disable
  /accounts/{accountID}/payment-links/{paymentLinkCode}/qrcode:
    get:
      operationId: getPaymentLinkQRCode
      description: |-
        Retrieve the payment link encoded in a QR code. 

        Use the `Accept` header to specify the format of the response. Supported formats are `application/json` and `image/png`.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: paymentLinkCode
          in: path
          required: true
          schema:
            type: string
            description: Unique code identifying this payment link.
            example: uc7ZYKrMhi
      responses:
        '200':
          description: The request has succeeded.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_573
                  - qrCode
                properties: &ref_574
                  qrCode:
                    type: string
                    description: A base64-encoded PNG image of the QR code.
                    example: iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAIAAADaA7F0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAA...
            image/png:
              schema:
                type: string
                format: binary
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Payment links
      x-speakeasy-name-override: getQRCode
  /accounts/{accountID}/payment-methods:
    get:
      operationId: listPaymentMethods
      description: |-
        Retrieve a list of payment methods associated with a Moov account. Read our [payment methods 
        guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/payment-methods.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: sourceID
          in: query
          required: false
          description: |-
            Optional parameter to filter the account's payment methods by source ID. 

            A source ID can be a [walletID](https://docs.moov.io/api/sources/wallets/list/), [cardID](https://docs.moov.io/api/sources/cards/list/), 
            or [bankAccountID](https://docs.moov.io/api/sources/bank-accounts/list/).
          schema:
            type: string
            format: uuid
          explode: false
        - name: paymentMethodType
          in: query
          required: false
          description: Optional parameter to filter the account's payment methods by payment method type.
          schema:
            type: string
            enum: *ref_33
            description: The payment method type that represents a payment rail and directionality
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  oneOf: &ref_133
                    - type: object
                      required: &ref_528
                        - paymentMethodID
                        - paymentMethodType
                        - wallet
                      properties: &ref_529
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - moov-wallet
                        wallet:
                          type: object
                          required: &ref_162
                            - walletID
                          properties: &ref_163
                            walletID:
                              type: string
                              format: uuid
                      title: Moov wallet
                    - type: object
                      required: &ref_326
                        - paymentMethodID
                        - paymentMethodType
                        - bankAccount
                      properties: &ref_327
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - ach-debit-fund
                        bankAccount:
                          type: object
                          required: &ref_120
                            - bankAccountID
                            - fingerprint
                            - status
                            - holderName
                            - holderType
                            - bankName
                            - bankAccountType
                            - routingNumber
                            - lastFourAccountNumber
                            - updatedOn
                          properties: &ref_121
                            bankAccountID:
                              type: string
                              format: uuid
                            fingerprint:
                              type: string
                              maxLength: 100
                              description: |-
                                Once the bank account is linked, we don't reveal the full bank account number. 

                                The fingerprint acts as a way to identify whether two linked bank accounts are the same.
                            status:
                              type: string
                              enum: *ref_119
                            holderName:
                              type: string
                            holderType:
                              type: string
                              enum: *ref_34
                              description: The type of holder on a funding source.
                            bankName:
                              type: string
                            bankAccountType:
                              type: string
                              enum: *ref_35
                              description: The bank account type.
                            routingNumber:
                              type: string
                            lastFourAccountNumber:
                              type: string
                            updatedOn:
                              type: string
                              format: date-time
                          description: A bank account as contained within a payment method.
                      title: ACH debit fund
                    - type: object
                      required: &ref_324
                        - paymentMethodID
                        - paymentMethodType
                        - bankAccount
                      properties: &ref_325
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - ach-debit-collect
                        bankAccount:
                          type: object
                          required: *ref_120
                          properties: *ref_121
                          description: A bank account as contained within a payment method.
                      title: ACH debit collect
                    - type: object
                      required: &ref_322
                        - paymentMethodID
                        - paymentMethodType
                        - bankAccount
                      properties: &ref_323
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - ach-credit-standard
                        bankAccount:
                          type: object
                          required: *ref_120
                          properties: *ref_121
                          description: A bank account as contained within a payment method.
                      title: ACH credit standard
                    - type: object
                      required: &ref_320
                        - paymentMethodID
                        - paymentMethodType
                        - bankAccount
                      properties: &ref_321
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - ach-credit-same-day
                        bankAccount:
                          type: object
                          required: *ref_120
                          properties: *ref_121
                          description: A bank account as contained within a payment method.
                      title: ACH credit same day
                    - type: object
                      required: &ref_605
                        - paymentMethodID
                        - paymentMethodType
                        - bankAccount
                      properties: &ref_606
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - rtp-credit
                        bankAccount:
                          type: object
                          required: *ref_120
                          properties: *ref_121
                          description: A bank account as contained within a payment method.
                      title: RTP credit
                    - type: object
                      required: &ref_370
                        - paymentMethodID
                        - paymentMethodType
                        - card
                      properties: &ref_371
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - card-payment
                        card:
                          type: object
                          required: &ref_129
                            - cardID
                            - fingerprint
                            - brand
                            - cardType
                            - lastFourCardNumber
                            - bin
                            - expiration
                            - billingAddress
                            - cardVerification
                            - issuer
                            - issuerCountry
                            - domesticPushToCard
                            - domesticPullFromCard
                          properties: &ref_130
                            cardID:
                              type: string
                              format: uuid
                              description: ID of the card.
                              example: 01234567-89ab-cdef-0123-456789abcdef
                            fingerprint:
                              type: string
                              maxLength: 100
                              description: |-
                                Uniquely identifies a linked payment card or token.
                                For Apple Pay, the fingerprint is based on the tokenized card number and may vary based on the user's device.
                                This field can be used to identify specific payment methods across multiple accounts on your platform.
                              example: 9948962d92a1ce40c9f918cd9ece3a22bde62fb325a2f1fe2e833969de672ba3
                            brand:
                              type: string
                              enum: *ref_57
                              description: The card brand.
                              example: Visa
                            cardType:
                              type: string
                              enum: *ref_58
                              description: The type of the card.
                              example: credit
                            lastFourCardNumber:
                              type: string
                              minLength: 4
                              maxLength: 4
                              description: Last four digits of the card number
                            bin:
                              type: string
                              minLength: 6
                              maxLength: 8
                              description: The first six to eight digits of the card number, which identifies the financial institution that issued the card.
                            expiration:
                              type: object
                              required: *ref_59
                              properties: *ref_60
                              description: The expiration date of the card or token.
                              example: *ref_61
                            holderName:
                              type: string
                              description: The name of the cardholder as it appears on the card.
                            billingAddress:
                              type: object
                              required: *ref_65
                              properties: *ref_66
                              example: *ref_67
                            cardVerification:
                              type: object
                              required: *ref_122
                              properties: *ref_123
                              description: The results of submitting cardholder data to a card network for verification.
                              example: *ref_124
                            issuer:
                              type: string
                              description: Financial institution that issued the card.
                            issuerCountry:
                              type: string
                              description: Country where the card was issued.
                            cardOnFile:
                              type: boolean
                              description: Indicates cardholder has authorized card to be stored for future payments.
                            merchantAccountID:
                              type: string
                              format: uuid
                            cardAccountUpdater:
                              type: object
                              properties: *ref_125
                              description: The results of the most recent card update request.
                              example: *ref_126
                            domesticPushToCard:
                              type: string
                              enum: *ref_127
                              description: Indicates which level of domestic push-to-card transfer is supported by the card, if any.
                              example: standard
                            domesticPullFromCard:
                              type: string
                              enum: *ref_128
                              description: Indicates if the card supports domestic pull-from-card transfer.
                              example: supported
                          description: A card as contained within a payment method.
                      title: Card payment
                    - type: object
                      required: &ref_571
                        - paymentMethodID
                        - paymentMethodType
                        - card
                      properties: &ref_572
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - push-to-card
                        card:
                          type: object
                          required: *ref_129
                          properties: *ref_130
                          description: A card as contained within a payment method.
                      title: Push to card
                    - type: object
                      required: &ref_569
                        - paymentMethodID
                        - paymentMethodType
                        - card
                      properties: &ref_570
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - pull-from-card
                        card:
                          type: object
                          required: *ref_129
                          properties: *ref_130
                          description: A card as contained within a payment method.
                      title: Pull from card
                    - type: object
                      required: &ref_340
                        - paymentMethodID
                        - paymentMethodType
                        - applePay
                      properties: &ref_341
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - apple-pay
                        applePay:
                          type: object
                          required: *ref_131
                          properties: *ref_132
                          description: Describes an Apple Pay token on a Moov account.
                      title: Apple Pay
                    - type: object
                      required: &ref_373
                        - paymentMethodID
                        - paymentMethodType
                      properties: &ref_374
                        paymentMethodID:
                          type: string
                          format: uuid
                          description: ID of the payment method.
                        paymentMethodType:
                          type: string
                          enum:
                            - card-present-payment
                        terminalCard:
                          type: object
                          properties: &ref_164
                            entryMode:
                              type: string
                              enum: &ref_452
                                - contactless
                              description: How the card information was entered into the point of sale terminal.
                              example: contactless
                            brand:
                              type: string
                              enum: *ref_57
                              description: The card brand.
                              example: Visa
                            bin:
                              type: string
                              minLength: 6
                              maxLength: 8
                            cardType:
                              type: string
                              enum: *ref_58
                              description: The type of the card.
                              example: credit
                            expiration:
                              type: object
                              required: *ref_59
                              properties: *ref_60
                              description: The expiration date of the card or token.
                              example: *ref_61
                            fingerprint:
                              type: string
                              maxLength: 100
                              description: |-
                                Uniquely identifies a linked payment card or token.
                                For Apple Pay, the fingerprint is based on the tokenized card number and may vary based on the user's device.
                                This field can be used to identify specific payment methods across multiple accounts on your platform.
                              example: 9948962d92a1ce40c9f918cd9ece3a22bde62fb325a2f1fe2e833969de672ba3
                            holderName:
                              type: string
                              description: The name of the cardholder as it appears on the card.
                            issuer:
                              type: string
                              description: Financial institution that issued the card.
                            issuerCountry:
                              type: string
                              description: Country where the card was issued.
                            lastFourCardNumber:
                              type: string
                              minLength: 4
                              maxLength: 4
                              description: Last four digits of the card number
                          description: Describes payment card details captured with tap or in-person payment.
                          example: &ref_165
                            entryMode: contactless
                            brand: Visa
                            bin: '123456'
                            cardType: credit
                            expiration:
                              month: '01'
                              year: '21'
                            fingerprint: 9948962d92a1ce40c9f918cd9ece3a22bde62fb325a2f1fe2e833969de672ba3
                            holderName: Jules Jackson
                            issuer: GRINGOTTS BANK
                            issuerCountry: US
                            lastFourCardNumber: '1234'
                      description: A card used at point of sale terminal for a card present transaction as contained within a payment method.
                  discriminator: &ref_134
                    propertyName: paymentMethodType
                    mapping:
                      moov-wallet: '#/components/schemas/MoovWalletPaymentMethod'
                      ach-debit-fund: '#/components/schemas/AchDebitFundPaymentMethod'
                      ach-debit-collect: '#/components/schemas/AchDebitCollectPaymentMethod'
                      ach-credit-standard: '#/components/schemas/AchCreditStandardPaymentMethod'
                      ach-credit-same-day: '#/components/schemas/AchCreditSameDayPaymentMethod'
                      rtp-credit: '#/components/schemas/RtpCreditPaymentMethod'
                      card-payment: '#/components/schemas/CardPaymentPaymentMethod'
                      push-to-card: '#/components/schemas/PushToCardPaymentMethod'
                      pull-from-card: '#/components/schemas/PullFromCardPaymentMethod'
                      apple-pay: '#/components/schemas/ApplePayPaymentMethod'
                      card-present-payment: '#/components/schemas/CardPresentPaymentPaymentMethod'
                  description: A method of moving money
              example:
                - paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                  paymentMethodType: moov-wallet
                  wallet:
                    walletID: 01234567-89ab-cdef-0123-456789abcdef
                - paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                  paymentMethodType: apple-pay
                  applePay:
                    brand: Visa
                    cardType: credit
                    cardDisplayName: Visa 1256
                    fingerprint: 9948962d92a1ce40c9f918cd9ece3a22bde62fb325a2f1fe2e833969de672ba3
                    expiration:
                      month: '01'
                      year: '21'
                    dynamicLastFour: '1256'
                    issuerCountry: US
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Payment methods
      x-speakeasy-name-override: list
  /accounts/{accountID}/payment-methods/{paymentMethodID}:
    get:
      operationId: getPaymentMethod
      description: |-
        Get the specified payment method associated with a Moov account. Read our [payment methods guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/payment-methods.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: paymentMethodID
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: ID of the payment method.
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                oneOf: *ref_133
                discriminator: *ref_134
                description: A method of moving money
              example:
                paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                paymentMethodType: moov-wallet
                wallet:
                  walletID: 01234567-89ab-cdef-0123-456789abcdef
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Payment methods
      x-speakeasy-name-override: get
  /accounts/{accountID}/representatives:
    post:
      operationId: createRepresentative
      description: |-
        Moov accounts associated with businesses require information regarding individuals who represent the business. 
        You can provide this information by creating a representative. Each account is allowed a maximum of 7 representatives. 
        Read our [business representatives guide](https://docs.moov.io/guides/accounts/requirements/business-representatives/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/representatives.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: ID of the account.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_135
                properties: *ref_136
                description: Describes a business representative.
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_590
                  - error
                properties: &ref_591
                  error:
                    type: object
                    properties:
                      name:
                        type: object
                        properties: *ref_137
                      phone:
                        type: object
                        properties: *ref_8
                      email:
                        type: string
                      address:
                        type: object
                        properties: *ref_7
                      birthDate:
                        type: object
                        properties: &ref_357
                          day:
                            type: string
                          month:
                            type: string
                          year:
                            type: string
                      governmentID:
                        type: object
                        properties: &ref_482
                          ssn:
                            type: object
                            properties:
                              full:
                                type: string
                              lastFour:
                                type: string
                          itin:
                            type: object
                            properties:
                              full:
                                type: string
                              lastFour:
                                type: string
                      responsibilities:
                        type: object
                        properties: &ref_589
                          isController:
                            type: string
                          isOwner:
                            type: string
                          ownershipPercentage:
                            type: string
                          jobTitle:
                            type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Representatives
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_412
                birthDate:
                  type: object
                  required: *ref_138
                  properties: *ref_139
                governmentID:
                  type: object
                  properties: *ref_27
                responsibilities:
                  type: object
                  properties: *ref_140
                  description: Describes the job responsibilities of a business representative.
              allOf: &ref_413
                - type: object
                  required:
                    - name
                  properties:
                    name:
                      type: object
                      required: *ref_3
                      properties: *ref_4
                    phone:
                      type: object
                      properties: *ref_2
                    email:
                      type: string
                      maxLength: 255
                      format: email
                      example: jordan.lee@classbooker.dev
                    address:
                      type: object
                      required: *ref_0
                      properties: *ref_1
                  description: The template for omitting properties.
              description: Describes a business representative to create.
      x-speakeasy-name-override: create
    get:
      operationId: listRepresentatives
      description: |-
        A Moov account may have multiple representatives depending on the associated business's ownership and management structure. 
        You can use this method to list all the representatives for a given Moov account. 
        Note that Moov accounts associated with an individual do not have representatives. 
        Read our [business representatives guide](https://docs.moov.io/guides/accounts/requirements/business-representatives/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/representatives.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: ID of the account.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_135
                  properties: *ref_136
                  description: Describes a business representative.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Representatives
      x-speakeasy-name-override: list
  /accounts/{accountID}/representatives/{representativeID}:
    delete:
      operationId: deleteRepresentative
      description: |-
        Deletes a business representative associated with a Moov account. Read our [business representatives guide](https://docs.moov.io/guides/accounts/requirements/business-representatives/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/representatives.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: ID of the account.
          schema:
            type: string
            format: uuid
        - name: representativeID
          in: path
          required: true
          description: ID of the representative.
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Representatives
      x-speakeasy-name-override: delete
    get:
      operationId: getRepresentative
      description: |-
        Retrieve a specific representative associated with a given Moov account. Read our [business representatives guide](https://docs.moov.io/guides/accounts/requirements/business-representatives/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/representatives.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: ID of the account.
          schema:
            type: string
            format: uuid
        - name: representativeID
          in: path
          required: true
          description: ID of the representative.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_135
                properties: *ref_136
                description: Describes a business representative.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Representatives
      x-speakeasy-name-override: get
    patch:
      operationId: updateRepresentative
      description: |-
        If a representative's information has changed you can patch the information associated with a specific representative ID. 
        Read our [business representatives guide](https://docs.moov.io/guides/accounts/requirements/business-representatives/) to learn more.

        When **can** profile data be updated:

        - For unverified representatives, all profile data can be edited.
        - During the verification process, missing or incomplete profile data can be edited.
        - Verified representatives can only add missing profile data.

        When **can't** profile data be updated:

        - Verified representatives cannot change any existing profile data.

        If you need to update information in a locked state, please contact Moov support.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/representatives.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: ID of the account.
          schema:
            type: string
            format: uuid
        - name: representativeID
          in: path
          required: true
          description: ID of the representative.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_135
                properties: *ref_136
                description: Describes a business representative.
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Representatives
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_646
                name:
                  type: object
                  properties: *ref_141
                phone:
                  type: object
                  allOf:
                    - type: object
                      properties: *ref_2
                  nullable: true
                email:
                  type: object
                  allOf:
                    - type: string
                      maxLength: 255
                      format: email
                      example: jordan.lee@classbooker.dev
                  nullable: true
                address:
                  type: object
                  allOf:
                    - type: object
                      properties: *ref_28
                  nullable: true
                birthDate:
                  type: object
                  allOf:
                    - type: object
                      properties: *ref_142
                  nullable: true
                governmentID:
                  type: object
                  allOf:
                    - type: object
                      properties: *ref_27
                  nullable: true
                responsibilities:
                  type: object
                  allOf:
                    - type: object
                      properties: *ref_140
                      description: Describes the job responsibilities of a business representative.
                  nullable: true
      x-speakeasy-name-override: update
  /accounts/{accountID}/schedules:
    post:
      operationId: createSchedule
      description: |-
        Describes the schedule to create or modify.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_151
                  - destinationAccountID
                  - mode
                  - ownerAccountID
                  - partnerAccountID
                  - scheduleID
                  - sourceAccountID
                  - createdOn
                  - updatedOn
                properties: &ref_152
                  description:
                    type: string
                    description: Simple description to place on the transfer.
                  destinationAccountID:
                    type: string
                    format: uuid
                    example: c520f1b9-0ba7-42f5-b977-248cdbe41c69
                  mode:
                    type: string
                    enum: *ref_17
                    description: The operating mode for an account.
                    example: production
                  occurrences:
                    type: array
                    items:
                      type: object
                      required: &ref_155
                        - runOn
                        - runTransfer
                      properties: &ref_156
                        scheduleID:
                          type: string
                          format: uuid
                        occurrenceID:
                          type: string
                          format: uuid
                        mode:
                          allOf:
                            - type: string
                              enum: *ref_17
                              description: The operating mode for an account.
                              example: production
                          description: Sandbox or production account mode of this schedule.
                        generated:
                          type: boolean
                          description: True if this was generated by a RRule.
                        indefinite:
                          type: boolean
                          description: True if the RRule set runs indefinitely.
                        canceledOn:
                          type: string
                          format: date-time
                        runOn:
                          type: string
                          format: date-time
                        runTransfer:
                          type: object
                          required: &ref_145
                            - amount
                            - destination
                            - partnerAccountID
                            - source
                            - description
                          properties: &ref_146
                            amount:
                              type: object
                              required: *ref_98
                              properties: *ref_99
                            destination:
                              type: object
                              required: &ref_143
                                - paymentMethodID
                              properties: &ref_144
                                paymentMethodID:
                                  type: string
                                  format: uuid
                                  example: c520f1b9-0ba7-42f5-b977-248cdbe41c69
                                achDetails:
                                  type: object
                                  properties:
                                    companyEntryDescription:
                                      type: string
                                      minLength: 4
                                      maxLength: 10
                                      description: An optional override of the default NACHA company entry description for a transfer.
                                      example: Gym dues
                                    originatingCompanyName:
                                      type: string
                                      minLength: 4
                                      maxLength: 16
                                      description: An optional override of the default NACHA company name for a transfer.
                                      example: Whole Body Fit
                                cardDetails:
                                  type: object
                                  properties:
                                    dynamicDescriptor:
                                      type: string
                                      minLength: 4
                                      maxLength: 22
                                      description: An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field.
                                      example: WhlBdy *Yoga 11-12
                            partnerAccountID:
                              type: string
                              format: uuid
                              example: c520f1b9-0ba7-42f5-b977-248cdbe41c69
                            source:
                              type: object
                              required: *ref_143
                              properties: *ref_144
                            description:
                              type: string
                              description: Simple description to place on the transfer.
                          description: Defines the attributes of a transfer.
                        ranOn:
                          type: string
                          format: date-time
                        ranTransferID:
                          type: string
                          format: uuid
                        status:
                          type: string
                          enum: &ref_533
                            - pending
                            - failed
                            - completed
                          description: Status of the completed occurrence.
                        error:
                          type: object
                          properties:
                            message:
                              type: string
                          description: Contains details on why the occurrence errored.
                  ownerAccountID:
                    type: string
                    format: uuid
                    example: c520f1b9-0ba7-42f5-b977-248cdbe41c69
                  partnerAccountID:
                    type: string
                    format: uuid
                    example: c520f1b9-0ba7-42f5-b977-248cdbe41c69
                  recur:
                    type: object
                    required: &ref_147
                      - recurrenceRule
                      - runTransfer
                    properties: &ref_148
                      recurrenceRule:
                        type: string
                        description: |2-
                            RRule as defined by RFC 5545 (https://www.rfc-editor.org/rfc/rfc5545#section-3.3.10). 
                            Generators available online at the following sites - https://freetools.textmagic.com/rrule-generator, https://jkbrzt.github.io/rrule/
                      runTransfer:
                        type: object
                        required: *ref_145
                        properties: *ref_146
                        description: Defines the attributes of a transfer.
                      indefinite:
                        type: boolean
                        description: True if the RRule set runs indefinitely.
                      start:
                        type: string
                        format: date-time
                        example: '2009-11-10T23:00:00Z'
                    description: Defines configuration for recurring transfers.
                  scheduleID:
                    type: string
                    format: uuid
                    example: c520f1b9-0ba7-42f5-b977-248cdbe41c69
                  sourceAccountID:
                    type: string
                    format: uuid
                    example: c520f1b9-0ba7-42f5-b977-248cdbe41c69
                  createdOn:
                    type: string
                    format: date-time
                  updatedOn:
                    type: string
                    format: date-time
                  disabledOn:
                    type: string
                    format: date-time
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_153
                  occurrences:
                    type: object
                    additionalProperties:
                      type: string
                  recur:
                    type: string
                  description:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Scheduling
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_154
                description:
                  type: string
                  description: Simple description of what the schedule is.
                occurrences:
                  type: array
                  items:
                    type: object
                    properties: &ref_532
                      canceled:
                        type: boolean
                        description: If set to true, will cancel the occurrence. If set false will resume the occurrence. If unset leaves the value unchanged.
                      occurrenceID:
                        type: string
                        format: uuid
                        description: |2-
                            If set this defines what occurrence to modify, if invalid will fail the request. 
                            If null or "" it defines to add a new occurrence.
                        example: c520f1b9-0ba7-42f5-b977-248cdbe41c69
                      runOn:
                        type: string
                        format: date-time
                        description: Timestamp to run the transfer after. Value must be into the future.
                        example: '2009-11-10T23:00:00Z'
                      runTransfer:
                        type: object
                        required: *ref_145
                        properties: *ref_146
                        description: Defines the attributes of a transfer.
                    description: Occurrences to either create or modify.
                recur:
                  type: object
                  required: *ref_147
                  properties: *ref_148
                  description: Defines configuration for recurring transfers.
      x-speakeasy-name-override: create
    get:
      operationId: listSchedules
      description: |-
        Describes a list of schedules associated with an account. Append the `hydrate=accounts` query parameter to include partial account details in the response.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: skip
          in: query
          required: false
          schema:
            type: integer
            format: int64
            description: The number of entries to skip when paginating a large result set.
            example: 60
          explode: false
        - name: count
          in: query
          required: false
          schema:
            type: integer
            format: int64
            description: Limits the maximum number of results returned, or determines the page size when used with `skip` for pagination.
            example: 20
          explode: false
        - name: hydrate
          in: query
          required: false
          schema:
            type: string
            enum:
              - accounts
          explode: false
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties: &ref_607
                    sourceAccount:
                      type: object
                      required: &ref_149
                        - accountID
                        - displayName
                      properties: &ref_150
                        accountID:
                          type: string
                        displayName:
                          type: string
                        email:
                          type: string
                    destinationAccount:
                      type: object
                      required: *ref_149
                      properties: *ref_150
                    partnerAccount:
                      type: object
                      required: *ref_149
                      properties: *ref_150
                  allOf: &ref_608
                    - type: object
                      required: *ref_151
                      properties: *ref_152
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Scheduling
      x-speakeasy-name-override: list
  /accounts/{accountID}/schedules/{scheduleID}:
    put:
      operationId: updateSchedule
      description: |-
        Describes the schedule to modify.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: scheduleID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_151
                properties: *ref_152
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: *ref_153
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Scheduling
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: *ref_154
      x-speakeasy-name-override: update
    get:
      operationId: getSchedules
      description: |-
        Describes a schedule associated with an account. Requires at least 1 occurrence or recurTransfer to be specified.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: scheduleID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_151
                properties: *ref_152
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Scheduling
      x-speakeasy-name-override: get
    delete:
      operationId: cancelSchedule
      description: |-
        Describes the schedule to cancel.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: scheduleID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Scheduling
      x-speakeasy-name-override: cancel
  /accounts/{accountID}/schedules/{scheduleID}/occurrences/{occurrenceFilter}:
    get:
      operationId: getScheduledOccurrence
      description: |-
        Gets a specific occurrence.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: scheduleID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: occurrenceFilter
          in: path
          required: true
          description: |2-
              Allows the specification of additional filters beyond the UUID.

              Specifying a UUID string returns the exact occurrence.
              Specifying a RFC 3339 timestamp returns the latest occurrence at or before that timestamp.
              Specifying `latest` returns the latest occurrence at or before now.
          schema:
            type: string
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_155
                properties: *ref_156
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Scheduling
      x-speakeasy-name-override: getOccurrance
  /accounts/{accountID}/sweep-configs:
    post:
      operationId: createSweepConfig
      description: |-
        Create a sweep config for a wallet.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_160
                  - sweepConfigID
                  - walletID
                  - status
                  - pushPaymentMethod
                  - pullPaymentMethod
                  - createdOn
                  - updatedOn
                properties: &ref_161
                  sweepConfigID:
                    type: string
                    format: uuid
                  walletID:
                    type: string
                    format: uuid
                  status:
                    type: string
                    enum: &ref_159
                      - enabled
                      - disabled
                  pushPaymentMethod:
                    type: object
                    required: &ref_157
                      - paymentMethodID
                    properties: &ref_158
                      paymentMethodID:
                        type: string
                        format: uuid
                        description: ID of the payment method.
                      disabledOn:
                        type: string
                        format: date-time
                    description: |-
                      The payment method used to push or pull funds to a bank account.
                      The push payment method can only be ach-credit-standard or ach-credit-same-day. The pull payment method can only be ach-debit-fund.
                  pullPaymentMethod:
                    type: object
                    required: *ref_157
                    properties: *ref_158
                    description: |-
                      The payment method used to push or pull funds to a bank account.
                      The push payment method can only be ach-credit-standard or ach-credit-same-day. The pull payment method can only be ach-debit-fund.
                  minimumBalance:
                    type: string
                    pattern: ^\d+\.\d{1,2}$
                    description: An optional field to specify an amount to maintain in the wallet. This is a decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99. If not supplied, the default is 0.00.
                  statementDescriptor:
                    type: string
                    minLength: 4
                    maxLength: 10
                    description: The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
                  lockedFields:
                    type: array
                    items:
                      type: string
                    description: An array of fields that are locked. To request updates, please contact Moov support.
                  createdOn:
                    type: string
                    format: date-time
                  updatedOn:
                    type: string
                    format: date-time
                  disabledOn:
                    type: string
                    format: date-time
              example:
                sweepConfigID: 01234567-89ab-cdef-0123-456789abcdef
                walletID: 01234567-89ab-cdef-0123-456789abcdef
                status: enabled
                pushPaymentMethod:
                  paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                pullPaymentMethod:
                  paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                minimumBalance: '0.00'
                statementDescriptor: swp_012345
                createdOn: '2024-05-06T12:20:38.184Z'
                updatedOn: '2024-05-06T12:20:38.184Z'
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_418
                  walletID:
                    type: string
                  status:
                    type: string
                  pushPaymentMethodID:
                    type: string
                  pullPaymentMethodID:
                    type: string
                  statementDescriptor:
                    type: string
                  minimumBalance:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Sweeps
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_416
                - walletID
                - status
                - pushPaymentMethodID
                - pullPaymentMethodID
              properties: &ref_417
                walletID:
                  type: string
                  format: uuid
                status:
                  type: string
                  enum: *ref_159
                pushPaymentMethodID:
                  type: string
                  format: uuid
                  description: ID of the payment method.
                pullPaymentMethodID:
                  type: string
                  format: uuid
                  description: ID of the payment method.
                statementDescriptor:
                  type: string
                  minLength: 4
                  maxLength: 10
                  description: The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
                minimumBalance:
                  type: string
                  pattern: ^\d+\.\d{1,2}$
            example:
              walletID: 01234567-89ab-cdef-0123-456789abcdef
              status: enabled
              pushPaymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
              pullPaymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
      x-speakeasy-name-override: createConfig
    get:
      operationId: listSweepConfigs
      description: |-
        List sweep configs associated with an account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_160
                  properties: *ref_161
              example:
                - sweepConfigID: 01234567-89ab-cdef-0123-456789abcdef
                  walletID: 01234567-89ab-cdef-0123-456789abcdef
                  status: enabled
                  pushPaymentMethod:
                    paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                  pullPaymentMethod:
                    paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                  minimumBalance: '0.00'
                  statementDescriptor: swp_012345
                  createdOn: '2024-05-06T12:20:38.184Z'
                  updatedOn: '2024-05-06T12:20:38.184Z'
                - sweepConfigID: 01234567-89ab-cdef-0123-456789abcdef
                  walletID: 01234567-89ab-cdef-0123-456789abcdef
                  status: disabled
                  pushPaymentMethod:
                    paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                  pullPaymentMethod:
                    paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                  minimumBalance: '0.00'
                  statementDescriptor: swp_012345
                  createdOn: '2024-05-06T12:20:38.184Z'
                  updatedOn: '2024-05-06T12:20:38.184Z'
                  disabledOn: '2024-05-06T12:20:38.184Z'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Sweeps
      x-speakeasy-name-override: listConfigs
  /accounts/{accountID}/sweep-configs/{sweepConfigID}:
    get:
      operationId: getSweepConfig
      description: |-
        Get a sweep config associated with a wallet.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: sweepConfigID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_160
                properties: *ref_161
              example:
                sweepConfigID: 01234567-89ab-cdef-0123-456789abcdef
                walletID: 01234567-89ab-cdef-0123-456789abcdef
                status: enabled
                pushPaymentMethod:
                  paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                pullPaymentMethod:
                  paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                minimumBalance: '0.00'
                statementDescriptor: swp_012345
                createdOn: '2024-05-06T12:20:38.184Z'
                updatedOn: '2024-05-06T12:20:38.184Z'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Sweeps
      x-speakeasy-name-override: getConfig
    patch:
      operationId: updateSweepConfig
      description: |-
        Update settings on a sweep config.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: sweepConfigID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_160
                properties: *ref_161
              example:
                sweepConfigID: 01234567-89ab-cdef-0123-456789abcdef
                walletID: 01234567-89ab-cdef-0123-456789abcdef
                status: disabled
                pushPaymentMethod:
                  paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                pullPaymentMethod:
                  paymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                minimumBalance: '0.00'
                statementDescriptor: swp_012345
                createdOn: '2024-05-06T12:20:38.184Z'
                updatedOn: '2024-05-06T12:20:38.184Z'
                disabledOn: '2024-05-06T12:20:38.184Z'
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_550
                  status:
                    type: string
                  pushPaymentMethodID:
                    type: string
                  pullPaymentMethodID:
                    type: string
                  statementDescriptor:
                    type: string
                  minimumBalance:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Sweeps
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_549
                status:
                  allOf:
                    - type: string
                      enum: *ref_159
                  nullable: true
                pushPaymentMethodID:
                  type: object
                  allOf:
                    - type: string
                      format: uuid
                      description: ID of the payment method.
                  nullable: true
                pullPaymentMethodID:
                  type: object
                  allOf:
                    - type: string
                      format: uuid
                      description: ID of the payment method.
                  nullable: true
                statementDescriptor:
                  type: object
                  allOf:
                    - type: string
                      minLength: 4
                      maxLength: 10
                      description: The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
                  nullable: true
                minimumBalance:
                  type: string
                  nullable: true
                  pattern: ^\d+\.\d{1,2}$
            example:
              status: disabled
      x-speakeasy-name-override: updateConfig
  /accounts/{accountID}/transfers:
    post:
      operationId: createTransfer
      description: |-
        Move money by providing the source, destination, and amount in the request body.

        Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: x-idempotency-key
          in: header
          required: true
          description: Prevents duplicate transfers from being created.
          schema:
            type: string
            format: uuid
        - name: x-wait-for
          in: header
          required: false
          description: |-
            Optional header that indicates whether to return a synchronous response that includes full transfer and rail-specific details or an 
            asynchronous response indicating the transfer was created (this is the default response if the header is omitted).
          schema:
            type: string
            enum: &ref_186
              - rail-response
        - name: accountID
          in: path
          required: true
          description: The merchant's Moov account ID.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                oneOf: &ref_625
                  - type: object
                    required: &ref_176
                      - transferID
                      - createdOn
                      - source
                      - destination
                      - status
                      - amount
                    properties: &ref_177
                      transferID:
                        type: string
                        format: uuid
                      createdOn:
                        type: string
                        format: date-time
                      source:
                        type: object
                        required: &ref_626
                          - paymentMethodID
                          - paymentMethodType
                          - account
                        properties: &ref_627
                          transferID:
                            type: string
                            format: uuid
                            description: UUID present only if the transfer is part of a transfer group.
                          paymentMethodID:
                            type: string
                          paymentMethodType:
                            type: string
                            enum: *ref_33
                            description: The payment method type that represents a payment rail and directionality
                          account:
                            type: object
                            required: &ref_167
                              - accountID
                              - email
                              - displayName
                            properties: &ref_168
                              accountID:
                                type: string
                              email:
                                type: string
                              displayName:
                                type: string
                          bankAccount:
                            type: object
                            required: *ref_120
                            properties: *ref_121
                            description: A bank account as contained within a payment method.
                          wallet:
                            type: object
                            required: *ref_162
                            properties: *ref_163
                          card:
                            type: object
                            required: *ref_129
                            properties: *ref_130
                            description: A card as contained within a payment method.
                          applePay:
                            type: object
                            required: *ref_131
                            properties: *ref_132
                            description: Describes an Apple Pay token on a Moov account.
                          terminalCard:
                            type: object
                            properties: *ref_164
                            description: Describes payment card details captured with tap or in-person payment.
                            example: *ref_165
                          cardDetails:
                            type: object
                            required: &ref_171
                              - status
                            properties: &ref_172
                              status:
                                type: string
                                enum: &ref_375
                                  - initiated
                                  - confirmed
                                  - canceled
                                  - settled
                                  - failed
                                  - completed
                                description: Status of a transaction within the card payment lifecycle.
                              failureCode:
                                type: string
                                enum: &ref_173
                                  - call-issuer
                                  - do-not-honor
                                  - processing-error
                                  - invalid-transaction
                                  - invalid-amount
                                  - no-such-issuer
                                  - reenter-transaction
                                  - cvv-mismatch
                                  - lost-or-stolen
                                  - insufficient-funds
                                  - invalid-card-number
                                  - invalid-merchant
                                  - expired-card
                                  - incorrect-pin
                                  - transaction-not-allowed
                                  - suspected-fraud
                                  - amount-limit-exceeded
                                  - velocity-limit-exceeded
                                  - revocation-of-authorization
                                  - card-not-activated
                                  - issuer-not-available
                                  - could-not-route
                                  - cardholder-account-closed
                                  - unknown-issue
                                  - duplicate-transaction
                              dynamicDescriptor:
                                type: string
                                minLength: 4
                                maxLength: 22
                                description: An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field.
                                example: WhlBdy *Yoga 11-12
                              transactionSource:
                                type: string
                                enum: &ref_179
                                  - first-recurring
                                  - recurring
                                  - unscheduled
                                description: |-
                                  Specifies the nature and initiator of a transaction. 

                                  Crucial for recurring and merchant-initiated transactions as per card scheme rules. 
                                  Omit for customer-initiated e-commerce transactions.
                              initiatedOn:
                                type: string
                                format: date-time
                              confirmedOn:
                                type: string
                                format: date-time
                              settledOn:
                                type: string
                                format: date-time
                              failedOn:
                                type: string
                                format: date-time
                              canceledOn:
                                type: string
                                format: date-time
                              completedOn:
                                type: string
                                format: date-time
                              interchangeQualification:
                                type: string
                                description: The program assigned by the card network that determines the interchange rate for the transfer.
                                deprecated: true
                                example: Visa Signature and Visa Infinite (Spend not-qualified) Product 1
                              feeProgram:
                                type: string
                                description: The program assigned by the card network that determines the interchange rate for the transfer.
                                example: Visa Signature and Visa Infinite (Spend not-qualified) Product 1
                            description: Card-specific details about the transaction.
                          achDetails:
                            type: object
                            required: &ref_169
                              - status
                              - traceNumber
                            properties: &ref_170
                              status:
                                type: string
                                enum: &ref_313
                                  - initiated
                                  - originated
                                  - corrected
                                  - returned
                                  - completed
                                  - canceled
                                description: Status of a transaction within the ACH lifecycle.
                              traceNumber:
                                type: string
                                maxLength: 15
                                example: '124782618117'
                              return:
                                type: object
                                properties: &ref_166
                                  code:
                                    type: string
                                  reason:
                                    type: string
                                  description:
                                    type: string
                              correction:
                                type: object
                                properties: *ref_166
                              companyEntryDescription:
                                type: string
                                minLength: 4
                                maxLength: 10
                                description: An optional override of the default NACHA company entry description for a transfer.
                                example: Gym dues
                              originatingCompanyName:
                                type: string
                                minLength: 4
                                maxLength: 16
                                description: An optional override of the default NACHA company name for a transfer.
                                example: Whole Body Fit
                              secCode:
                                type: string
                                enum: &ref_181
                                  - WEB
                                  - PPD
                                  - CCD
                                  - TEL
                                description: Code used to identify the ACH authorization method.
                              canceledOn:
                                type: string
                                format: date-time
                              initiatedOn:
                                type: string
                                format: date-time
                              originatedOn:
                                type: string
                                format: date-time
                              correctedOn:
                                type: string
                                format: date-time
                              returnedOn:
                                type: string
                                format: date-time
                              failedOn:
                                type: string
                                format: date-time
                              completedOn:
                                type: string
                                format: date-time
                              debitHoldPeriod:
                                type: string
                                enum: &ref_180
                                  - no-hold
                                  - 1-day
                                  - 2-days
                                description: An optional override of your default ACH hold period in banking days. The hold period must be longer than or equal to your default setting.
                                example: 2-days
                            description: ACH specific details about the transaction.
                      destination:
                        type: object
                        required: &ref_620
                          - paymentMethodID
                          - paymentMethodType
                          - account
                        properties: &ref_621
                          paymentMethodID:
                            type: string
                          paymentMethodType:
                            type: string
                            enum: *ref_33
                            description: The payment method type that represents a payment rail and directionality
                          account:
                            type: object
                            required: *ref_167
                            properties: *ref_168
                          bankAccount:
                            type: object
                            required: *ref_120
                            properties: *ref_121
                            description: A bank account as contained within a payment method.
                          wallet:
                            type: object
                            required: *ref_162
                            properties: *ref_163
                          card:
                            type: object
                            required: *ref_129
                            properties: *ref_130
                            description: A card as contained within a payment method.
                          achDetails:
                            type: object
                            required: *ref_169
                            properties: *ref_170
                            description: ACH specific details about the transaction.
                          applePay:
                            type: object
                            required: *ref_131
                            properties: *ref_132
                            description: Describes an Apple Pay token on a Moov account.
                          cardDetails:
                            type: object
                            required: *ref_171
                            properties: *ref_172
                            description: Card-specific details about the transaction.
                          rtpDetails:
                            type: object
                            required: &ref_577
                              - status
                            properties: &ref_578
                              status:
                                type: string
                                enum: &ref_579
                                  - initiated
                                  - completed
                                  - failed
                                  - accepted-without-posting
                                description: Status of a transaction within the RTP lifecycle.
                              networkResponseCode:
                                type: string
                                description: Response code returned by network on failure.
                              failureCode:
                                type: string
                                enum: &ref_575
                                  - processing-error
                                  - invalid-account
                                  - account-closed
                                  - account-blocked
                                  - invalid-field
                                  - transaction-not-supported
                                  - limit-exceeded
                                  - invalid-amount
                                  - customer-deceased
                                  - other
                                description: Status codes for RTP failures.
                              initiatedOn:
                                type: string
                                format: date-time
                              completedOn:
                                type: string
                                format: date-time
                              failedOn:
                                type: string
                                format: date-time
                              acceptedWithoutPostingOn:
                                type: string
                                format: date-time
                            description: RTP specific details about the transaction.
                      completedOn:
                        type: string
                        format: date-time
                      status:
                        type: string
                        enum: &ref_183
                          - created
                          - pending
                          - completed
                          - failed
                          - reversed
                          - queued
                          - canceled
                        description: Status of a transfer.
                      failureReason:
                        type: string
                        enum: &ref_622
                          - source-payment-error
                          - destination-payment-error
                          - wallet-insufficient-funds
                          - rejected-high-risk
                          - processing-error
                        description: Reason for a transfer's failure.
                      amount:
                        type: object
                        required: *ref_98
                        properties: *ref_99
                      description:
                        type: string
                        maxLength: 128
                        description: An optional description of the transfer for your own internal use.
                        example: Pay Instructor for May 15 Class
                      metadata:
                        type: object
                        additionalProperties: *ref_13
                        description: Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
                        example: *ref_14
                      facilitatorFee:
                        type: object
                        properties: &ref_182
                          total:
                            type: integer
                            format: int64
                            description: Total facilitator fee in cents. Only either `total` or `totalDecimal` can be set.
                          totalDecimal:
                            type: string
                            pattern: ^\d+\.\d{1,9}$
                            description: |-
                              Same as `total`, but a decimal-formatted numerical string that represents up to 9 decimal place precision. 

                              Only either `total` or `totalDecimal` can be set. Set this field if you expect the fee to be in fractions of a cent.
                            example: '12.987654321'
                          markup:
                            type: integer
                            format: int64
                            description: Markup facilitator fee in cents. Only either `markup` or `markupDecimal` can be set.
                          markupDecimal:
                            type: string
                            pattern: ^\d+\.\d{1,9}$
                            description: |-
                              Same as `markup`, but a decimal-formatted numerical string that represents up to 9 decimal place precision. 
                              Only either `markup` or `markupDecimal` can be set. Set this field if you expect the fee to be in fractions of a cent.
                            example: '0.987654321'
                        description: Total or markup fee.
                      moovFee:
                        type: integer
                        format: int64
                        description: Fees charged to your platform account for transfers.
                      moovFeeDecimal:
                        type: string
                        description: Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
                      moovFeeDetails:
                        type: object
                        required: &ref_526
                          - moovProcessing
                        properties: &ref_527
                          cardScheme:
                            type: string
                            description: Card scheme fees accrued during authorization and settlement. String type represents dollars with up to 9 decimal place precision.
                          interchange:
                            type: string
                            description: Network interchange fee for Visa, Mastercard, or Discover. String type represents dollars with up to 9 decimal place precision.
                          discount:
                            type: string
                            description: Network discount fee for American Express. String type represents dollars with up to 9 decimal place precision.
                          moovProcessing:
                            type: string
                            description: Moov processing fee. String type represents dollars with up to 9 decimal place precision.
                        description: Processing and pass-through costs that add up to the moovFee.
                      groupID:
                        type: string
                      cancellations:
                        type: array
                        items:
                          type: object
                          required: &ref_184
                            - cancellationID
                            - status
                            - createdOn
                          properties: &ref_185
                            cancellationID:
                              type: string
                            status:
                              type: string
                              enum: &ref_362
                                - pending
                                - completed
                                - failed
                            createdOn:
                              type: string
                              format: date-time
                      refundedAmount:
                        type: object
                        required: *ref_98
                        properties: *ref_99
                      refunds:
                        type: array
                        items:
                          type: object
                          required: &ref_187
                            - refundID
                            - createdOn
                            - updatedOn
                            - status
                            - amount
                          properties: &ref_188
                            refundID:
                              type: string
                              format: uuid
                              description: Identifier for the refund.
                            createdOn:
                              type: string
                              format: date-time
                            updatedOn:
                              type: string
                              format: date-time
                            status:
                              type: string
                              enum: &ref_586
                                - created
                                - pending
                                - completed
                                - failed
                            amount:
                              type: object
                              required: *ref_98
                              properties: *ref_99
                            cardDetails:
                              type: object
                              required: &ref_583
                                - status
                              properties: &ref_584
                                status:
                                  type: string
                                  enum: &ref_585
                                    - initiated
                                    - confirmed
                                    - settled
                                    - failed
                                    - completed
                                failureCode:
                                  type: string
                                  enum: *ref_173
                                initiatedOn:
                                  type: string
                                  format: date-time
                                confirmedOn:
                                  type: string
                                  format: date-time
                                settledOn:
                                  type: string
                                  format: date-time
                                failedOn:
                                  type: string
                                  format: date-time
                                completedOn:
                                  type: string
                                  format: date-time
                          description: Details of a card refund.
                          title: Sync
                      disputedAmount:
                        type: object
                        required: *ref_98
                        properties: *ref_99
                      disputes:
                        type: array
                        items:
                          type: object
                          required: &ref_365
                            - disputeID
                            - createdOn
                            - amount
                          properties: &ref_366
                            disputeID:
                              type: string
                              format: uuid
                            createdOn:
                              type: string
                              format: date-time
                            amount:
                              type: object
                              required: *ref_98
                              properties: *ref_99
                          description: Details of a card dispute.
                      sweepID:
                        type: string
                      scheduleID:
                        type: string
                      occurrenceID:
                        type: string
                    description: Details of a Transfer.
                    title: Sync
                    example: &ref_178
                      transferID: d835gf30-4b19-4850-a9b2-c0624c41ecb3
                      source:
                        paymentMethodID: 9506dbf6-4208-44c3-ad8a-e4431660e1f2
                        paymentMethodType: card-payment
                        account:
                          accountID: 7e4b26c2-b399-49ef-8390-50e1ea44d550
                          email: jules@julesjackson.com
                          displayName: Jules Jackson
                        card:
                          cardID: aefd5563-93c6-413c-875e-1bd0ebfc116d
                          fingerprint: 2f5d782ceef1c3bd31ed5...
                          brand: Visa
                          cardType: credit
                          lastFourCardNumber: '2000'
                          bin: '400020'
                          expiration:
                            month: '01'
                            year: '28'
                          holderName: Jules Jackson
                          billingAddress:
                            postalCode: '80301'
                          domesticPushToCard: standard
                          domesticPullFromCard: supported
                          cardVerification:
                            cvv: unavailable
                            addressLine1: unavailable
                            postalCode: unavailable
                            accountName:
                              firstName: unavailable
                              lastName: unavailable
                              middleName: unavailable
                              fullName: unavailable
                          issuer: Moov Visa Sandbox
                          issuerCountry: US
                          cardAccountUpdater: {}
                        cardDetails:
                          status: confirmed
                          dynamicDescriptor: WhlBdy *Yoga 11-12
                          confirmedOn: '2025-01-21T21:32:16.799681237Z'
                      destination:
                        paymentMethodID: 3f9969cf-a1f3-4d83-8ddc-229a506651cf
                        paymentMethodType: moov-wallet
                        account:
                          accountID: 34233b72-780c-4a0d-8b08-cbbe23k878f8
                          email: john@wholebodyfitness.io
                          displayName: Whole Body Fitness
                        wallet:
                          walletID: 744b2e78-8cc8-4a6a-af42-611e3b844503
                      status: pending
                      amount:
                        currency: USD
                        value: 32945
                      description: Transfer from card to wallet
                      createdOn: '2025-01-21T21:32:16Z'
                  - type: object
                    required: &ref_174
                      - transferID
                      - createdOn
                    properties: &ref_175
                      transferID:
                        type: string
                        format: uuid
                      createdOn:
                        type: string
                        format: date-time
                    title: Async
        '201':
          description: A transfer was successfully created but an error occurred while generating the synchronous response. The asynchronous response object will be returned.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_174
                properties: *ref_175
                title: Async
        '202':
          description: A transfer was successfully created but a timeout occurred while waiting for a synchronous response. Rail-specific details may be missing from the response object.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_176
                properties: *ref_177
                description: Details of a Transfer.
                title: Sync
                example: *ref_178
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: Attempted to create a transfer using a duplicate X-Idempotency-Key header.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_176
                properties: *ref_177
                description: Details of a Transfer.
                title: Sync
                example: *ref_178
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_628
                  Transfer:
                    type: string
                  amount:
                    type: string
                  source:
                    type: string
                  sourcePaymentMethodID:
                    type: string
                  destinationPaymentMethodID:
                    type: string
                  description:
                    type: string
                  FacilitatorFee.TotalDecimal:
                    type: string
                  FacilitatorFee.MarkupDecimal:
                    type: string
                  metadata:
                    type: string
                  error:
                    type: string
                    description: Used for generic errors when invalid request data isn't attributed to a single request field.
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_422
                - source
                - destination
                - amount
              properties: &ref_423
                source:
                  type: object
                  properties: &ref_431
                    transferID:
                      type: string
                      format: uuid
                      description: |-
                        A `transferID` is used to create a [transfer group](https://docs.moov.io/guides/money-movement/transfer-groups/), 
                        associating the new transfer with a parent transfer.
                    paymentMethodID:
                      type: string
                      format: uuid
                    paymentToken:
                      type: string
                    cardDetails:
                      type: object
                      properties: &ref_433
                        dynamicDescriptor:
                          type: string
                          minLength: 4
                          maxLength: 22
                          description: An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field.
                          example: WhlBdy *Yoga 11-12
                        transactionSource:
                          type: string
                          enum: *ref_179
                          description: |-
                            Specifies the nature and initiator of a transaction. 

                            Crucial for recurring and merchant-initiated transactions as per card scheme rules. 
                            Omit for customer-initiated e-commerce transactions.
                    achDetails:
                      type: object
                      properties: &ref_432
                        companyEntryDescription:
                          type: string
                          minLength: 4
                          maxLength: 10
                          description: An optional override of the default NACHA company entry description for a transfer.
                          example: Gym dues
                        originatingCompanyName:
                          type: string
                          minLength: 4
                          maxLength: 16
                          description: An optional override of the default NACHA company name for a transfer.
                          example: Whole Body Fit
                        debitHoldPeriod:
                          type: string
                          enum: *ref_180
                          description: An optional override of your default ACH hold period in banking days. The hold period must be longer than or equal to your default setting.
                          example: 2-days
                        secCode:
                          type: string
                          enum: *ref_181
                          description: Code used to identify the ACH authorization method.
                  description: Where funds for a transfer originate. For the source, you must include either a `paymentMethodID` or a `transferID`.
                destination:
                  type: object
                  required: &ref_425
                    - paymentMethodID
                  properties: &ref_426
                    paymentMethodID:
                      type: string
                    cardDetails:
                      type: object
                      properties: &ref_428
                        dynamicDescriptor:
                          type: string
                          minLength: 4
                          maxLength: 22
                          description: An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field.
                          example: WhlBdy *Yoga 11-12
                    achDetails:
                      type: object
                      properties: &ref_427
                        companyEntryDescription:
                          type: string
                          minLength: 4
                          maxLength: 10
                          description: An optional override of the default NACHA company entry description for a transfer.
                          example: Gym dues
                        originatingCompanyName:
                          type: string
                          minLength: 4
                          maxLength: 16
                          description: An optional override of the default NACHA company name for a transfer.
                          example: Whole Body Fit
                  description: The final stage of a transfer and the ultimate recipient of the funds.
                amount:
                  type: object
                  required: *ref_98
                  properties: *ref_99
                facilitatorFee:
                  type: object
                  properties: *ref_182
                  description: Total or markup fee.
                description:
                  type: string
                  maxLength: 256
                  description: An optional description of the transfer for your own internal use.
                  example: Pay Instructor for May 15 Class
                metadata:
                  type: object
                  additionalProperties: *ref_13
                  description: Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
                  example: *ref_14
              example: &ref_424
                source:
                  paymentMethodID: 9506dbf6-4208-44c3-ad8a-e4431660e1f2
                destination:
                  paymentMethodID: 3f9969cf-a1f3-4d83-8ddc-229a506651cf
                amount:
                  currency: USD
                  value: 32945
                description: Transfer from card to wallet
                metadata:
                  optional: metadata
      x-speakeasy-name-override: create
    get:
      operationId: listTransfers
      description: |-
        List all the transfers associated with a particular Moov account. 

        Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more. 

        When you run this request, you retrieve 200 transfers at a time. You can advance past a results set of 200 transfers by using the `skip` parameter (for example, 
        if you set `skip`= 10, you will see a results set of 200 transfers after the first 10). If you are searching a high volume of transfers, the request will likely 
        process very slowly. To achieve faster performance, restrict the data as much as you can by using the `StartDateTime` and `EndDateTime` parameters for a limited 
        period of time. You can run multiple requests in smaller time window increments until you've retrieved all the transfers you need.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountIDs
          in: query
          required: false
          description: Optional, comma-separated account IDs by which the response is filtered based on whether the account ID is the source or destination.
          schema: &ref_300
            type: array
            items:
              type: string
          explode: false
        - name: status
          in: query
          required: false
          description: Optional parameter for filtering transfers by status.
          schema: &ref_308
            type: string
            enum: *ref_183
            description: Status of a transfer.
          explode: false
        - name: startDateTime
          in: query
          required: false
          description: Optional date-time which inclusively filters all transfers created after this date-time.
          schema: &ref_307
            type: string
            format: date-time
          explode: false
        - name: endDateTime
          in: query
          required: false
          description: Optional date-time which exclusively filters all transfers created before this date-time.
          schema: &ref_303
            type: string
            format: date-time
          explode: false
        - name: groupID
          in: query
          required: false
          description: Optional ID to filter for transfers in the same group.
          schema: &ref_304
            type: string
            format: uuid
          explode: false
        - name: refunded
          in: query
          required: false
          description: Optional parameter to only return refunded transfers.
          schema: &ref_305
            type: boolean
          explode: false
        - name: disputed
          in: query
          required: false
          description: Optional parameter to only return disputed transfers.
          schema: &ref_302
            type: boolean
          explode: false
        - name: skip
          in: query
          required: false
          schema: &ref_306
            type: integer
            format: int64
            description: The number of entries to skip when paginating a large result set.
            example: 60
          explode: false
        - name: count
          in: query
          required: false
          schema: &ref_301
            type: integer
            format: int64
            description: Limits the maximum number of results returned, or determines the page size when used with `skip` for pagination.
            example: 20
          explode: false
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_176
                  properties: *ref_177
                  description: Details of a Transfer.
                  title: Sync
                  example: *ref_178
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
      x-speakeasy-name-override: list
  /accounts/{accountID}/transfers/{transferID}:
    get:
      operationId: getTransfer
      description: |-
        Retrieve full transfer details for an individual transfer of a particular Moov account. 

        Payment rail-specific details are included in the source and destination. Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) 
        to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: transferID
          in: path
          required: true
          description: Identifier for the transfer.
          schema:
            type: string
            format: uuid
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_176
                properties: *ref_177
                description: Details of a Transfer.
                title: Sync
                example: *ref_178
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
      x-speakeasy-name-override: get
    patch:
      operationId: updateTransfer
      description: |-
        Update the metadata contained on a transfer. 

        Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: transferID
          in: path
          required: true
          description: Identifier for the transfer.
          schema:
            type: string
            format: uuid
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_176
                properties: *ref_177
                description: Details of a Transfer.
                title: Sync
                example: *ref_178
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_551
                metadata:
                  type: object
                  allOf:
                    - type: object
                      additionalProperties: *ref_13
                      description: Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
                      example: *ref_14
                  nullable: true
      x-speakeasy-name-override: update
  /accounts/{accountID}/transfers/{transferID}/cancellations:
    post:
      operationId: createCancellation
      description: |2-
          Initiate a cancellation for a card, ACH, or queued transfer.
          
          To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need 
          to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The partner's Moov account ID.
          schema:
            type: string
            format: uuid
        - name: transferID
          in: path
          required: true
          description: The transfer ID to cancel.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_184
                properties: *ref_185
              examples:
                Created cancellation:
                  summary: Created cancellation
                  value:
                    cancellationID: 89ca7f54-13ba-4714-b9af-17163eae2057
                    status: completed
                    createdOn: '2025-01-19T03:02:43.255309588Z'
        '202':
          description: Successfully initiated a cancellation but an error occurred while waiting for a synchronous response.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_184
                properties: *ref_185
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
  /accounts/{accountID}/transfers/{transferID}/cancellations/{cancellationID}:
    get:
      operationId: getCancellation
      description: |2-
          Get details of a cancellation for a transfer.
          
          To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need 
          to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: Moov account ID of the partner or transfer's source or destination.
          schema:
            type: string
            format: uuid
        - name: transferID
          in: path
          required: true
          description: Identifier for the transfer.
          schema:
            type: string
            format: uuid
        - name: cancellationID
          in: path
          required: true
          description: Identifier for the cancellation.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_184
                properties: *ref_185
              examples:
                Got cancellation:
                  summary: Got cancellation
                  value:
                    cancellationID: 89ca7f54-13ba-4714-b9af-17163eae2057
                    status: completed
                    createdOn: '2025-01-19T03:02:43.255309588Z'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
  /accounts/{accountID}/transfers/{transferID}/refunds:
    post:
      operationId: initiateRefund
      description: |-
        Initiate a refund for a card transfer.

        **Use the [Cancel or refund a card transfer](https://docs.moov.io/api/money-movement/refunds/cancel/) endpoint for more comprehensive cancel and refund options.**    
        See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/) guide for more information. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: x-idempotency-key
          in: header
          required: true
          description: Prevents duplicate refunds from being created.
          schema:
            type: string
            format: uuid
        - name: x-wait-for
          in: header
          required: false
          description: |-
            Optional header that indicates whether to return a synchronous response that includes full transfer and rail-specific details or an 
            asynchronous response indicating the transfer was created (this is the default response if the header is omitted).
          schema:
            type: string
            enum: *ref_186
        - name: accountID
          in: path
          required: true
          description: The merchant's Moov account ID.
          schema:
            type: string
            format: uuid
        - name: transferID
          in: path
          required: true
          description: Identifier for the transfer.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                oneOf: &ref_411
                  - type: object
                    required: *ref_187
                    properties: *ref_188
                    description: Details of a card refund.
                    title: Sync
                  - type: object
                    required: &ref_344
                      - refundID
                      - createdOn
                      - amount
                    properties: &ref_345
                      refundID:
                        type: string
                        format: uuid
                      createdOn:
                        type: string
                        format: date-time
                      amount:
                        type: object
                        required: *ref_98
                        properties: *ref_99
                    description: Asynchronous refund response
                    title: Async
              examples:
                Successful async refund:
                  summary: Successful async refund
                  value:
                    refundID: d4963079-5b35-4d17-981e-8f851753f786
                    createdOn: '2023-09-09T14:15:22Z'
                    amount:
                      currency: USD
                      value: 1204
                Successful sync refund:
                  summary: Successful sync refund
                  value:
                    refundID: d4963079-5b35-4d17-981e-8f851753f786
                    createdOn: '2023-09-09T14:15:22Z'
                    updatedOn: '2023-09-09T14:17:41Z'
                    status: pending
                    amount:
                      currency: USD
                      value: 1204
                    cardDetails:
                      status: confirmed
                      initiatedOn: '2023-09-09T14:16:22Z'
                      confirmedOn: '2023-09-09T14:17:41Z'
        '202':
          description: A refund was successfully created but an error occurred while waiting for a synchronous response.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_187
                properties: *ref_188
                description: Details of a card refund.
                title: Sync
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: Attempted to create a refund using a duplicate X-Idempotency-Key header.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_187
                properties: *ref_188
                description: Details of a card refund.
                title: Sync
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_587
                  amount:
                    type: string
                  error:
                    type: string
                    description: Used for generic errors when invalid request data isn't attributed to a single request field.
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties: &ref_410
                amount:
                  type: integer
                  format: int64
                  description: Amount to refund in cents. If null, the original transfer's full amount will be refunded.
                  example: 1000
              description: |-
                Specifies a partial amount to refund. 

                This request body is optional, an empty body will issue a refund for the full amount of the original transfer.
    get:
      operationId: listRefunds
      description: |-
        Get a list of refunds for a card transfer.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: transferID
          in: path
          required: true
          description: Identifier for the transfer.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_187
                  properties: *ref_188
                  description: Details of a card refund.
                  title: Sync
              example:
                - refundID: ec7e1848-dc80-4ab0-8827-dd7fc0737b43
                  amount:
                    currency: USD
                    value: 1204
                  cardDetails:
                    completedOn: '2024-08-24T14:15:22Z'
                    confirmedOn: '2024-08-24T14:15:22Z'
                    initiatedOn: '2024-08-24T14:15:22Z'
                    settledOn: '2024-08-24T14:15:22Z'
                    status: completed
                  createdOn: '2024-08-24T14:15:22Z'
                  status: completed
                  updatedOn: '2024-08-24T14:15:22Z'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
  /accounts/{accountID}/transfers/{transferID}/refunds/{refundID}:
    get:
      operationId: getRefund
      description: |-
        Get details of a refund for a card transfer.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: transferID
          in: path
          required: true
          description: Identifier for the transfer.
          schema:
            type: string
            format: uuid
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: refundID
          in: path
          required: true
          description: Identifier for the refund.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_187
                properties: *ref_188
                description: Details of a card refund.
                title: Sync
              example:
                refundID: ec7e1848-dc80-4ab0-8827-dd7fc0737b43
                amount:
                  currency: USD
                  value: 1204
                cardDetails:
                  completedOn: '2024-08-24T14:15:22Z'
                  confirmedOn: '2024-08-24T14:15:22Z'
                  initiatedOn: '2024-08-24T14:15:22Z'
                  settledOn: '2024-08-24T14:15:22Z'
                  status: completed
                createdOn: '2024-08-24T14:15:22Z'
                status: completed
                updatedOn: '2024-08-24T14:15:22Z'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
  /accounts/{accountID}/transfers/{transferID}/reversals:
    post:
      operationId: createReversal
      description: |-
        Reverses a card transfer by initiating a cancellation or refund depending on the transaction status. 
        Read our [reversals guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/) 
        to learn more.

        To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need 
        to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: x-idempotency-key
          in: header
          required: true
          description: Prevents duplicate reversals from being created.
          schema:
            type: string
            format: uuid
        - name: accountID
          in: path
          required: true
          description: The Moov account ID.
          schema:
            type: string
            format: uuid
        - name: transferID
          in: path
          required: true
          description: The transfer ID to reverse.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Successfully initiated a reversal.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                oneOf: &ref_189
                  - type: object
                    required: &ref_600
                      - cancellation
                    properties: &ref_601
                      cancellation:
                        type: object
                        required: *ref_184
                        properties: *ref_185
                    title: Canceled
                  - type: object
                    required: &ref_602
                      - refund
                    properties: &ref_603
                      refund:
                        type: object
                        required: *ref_187
                        properties: *ref_188
                        description: Details of a card refund.
                        title: Sync
                    title: Refunded
                description: Contains either a cancellation or refund, depending on the method used to reverse the transfer.
              examples:
                Reversed by refund:
                  summary: Reversed by refund
                  value:
                    refund:
                      refundID: 89ca7f54-13ba-4714-b9af-17163eae2057
                      createdOn: '2025-01-19T03:07:26.001024809Z'
                      updatedOn: '2025-01-19T03:07:26.602114307Z'
                      status: pending
                      amount:
                        currency: USD
                        value: 1938
                      cardDetails:
                        status: confirmed
                        confirmedOn: '2025-01-19T03:07:26.602114307Z'
                Reversed by cancellation:
                  summary: Reversed by cancellation
                  value:
                    cancellation:
                      cancellationID: 89ca7f54-13ba-4714-b9af-17163eae2057
                      status: completed
                      createdOn: '2025-01-19T03:02:43.255309588Z'
        '202':
          description: Successfully initiated a reversal but an error occurred while waiting for a synchronous response.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                oneOf: *ref_189
                description: Contains either a cancellation or refund, depending on the method used to reverse the transfer.
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_599
                  amount:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              required: &ref_414
                - amount
              properties: &ref_415
                amount:
                  type: integer
                  format: int64
                  description: Amount to reverse in cents. Partial amounts will automatically trigger a refund instead of a cancellation.
                  example: 1000
  /accounts/{accountID}/underwriting:
    get:
      operationId: getUnderwriting
      description: |-
        Retrieve underwriting associated with a given Moov account. 

        Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/underwriting/) to learn more. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_190
                  - averageTransactionSize
                  - maxTransactionSize
                  - averageMonthlyTransactionVolume
                  - status
                  - volumeByCustomerType
                  - cardVolumeDistribution
                  - fulfillment
                properties: &ref_191
                  averageTransactionSize:
                    type: integer
                    format: int64
                  maxTransactionSize:
                    type: integer
                    format: int64
                  averageMonthlyTransactionVolume:
                    type: integer
                    format: int64
                  status:
                    type: string
                    enum: &ref_629
                      - approved
                      - rejected
                      - pendingReview
                      - pending
                      - notRequested
                    deprecated: true
                  volumeByCustomerType:
                    type: object
                    required: &ref_192
                      - businessToBusinessPercentage
                      - consumerToBusinessPercentage
                    properties: &ref_193
                      businessToBusinessPercentage:
                        type: integer
                        format: int32
                      consumerToBusinessPercentage:
                        type: integer
                        format: int32
                  cardVolumeDistribution:
                    type: object
                    required: &ref_194
                      - ecommercePercentage
                      - cardPresentPercentage
                      - mailOrPhonePercentage
                      - debtRepaymentPercentage
                    properties: &ref_195
                      ecommercePercentage:
                        type: integer
                        format: int32
                      cardPresentPercentage:
                        type: integer
                        format: int32
                      mailOrPhonePercentage:
                        type: integer
                        format: int32
                      debtRepaymentPercentage:
                        type: integer
                        format: int32
                  fulfillment:
                    type: object
                    required: &ref_196
                      - hasPhysicalGoods
                      - isShippingProduct
                      - shipmentDurationDays
                      - returnPolicy
                    properties: &ref_197
                      hasPhysicalGoods:
                        type: boolean
                      isShippingProduct:
                        type: boolean
                      shipmentDurationDays:
                        type: integer
                        format: int64
                      returnPolicy:
                        type: string
                        enum: &ref_598
                          - none
                          - exchangeOnly
                          - withinThirtyDays
                          - other
                description: Describes underwriting values (in USD) used for card payment acceptance.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Underwriting
      x-speakeasy-name-override: get
    put:
      operationId: upsertUnderwriting
      description: |-
        Create or update the account's underwriting.

        Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/underwriting/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/profile.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_190
                properties: *ref_191
                description: Describes underwriting values (in USD) used for card payment acceptance.
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_649
                  - error
                properties: &ref_650
                  error:
                    type: object
                    properties:
                      averageMonthlyTransactionVolume:
                        type: string
                      averageTransactionSize:
                        type: string
                      maxTransactionSize:
                        type: string
                      volumeByCustomerType:
                        type: object
                        properties: &ref_655
                          businessToBusinessPercentage:
                            type: string
                          consumerToBusinessPercentage:
                            type: string
                      cardVolumeDistribution:
                        type: object
                        properties: &ref_377
                          ecommercePercentage:
                            type: string
                          cardPresentPercentage:
                            type: string
                          mailOrPhonePercentage:
                            type: string
                          debtRepaymentPercentage:
                            type: string
                      fulfillment:
                        type: object
                        properties: &ref_473
                          shipmentDurationDays:
                            type: string
                          returnPolicy:
                            type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Underwriting
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_647
                - averageTransactionSize
                - maxTransactionSize
                - averageMonthlyTransactionVolume
                - volumeByCustomerType
                - cardVolumeDistribution
                - fulfillment
              properties: &ref_648
                averageTransactionSize:
                  type: integer
                  format: int64
                maxTransactionSize:
                  type: integer
                  format: int64
                averageMonthlyTransactionVolume:
                  type: integer
                  format: int64
                volumeByCustomerType:
                  type: object
                  required: *ref_192
                  properties: *ref_193
                cardVolumeDistribution:
                  type: object
                  required: *ref_194
                  properties: *ref_195
                fulfillment:
                  type: object
                  required: *ref_196
                  properties: *ref_197
      x-speakeasy-name-override: upsert
  /accounts/{accountID}/wallets:
    get:
      operationId: listWallets
      description: |-
        List the wallets associated with a Moov account. 

        Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_198
                    - walletID
                    - availableBalance
                  properties: &ref_199
                    walletID:
                      type: string
                      format: uuid
                    availableBalance:
                      type: object
                      required: &ref_656
                        - currency
                        - value
                        - valueDecimal
                      properties: &ref_657
                        currency:
                          type: string
                          pattern: ^[A-Za-z]{3}$
                          description: A 3-letter ISO 4217 currency code.
                          example: USD
                        value:
                          type: integer
                          format: int64
                          description: |-
                            Quantity in the smallest unit of the specified currency. 

                            In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.
                          example: 1204
                        valueDecimal:
                          type: string
                          pattern: ^\d+\.\d{1,9}$
                  description: A Moov wallet to store funds for transfers.
              example:
                - walletID: 01234567-89ab-cdef-0123-456789abcdef
                  availableBalance:
                    currency: USD
                    value: 1234
                    valueDecimal: '12.34'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Wallets
      x-speakeasy-name-override: list
  /accounts/{accountID}/wallets/{walletID}:
    get:
      operationId: getWallet
      description: |-
        Get information on a specific wallet (e.g., the available balance). 

        Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: walletID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_198
                properties: *ref_199
                description: A Moov wallet to store funds for transfers.
              example:
                walletID: 01234567-89ab-cdef-0123-456789abcdef
                availableBalance:
                  currency: USD
                  value: 1234
                  valueDecimal: '12.34'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Wallets
      x-speakeasy-name-override: get
  /accounts/{accountID}/wallets/{walletID}/sweeps:
    get:
      operationId: listSweeps
      description: |-
        List sweeps associated with a wallet.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: walletID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: skip
          in: query
          required: false
          schema: *ref_81
          explode: false
        - name: count
          in: query
          required: false
          schema: *ref_82
          explode: false
        - name: status
          in: query
          required: false
          description: Optional parameter to filter by sweep status.
          schema:
            type: string
            enum: &ref_200
              - accruing
              - action-required
              - canceled
              - closed
              - failed
              - paid
          explode: false
        - name: statementDescriptor
          in: query
          required: false
          description: Optional string to filter by statement descriptor.
          schema:
            type: string
            minLength: 4
            maxLength: 10
            description: The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_201
                    - sweepID
                    - status
                    - accruedAmount
                    - currency
                    - accrualStartedOn
                  properties: &ref_202
                    sweepID:
                      type: string
                      format: uuid
                    status:
                      type: string
                      enum: *ref_200
                    accruedAmount:
                      type: string
                      pattern: ^\d+\.\d{1,9}$
                      description: The total net amount of wallet transactions accrued in the sweep.
                    residualBalance:
                      type: string
                      pattern: ^\d+\.\d{1,9}$
                      description: Amount remaining in the wallet after the sweep transfer completes.
                    currency:
                      type: string
                      pattern: ^[A-Za-z]{3}$
                      description: A 3-letter ISO 4217 currency code.
                      example: USD
                    accrualStartedOn:
                      type: string
                      format: date-time
                      description: The date-time the sweep began accruing transactions.
                    accrualEndedOn:
                      type: string
                      format: date-time
                      description: The date-time the sweep stopped accruing transactions.
                    pushPaymentMethodID:
                      type: string
                      format: uuid
                      description: ID of the payment method.
                    pullPaymentMethodID:
                      type: string
                      format: uuid
                      description: ID of the payment method.
                    transferID:
                      type: string
                      format: uuid
                    transferAmount:
                      type: string
                      pattern: ^\d+\.\d{1,9}$
                      description: Amount that is transferred.
                    statementDescriptor:
                      type: string
                      minLength: 4
                      maxLength: 10
                      description: The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
              example:
                - accruedAmount: '100.00'
                  accrualStartedOn: '2024-05-06T12:20:38.184Z'
                  currency: USD
                  status: accruing
                  sweepID: 01234567-89ab-cdef-0123-456789abcdef
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Sweeps
      x-speakeasy-name-override: list
  /accounts/{accountID}/wallets/{walletID}/sweeps/{sweepID}:
    get:
      operationId: getSweep
      description: |-
        Get details on a specific sweep.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: walletID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: sweepID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_201
                properties: *ref_202
              examples:
                Paid sweep:
                  summary: Paid sweep
                  value:
                    accruedAmount: '100.00'
                    accrualStartedOn: '2024-05-06T12:20:38.184Z'
                    accrualEndedOn: '2024-05-06T12:20:38.184Z'
                    currency: USD
                    pushPaymentMethodID: 01234567-89ab-cdef-0123-456789abcdef
                    residualBalance: '0.00'
                    statementDescriptor: swp_012345
                    status: paid
                    sweepID: 01234567-89ab-cdef-0123-456789abcdef
                    transferAmount: '12.98'
                    transferID: 01234567-89ab-cdef-0123-456789abcdef
                Accrued sweep:
                  summary: Accrued sweep
                  value:
                    accruedAmount: '100.00'
                    accrualStartedOn: '2024-05-06T12:20:38.184Z'
                    currency: USD
                    status: accruing
                    sweepID: 01234567-89ab-cdef-0123-456789abcdef
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Sweeps
      x-speakeasy-name-override: get
  /accounts/{accountID}/wallets/{walletID}/transactions:
    get:
      operationId: listWalletTransactions
      description: |-
        List all the transactions associated with a particular Moov wallet. 

        Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets/transactions/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: skip
          in: query
          required: false
          schema: *ref_81
          explode: false
        - name: count
          in: query
          required: false
          schema: *ref_82
          explode: false
        - name: walletID
          in: path
          required: true
          schema: &ref_299
            type: string
            format: uuid
        - name: transactionType
          in: query
          required: false
          description: Optional parameter to filter by transaction type.
          schema: &ref_297
            type: string
            enum: &ref_203
              - account-funding
              - ach-reversal
              - auto-sweep
              - card-payment
              - card-decline
              - card-reversal
              - cash-out
              - dispute
              - dispute-reversal
              - facilitator-fee
              - issuing-refund
              - issuing-transaction
              - issuing-transaction-adjustment
              - issuing-auth-hold
              - issuing-auth-release
              - issuing-decline
              - moov-fee
              - payment
              - payout
              - refund
              - refund-failure
              - rtp-failure
              - top-up
              - wallet-transfer
              - adjustment
          explode: false
        - name: transactionTypes
          in: query
          required: false
          description: Optional, comma-separated parameter to filter by transaction types.
          schema: &ref_298
            type: array
            items:
              type: string
              enum: *ref_203
          explode: false
        - name: sourceType
          in: query
          required: false
          description: Optional parameter to filter by source type (i.e. transfer, dispute, issuing-transaction).
          schema: &ref_294
            type: string
            enum: &ref_204
              - transfer
              - dispute
              - issuing-card-transaction
              - issuing-authorization
              - sweep
              - adjustment
              - fee
          explode: false
        - name: sourceID
          in: query
          required: false
          description: Optional parameter to filter by source ID.
          schema: &ref_293
            type: string
            format: uuid
          explode: false
        - name: status
          in: query
          required: false
          description: Optional parameter to filter by status (`pending` or `completed`).
          schema: &ref_295
            type: string
            enum: &ref_205
              - pending
              - completed
              - canceled
              - failed
          explode: false
        - name: createdStartDateTime
          in: query
          required: false
          description: Optional date-time which inclusively filters all transactions created after this date-time.
          schema: &ref_292
            type: string
            format: date-time
          explode: false
        - name: createdEndDateTime
          in: query
          required: false
          description: Optional date-time which exclusively filters all transactions created before this date-time.
          schema: &ref_291
            type: string
            format: date-time
          explode: false
        - name: completedStartDateTime
          in: query
          required: false
          description: Optional date-time which inclusively filters all transactions completed after this date-time.
          schema: &ref_290
            type: string
            format: date-time
          explode: false
        - name: completedEndDateTime
          in: query
          required: false
          description: Optional date-time which exclusively filters all transactions completed before this date-time.
          schema: &ref_289
            type: string
            format: date-time
          explode: false
        - name: sweepID
          in: query
          required: false
          description: Optional ID to filter for transactions accrued in a sweep.
          schema: &ref_296
            type: string
            format: uuid
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_206
                    - walletID
                    - transactionID
                    - transactionType
                    - sourceType
                    - sourceID
                    - status
                    - memo
                    - createdOn
                    - currency
                    - grossAmount
                    - grossAmountDecimal
                    - fee
                    - feeDecimal
                    - netAmount
                    - netAmountDecimal
                  properties: &ref_207
                    walletID:
                      type: string
                      format: uuid
                    transactionID:
                      type: string
                      format: uuid
                    transactionType:
                      type: string
                      enum: *ref_203
                    sourceType:
                      type: string
                      enum: *ref_204
                    sourceID:
                      type: string
                      format: uuid
                      description: The ID of the Moov object to which this transaction is related.
                    status:
                      type: string
                      enum: *ref_205
                    memo:
                      type: string
                      description: Detailed description of the transaction.
                    createdOn:
                      type: string
                      format: date-time
                    completedOn:
                      type: string
                      format: date-time
                    currency:
                      type: string
                      pattern: ^[A-Za-z]{3}$
                      description: A 3-letter ISO 4217 currency code.
                      example: USD
                    grossAmount:
                      type: integer
                      format: int64
                      description: The total transaction amount. The amount is in the smallest unit of the specified currency. In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.
                    grossAmountDecimal:
                      type: string
                      pattern: ^\d+\.\d{1,9}$
                      description: The total transaction amount. Same as `grossAmount`, but a decimal-formatted numerical string that represents up to 9 decimal place precision. In USD for example, 12.987654321 is $12.987654321 and 0.9987634521 is $0.9987634521.
                    fee:
                      type: integer
                      format: int64
                      description: Total fees paid for the transaction. The value is in the smallest unit of the specified currency. In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.
                    feeIDs:
                      type: array
                      items:
                        type: string
                      description: The IDs of the fees paid for the transaction.
                    feeDecimal:
                      type: string
                      pattern: ^\d+\.\d{1,9}$
                      description: Total fees paid for the transaction. Same as `fee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision. In USD for example, 12.987654321 is $12.987654321 and 0.9987634521 is $0.9987634521.
                    netAmount:
                      type: integer
                      format: int64
                      description: Net amount is the gross amount less fees paid, and the amount that affects the wallet's balance. The amount is in the smallest unit of the specified currency. In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.
                    netAmountDecimal:
                      type: string
                      pattern: ^\d+\.\d{1,9}$
                      description: Net amount is the gross amount less fees paid, and the amount that affects the wallet's balance. Same as `netAmount`, but a decimal-formatted numerical string that represents up to 9 decimal place precision. In USD for example, 12.987654321 is $12.987654321 and 0.9987634521 is $0.9987634521.
                    availableBalance:
                      type: integer
                      format: int64
                      description: The wallet's total available balance after recording a completed transaction. The value is in the smallest unit of the specified currency. In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.
                    availableBalanceDecimal:
                      type: string
                      pattern: ^\d+\.\d{1,9}$
                      description: The wallet's total available balance after recording a completed transaction. Same as `availableBalance`, but a decimal-formatted numerical string that represents up to 9 decimal place precision. In USD for example, 12.987654321 is $12.987654321 and 0.9987634521 is $0.9987634521.
                    sweepID:
                      type: string
                      format: uuid
                  description: A transaction that funds or deducts from the wallet.
              example:
                - walletID: 01234567-89ab-cdef-0123-456789abcdef
                  transactionID: 01234567-89ab-cdef-0123-456789abcdef
                  transactionType: card-payment
                  sourceType: transfer
                  sourceID: 01234567-89ab-cdef-0123-456789abcdef
                  status: completed
                  memo: An example completed card payment
                  createdOn: '2024-05-06T12:20:38.184Z'
                  completedOn: '2024-05-06T12:20:38.184Z'
                  currency: USD
                  grossAmount: 2000
                  grossAmountDecimal: '20.00'
                  fee: 30
                  feeDecimal: '0.30'
                  netAmount: 1970
                  netAmountDecimal: '19.70'
                  availableBalance: 10000
                  availableBalanceDecimal: '100.00'
                - walletID: 01234567-89ab-cdef-0123-456789abcdef
                  transactionID: 01234567-89ab-cdef-0123-456789abcdef
                  transactionType: card-payment
                  sourceType: transfer
                  sourceID: 01234567-89ab-cdef-0123-456789abcdef
                  status: pending
                  memo: An example pending card payment
                  createdOn: '2024-05-06T12:20:38.184Z'
                  currency: USD
                  grossAmount: 2000
                  grossAmountDecimal: '20.00'
                  fee: 30
                  feeDecimal: '0.30'
                  netAmount: 1970
                  netAmountDecimal: '19.70'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Wallet transactions
      x-speakeasy-name-override: list
  /accounts/{accountID}/wallets/{walletID}/transactions/{transactionID}:
    get:
      operationId: getWalletTransaction
      description: |-
        Get details on a specific wallet transaction. 

        Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets/transactions/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: walletID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: transactionID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_206
                properties: *ref_207
                description: A transaction that funds or deducts from the wallet.
              example:
                walletID: 01234567-89ab-cdef-0123-456789abcdef
                transactionID: 01234567-89ab-cdef-0123-456789abcdef
                transactionType: card-payment
                sourceType: transfer
                sourceID: 01234567-89ab-cdef-0123-456789abcdef
                status: completed
                memo: An example completed card payment
                createdOn: '2024-05-06T12:20:38.184Z'
                completedOn: '2024-05-06T12:20:38.184Z'
                currency: USD
                grossAmount: 2000
                grossAmountDecimal: '20.00'
                fee: 30
                feeDecimal: '0.30'
                netAmount: 1970
                netAmountDecimal: '19.70'
                availableBalance: 10000
                availableBalanceDecimal: '100.00'
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Wallet transactions
      x-speakeasy-name-override: get
  /avatars/{uniqueID}:
    get:
      operationId: getAvatar
      description: |-
        Get avatar image for an account using a unique ID.    

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/profile-enrichment.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: uniqueID
          in: path
          required: true
          description: Any unique ID associated with an account such as accountID, representativeID, routing number, or userID.
          schema:
            type: string
      responses:
        '200':
          description: The request has succeeded.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            image/*:
              schema:
                type: string
                format: binary
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Avatars
      x-speakeasy-name-override: get
  /debug/end-to-end-token:
    post:
      operationId: testEndToEndToken
      description: |-
        Allows for testing a JWE token to ensure it's acceptable by Moov. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/ping.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - End to End Encryption
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: *ref_208
              properties: *ref_209
              description: |-
                Wraps a compact-serialized JSON Web Encryption (JWE) token used for secure transmission of sensitive data (e.g., PCI information) through intermediaries. 
                This token is encrypted using the public key from /end-to-end-keys and wraps an AES key. For details and examples, refer to our 
                [GitHub repository](https://github.com/moovfinancial/moov-go/blob/main/examples/e2ee/e2ee_test.go).
              example: *ref_210
      x-speakeasy-name-override: testEncryptedToken
  /end-to-end-keys:
    post:
      operationId: generateEndToEndKey
      description: Generates a public key used to create a JWE token for passing secure authentication data through non-PCI compliant intermediaries.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_498
                  - kty
                properties: &ref_499
                  kty:
                    type: string
                    description: The cryptographic algorithm family used with the key (e.g., 'RSA', 'EC', 'oct').
                  use:
                    type: string
                    enum:
                      - sig
                      - enc
                    description: The intended use of the key. 'sig' for signature, 'enc' for encryption.
                  key_ops:
                    type: array
                    items:
                      type: string
                    description: The permitted operations for the key, e.g., 'sign', 'verify', 'encrypt', 'decrypt'.
                  alg:
                    type: string
                    description: The algorithm intended for use with the key, e.g., 'RS256' or 'ES256'.
                  kid:
                    type: string
                    description: A unique identifier for the key.
                  crv:
                    type: string
                    description: |-
                      The curve for Elliptic Curve keys, e.g., 'P-256', 'P-384', or 'P-521'.

                      This field is required when `kty` is 'EC'.
                  x:
                    type: string
                    description: |-
                      The x coordinate for Elliptic Curve keys.

                      This field is required when `kty` is 'EC'.
                  'y':
                    type: string
                    description: |-
                      The y coordinate for Elliptic Curve keys.

                      This field is required when `kty` is 'EC'.
                  'n':
                    type: string
                    description: |-
                      The modulus value for RSA keys.

                      This field is required when `kty` is 'RSA'.
                  e:
                    type: string
                    description: |-
                      The exponent value for RSA keys.

                      This field is required when `kty` is 'RSA'.
                description: Describes an [RFC7517](https://datatracker.ietf.org/doc/html/rfc7517) web key.
                example: &ref_500
                  use: enc
                  kty: EC
                  kid: bOaoOIgm-7dI_gBIvsr0jQrPyYp6H_od0Ok-hSYZQ-g=
                  crv: P-521
                  alg: ECDH-ES+A256KW
                  x: ABcm3wzKpPzYYwjDC0HSrxxVM3ULbuMDUuzkR5wNciaMHkZvQ02gLFdqTL65evV7EWaQyC7zRc28eW20p5MVDdQr
                  'y': AVa-eQsoiltOcQYy1QEcrQ9NbWktl_D4ewfg8diOZ2_svLEgEu4T1PqNcLbBGozP_VqPkXOMwNCUNI7pxajVGiIP
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - End to End Encryption
      x-speakeasy-name-override: generateKey
  /enrichment/address:
    get:
      operationId: getEnrichmentAddress
      description: |-
        Fetch enriched address suggestions. Requires a partial address. 
          
        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/profile-enrichment.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: search
          in: query
          required: true
          description: Partial or complete address to search.
          schema: &ref_275
            type: string
          explode: false
        - name: maxResults
          in: query
          required: false
          description: Maximum number of results to return.
          schema: &ref_269
            type: integer
          explode: false
        - name: includeCities
          in: query
          required: false
          description: Limits results to a list of given cities.
          schema: &ref_266
            type: string
          explode: false
        - name: includeStates
          in: query
          required: false
          description: Limits results to a list of given states.
          schema: &ref_267
            type: string
          explode: false
        - name: includeZipcodes
          in: query
          required: false
          description: Limits results to a list of given zipcodes.
          schema: &ref_268
            type: string
          explode: false
        - name: excludeStates
          in: query
          required: false
          description: Exclude list of states from results. No `include` pararmeters may be used with this parameter.
          schema: &ref_265
            type: string
          explode: false
        - name: preferCities
          in: query
          required: false
          description: Display results with the listed cities at the top.
          schema: &ref_270
            type: string
          explode: false
        - name: preferStates
          in: query
          required: false
          description: Display results with the listed states at the top.
          schema: &ref_273
            type: string
          explode: false
        - name: preferZipcodes
          in: query
          required: false
          description: Display results with the listed zipcodes at the top.
          schema: &ref_274
            type: string
          explode: false
        - name: preferRatio
          in: query
          required: false
          description: Specifies the percentage of address suggestions that should be preferred and will appear at the top of the results.
          schema: &ref_272
            type: integer
          explode: false
        - name: preferGeolocation
          in: query
          required: false
          description: |2-
              If omitted or set to `city`, it uses the sender's IP address to determine location, then automatically adds the city and state 
              to the preferCities value. This parameter takes precedence over other `include` or `exclude` parameters meaning that if it is 
              not set to `none`, you may see addresses from areas you do not wish to see.
          schema: &ref_271
            type: string
          explode: false
        - name: selected
          in: query
          required: false
          description: Useful for narrowing results with `addressLine2` suggestions such as `Apt` (denotes an apartment building with multiple residences).
          schema: &ref_276
            type: string
          explode: false
        - name: source
          in: query
          required: false
          description: Include results from alternate data sources. Allowed values are `all` (non-postal addresses), or `postal` (postal addresses only).
          schema: &ref_277
            type: string
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_443
                  - suggestions
                properties: &ref_444
                  suggestions:
                    type: array
                    items:
                      type: object
                      properties: &ref_335
                        addressLine1:
                          type: string
                        addressLine2:
                          type: string
                        city:
                          type: string
                        entries:
                          type: integer
                          description: The number of units at an address. For example the number of apartments or businesses in a building.
                        postalCode:
                          type: string
                        stateOrProvince:
                          type: string
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Enriched address
      x-speakeasy-name-override: get
  /enrichment/profile:
    get:
      operationId: getEnrichmentProfile
      description: |-
        Fetch enriched profile data. Requires a valid email address. This service is offered in collaboration with Clearbit. 

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/profile-enrichment.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: email
          in: query
          required: true
          schema:
            type: string
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_446
                  business:
                    type: object
                    properties: &ref_445
                      address:
                        type: object
                        required: *ref_0
                        properties: *ref_1
                      email:
                        type: string
                        maxLength: 255
                        format: email
                        example: jordan.lee@classbooker.dev
                      industryCodes:
                        type: object
                        properties: &ref_451
                          naics:
                            type: string
                            minLength: 2
                            maxLength: 6
                            example: '713940'
                          sic:
                            type: string
                            minLength: 4
                            maxLength: 4
                            example: '7991'
                      legalBusinessName:
                        type: string
                      phone:
                        type: object
                        properties: *ref_2
                      website:
                        type: string
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Enriched profile
      x-speakeasy-name-override: get
  /industries:
    get:
      operationId: listIndustries
      description: |-
        Returns a list of all industry titles and their corresponding MCC/SIC/NAICS codes. Results are ordered by title.    

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/profile-enrichment.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_447
                  - industries
                properties: &ref_448
                  industries:
                    type: array
                    items:
                      type: object
                      required: &ref_449
                        - title
                        - naics
                        - sic
                        - mcc
                      properties: &ref_450
                        title:
                          type: string
                          example: AC, Refrigeration Repair
                        naics:
                          type: string
                          maxLength: 6
                          description: North American Industry Classification System
                          example: '811412'
                        sic:
                          type: string
                          maxLength: 4
                          description: Standard Industrial Classification
                          example: '7623'
                        mcc:
                          type: string
                          maxLength: 4
                          description: Merchant Category Code
                          example: '7623'
                      description: An industry's MCC/SIC/NAICS codes, along with descriptive title.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Industries
      x-speakeasy-name-override: list
  /institutions/ach/search:
    get:
      operationId: listInstitutions
      description: |-
        Search for institutions by either their name or routing number.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/fed.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: name
          in: query
          required: false
          description: Name of the financial institution. Either `name` or `routingNumber` is required.
          schema: &ref_279
            type: string
          explode: false
        - name: routingNumber
          in: query
          required: false
          description: Routing number for a financial institution. Either `routingNumber` or `name` is required.
          schema: &ref_280
            type: string
          explode: false
        - name: state
          in: query
          required: false
          description: The state where a financial institution is based.
          schema: &ref_281
            type: string
          explode: false
        - name: limit
          in: query
          required: false
          description: Maximum results returned by a search.
          schema: &ref_278
            type: integer
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_471
                  - achParticipants
                properties: &ref_472
                  achParticipants:
                    type: array
                    items:
                      type: object
                      required: &ref_330
                        - achLocation
                        - customerName
                        - newRoutingNumber
                        - officeCode
                        - phoneNumber
                        - recordTypeCode
                        - revised
                        - routingNumber
                        - servicingFRBNumber
                        - statusCode
                        - viewCode
                        - cleanName
                        - logo
                      properties: &ref_331
                        achLocation:
                          type: object
                          required: &ref_328
                            - address
                            - city
                            - postalCode
                            - postalCodeExtension
                            - state
                          properties: &ref_329
                            address:
                              type: string
                              maxLength: 32
                              example: 123 Main Street
                            city:
                              type: string
                              maxLength: 24
                              example: Boulder
                            postalCode:
                              type: string
                              maxLength: 5
                              example: '80301'
                            postalCodeExtension:
                              type: string
                              maxLength: 4
                              example: '0000'
                            state:
                              type: string
                              maxLength: 24
                              example: Colorado
                        customerName:
                          type: string
                          example: Main Street Bank
                        newRoutingNumber:
                          type: string
                          maxLength: 9
                          example: '987654321'
                        officeCode:
                          type: string
                          example: '0'
                        phoneNumber:
                          type: string
                          example: '1234567789'
                        recordTypeCode:
                          type: string
                          example: '1'
                        revised:
                          type: string
                          example: '041921'
                        routingNumber:
                          type: string
                          maxLength: 9
                          example: '123456789'
                        servicingFRBNumber:
                          type: string
                          example: '123456789'
                        statusCode:
                          type: string
                          example: '1'
                        viewCode:
                          type: string
                          example: '1'
                        cleanName:
                          type: string
                          example: Main Street Bank
                        logo:
                          type: object
                          allOf:
                            - type: object
                              required: &ref_486
                                - name
                                - url
                              properties: &ref_487
                                name:
                                  type: string
                                url:
                                  type: string
                          nullable: true
                          example: null
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Institutions
      x-speakeasy-name-override: search
  /issuing/{accountID}/authorizations:
    get:
      operationId: listIssuedCardAuthorizations
      description: |-
        List issued card authorizations associated with a Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The Moov business account for which cards have been issued.
          schema:
            type: string
            format: uuid
        - name: skip
          in: query
          required: false
          schema: *ref_81
          explode: false
        - name: count
          in: query
          required: false
          schema: *ref_82
          explode: false
        - name: issuedCardID
          in: query
          required: false
          description: Optional ID of the issued card to filter results.
          schema: &ref_283
            type: string
            format: uuid
          explode: false
        - name: startDateTime
          in: query
          required: false
          description: Optional date-time which inclusively filters all authorizations created after this date-time.
          schema: &ref_284
            type: string
            format: date-time
          explode: false
        - name: endDateTime
          in: query
          required: false
          description: Optional date-time which exclusively filters all authorizations created before this date-time.
          schema: &ref_282
            type: string
            format: date-time
          explode: false
        - name: statuses
          in: query
          required: false
          description: Optional, comma-separated statuses of the authorization to filter results.
          schema: &ref_285
            type: array
            items:
              type: string
              enum: &ref_211
                - pending
                - declined
                - canceled
                - cleared
                - expired
              description: Status of a card issuing authorization.
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_212
                    - authorizationID
                    - issuedCardID
                    - fundingWalletID
                    - network
                    - authorizedAmount
                    - status
                    - merchantData
                    - createdOn
                  properties: &ref_213
                    authorizationID:
                      type: string
                      format: uuid
                    issuedCardID:
                      type: string
                      format: uuid
                    fundingWalletID:
                      type: string
                      format: uuid
                    network:
                      type: string
                      enum: &ref_368
                        - discover
                        - shazam
                        - visa
                      description: The name of the network a card transaction is routed through.
                    authorizedAmount:
                      type: string
                      format: ^\d+\.\d{1,2}$
                      description: A decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99.
                      example: '-14.89'
                    status:
                      type: string
                      enum: *ref_211
                      description: Status of a card issuing authorization.
                    merchantData:
                      type: object
                      properties: &ref_214
                        networkID:
                          type: string
                          description: External identifier used to identify the merchant with the card brand.
                        name:
                          type: string
                          description: Name of the merchant.
                          example: Whole Body Fitness
                        city:
                          type: string
                          description: The merchant's location.
                          example: San Francisco
                        country:
                          type: string
                          description: Two-letter country code.
                          example: US
                        postalCode:
                          type: string
                          description: The merchant's five-digit postal code.
                          example: '94107'
                        state:
                          type: string
                          description: The merchant's two-letter state abbreviation.
                          example: CA
                        mcc:
                          type: string
                          description: The Merchant Category Code.
                          example: '7298'
                    createdOn:
                      type: string
                      format: date-time
                    cardTransactions:
                      type: array
                      items:
                        type: string
                      description: List of card transaction IDs associated with this authorization.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Issuing transactions
      x-speakeasy-name-override: listAuthorizations
  /issuing/{accountID}/authorizations/{authorizationID}:
    get:
      operationId: getIssuedCardAuthorization
      description: |-
        Retrieves details of an authorization associated with a specific Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The Moov business account for which cards have been issued.
          schema:
            type: string
            format: uuid
        - name: authorizationID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_212
                properties: *ref_213
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Issuing transactions
      x-speakeasy-name-override: getAuthorization
  /issuing/{accountID}/authorizations/{authorizationID}/events:
    get:
      operationId: listIssuedCardAuthorizationEvents
      description: |-
        List card network and Moov platform events that affect the authorization and its hold on a wallet balance.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The Moov business account for which cards have been issued.
          schema:
            type: string
            format: uuid
        - name: authorizationID
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: skip
          in: query
          required: false
          schema: *ref_81
          explode: false
        - name: count
          in: query
          required: false
          schema: *ref_82
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_488
                    - eventID
                    - eventType
                    - amount
                    - result
                    - createdOn
                  properties: &ref_489
                    eventID:
                      type: string
                      format: uuid
                      description: The identifier for this event. Use the `eventType` field to determine what resource is identified by this ID (`authorization`, `reversal`, etc.).
                    eventType:
                      type: string
                      enum: &ref_491
                        - authorization
                        - reversal
                        - authorization-advice
                        - authorization-expiration
                        - authorization-incremental
                        - clearing
                      description: The type of event that occurred on the card.
                    amount:
                      type: string
                      format: ^\d+\.\d{1,2}$
                      description: A decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99.
                      example: '-14.89'
                    result:
                      type: string
                      enum: &ref_490
                        - approved
                        - declined
                        - processed
                      description: The result of an event.
                    createdOn:
                      type: string
                      format: date-time
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Issuing transactions
      x-speakeasy-name-override: listAuthorizationEvents
  /issuing/{accountID}/card-transactions:
    get:
      operationId: listIssuedCardTransactions
      description: |-
        List issued card transactions associated with a Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The Moov business account for which cards have been issued.
          schema:
            type: string
            format: uuid
        - name: skip
          in: query
          required: false
          schema: *ref_81
          explode: false
        - name: count
          in: query
          required: false
          schema: *ref_82
          explode: false
        - name: issuedCardID
          in: query
          required: false
          description: Optional ID of the issued card to filter results.
          schema: &ref_287
            type: string
            format: uuid
          explode: false
        - name: startDateTime
          in: query
          required: false
          description: Optional date-time which inclusively filters all card transactions created after this date-time.
          schema: &ref_288
            type: string
            format: date-time
          explode: false
        - name: endDateTime
          in: query
          required: false
          description: Optional date-time which exclusively filters all card transactions created before this date-time.
          schema: &ref_286
            type: string
            format: date-time
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: &ref_215
                    - cardTransactionID
                    - issuedCardID
                    - fundingWalletID
                    - amount
                    - authorizedOn
                    - merchantData
                    - createdOn
                  properties: &ref_216
                    cardTransactionID:
                      type: string
                      format: uuid
                    issuedCardID:
                      type: string
                      format: uuid
                    fundingWalletID:
                      type: string
                      format: uuid
                    amount:
                      type: string
                      format: ^\d+\.\d{1,2}$
                      description: A decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99.
                      example: '-14.89'
                    authorizationID:
                      type: string
                      format: uuid
                    authorizedOn:
                      type: string
                      format: date-time
                    merchantData:
                      type: object
                      properties: *ref_214
                    createdOn:
                      type: string
                      format: date-time
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Issuing transactions
      x-speakeasy-name-override: list
  /issuing/{accountID}/card-transactions/{cardTransactionID}:
    get:
      operationId: getIssuedCardTransaction
      description: |-
        Retrieves details of an issued card transaction associated with a specific Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The Moov business account for which cards have been issued.
          schema:
            type: string
            format: uuid
        - name: cardTransactionID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_215
                properties: *ref_216
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Issuing transactions
      x-speakeasy-name-override: get
  /issuing/{accountID}/issued-cards:
    post:
      operationId: requestCard
      description: |-
        Request a virtual card be issued.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The Moov business account for which the card is to be issued.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_221
                  - issuedCardID
                  - brand
                  - lastFourCardNumber
                  - expiration
                  - authorizedUser
                  - fundingWalletID
                  - state
                  - formFactor
                  - createdOn
                properties: &ref_222
                  issuedCardID:
                    type: string
                    format: uuid
                  brand:
                    type: string
                    enum: *ref_57
                    description: The card brand.
                    example: Visa
                  lastFourCardNumber:
                    type: string
                  expiration:
                    type: object
                    required: *ref_59
                    properties: *ref_60
                    description: The expiration date of the card or token.
                    example: *ref_61
                  authorizedUser:
                    type: object
                    required: &ref_224
                      - firstName
                      - lastName
                    properties: &ref_225
                      firstName:
                        type: string
                      lastName:
                        type: string
                    description: Fields for identifying an authorized individual.
                  memo:
                    type: string
                    description: Optional descriptor for the card.
                  fundingWalletID:
                    type: string
                    description: Unique identifier for the wallet funding the card.
                  state:
                    type: string
                    enum: &ref_220
                      - active
                      - inactive
                      - pending-verification
                      - closed
                    description: |-
                      The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.

                      - `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation.
                      - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
                      - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
                      - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
                  formFactor:
                    type: string
                    enum: &ref_218
                      - virtual
                    description: Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
                  controls:
                    type: object
                    properties: &ref_219
                      singleUse:
                        type: boolean
                        description: Indicates if the card is single-use. If true, the card closes after the first authorization.
                      velocityLimits:
                        type: array
                        items:
                          type: object
                          required: &ref_495
                            - amount
                            - interval
                          properties: &ref_496
                            amount:
                              type: integer
                              format: int64
                              description: The maximum amount in cents that can be spent in a given interval.
                              example: 10000
                            interval:
                              type: string
                              enum: &ref_494
                                - per-transaction
                              description: Specifies the time frame for the velocity limit. Currently supports only per-transaction limits.
                        description: Sets the spending limit per time interval. Only one limit per interval is supported.
                  createdOn:
                    type: string
                    format: date-time
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_594
                  fundingWalletID:
                    type: string
                  formFactor:
                    type: string
                  authorizedUser:
                    type: object
                    properties: &ref_223
                      firstName:
                        type: string
                      lastName:
                        type: string
                      birthDate:
                        type: object
                        properties: *ref_217
                  memo:
                    type: string
                  expiration:
                    type: object
                    properties: &ref_367
                      month:
                        type: string
                      year:
                        type: string
                  controls:
                    type: object
                    properties: &ref_492
                      velocityLimits:
                        type: object
                        additionalProperties:
                          type: object
                          properties: &ref_497
                            amount:
                              type: string
                            interval:
                              type: string
                    example: &ref_493
                      velocityLimits:
                        '0':
                          amount: must be no less than 1
                          interval: must be a valid value
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Card issuing
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_592
                - fundingWalletID
                - authorizedUser
                - formFactor
              properties: &ref_593
                fundingWalletID:
                  type: string
                  format: uuid
                authorizedUser:
                  type: object
                  required: &ref_390
                    - firstName
                    - lastName
                  properties: &ref_391
                    firstName:
                      type: string
                    lastName:
                      type: string
                    birthDate:
                      type: object
                      required: *ref_138
                      properties: *ref_139
                  description: Fields for identifying an authorized individual.
                formFactor:
                  type: string
                  enum: *ref_218
                  description: Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
                memo:
                  type: string
                  description: An optional descriptive name for the card.
                expiration:
                  type: object
                  required: *ref_59
                  properties: *ref_60
                  description: The expiration date of the card or token.
                  example: *ref_61
                controls:
                  type: object
                  properties: *ref_219
      x-speakeasy-name-override: request
    get:
      operationId: listIssuedCards
      description: |-
        List Moov issued cards existing for the account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The Moov business account for which the cards have been issued.
          schema:
            type: string
            format: uuid
        - name: skip
          in: query
          required: false
          schema: *ref_81
          explode: false
        - name: count
          in: query
          required: false
          schema: *ref_82
          explode: false
        - name: states
          in: query
          required: false
          description: Optional, comma-separated states to filter the Moov list issued cards response. For example `active,pending-verification`
          schema:
            type: array
            items:
              type: string
              enum: *ref_220
              description: |-
                The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.

                - `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation.
                - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
                - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
                - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_221
                  properties: *ref_222
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Card issuing
      x-speakeasy-name-override: list
  /issuing/{accountID}/issued-cards/{issuedCardID}:
    get:
      operationId: getIssuedCard
      description: |-
        Retrieve a single issued card associated with a Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The Moov business account for which the card was issued.
          schema:
            type: string
            format: uuid
        - name: issuedCardID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_221
                properties: *ref_222
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Card issuing
      x-speakeasy-name-override: get
    patch:
      operationId: updateIssuedCard
      description: |-
        Update a Moov issued card.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The Moov business account for which the card was issued.
          schema:
            type: string
            format: uuid
        - name: issuedCardID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_642
                  state:
                    type: string
                  memo:
                    type: string
                  authorizedUser:
                    type: object
                    properties: *ref_223
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Card issuing
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: &ref_641
                state:
                  type: string
                  enum: *ref_220
                  description: |-
                    The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.

                    - `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation.
                    - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
                    - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
                    - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
                memo:
                  type: string
                authorizedUser:
                  type: object
                  properties: &ref_392
                    firstName:
                      type: string
                    lastName:
                      type: string
                    birthDate:
                      type: object
                      properties: *ref_142
                  description: Fields for identifying an authorized individual.
      x-speakeasy-name-override: update
  /issuing/{accountID}/issued-cards/{issuedCardID}/details:
    get:
      operationId: getFullIssuedCard
      description: |-
        Get issued card with PAN, CVV, and expiration. 

        Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/issued-cards.read-secure` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: accountID
          in: path
          required: true
          description: The Moov business account for which the card was issued.
          schema:
            type: string
            format: uuid
        - name: issuedCardID
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_474
                  - issuedCardID
                  - brand
                  - lastFourCardNumber
                  - expiration
                  - authorizedUser
                  - fundingWalletID
                  - state
                  - formFactor
                  - createdOn
                  - pan
                  - cvv
                properties: &ref_475
                  issuedCardID:
                    type: string
                    format: uuid
                  brand:
                    type: string
                    enum: *ref_57
                    description: The card brand.
                    example: Visa
                  lastFourCardNumber:
                    type: string
                  expiration:
                    type: object
                    required: *ref_59
                    properties: *ref_60
                    description: The expiration date of the card or token.
                    example: *ref_61
                  authorizedUser:
                    type: object
                    required: *ref_224
                    properties: *ref_225
                    description: Fields for identifying an authorized individual.
                  memo:
                    type: string
                    description: Optional descriptor for the card.
                  fundingWalletID:
                    type: string
                    description: Unique identifier for the wallet funding the card.
                  state:
                    type: string
                    enum: *ref_220
                    description: |-
                      The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.

                      - `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation.
                      - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
                      - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
                      - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
                  formFactor:
                    type: string
                    enum: *ref_218
                    description: Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
                  controls:
                    type: object
                    properties: *ref_219
                  createdOn:
                    type: string
                    format: date-time
                  pan:
                    type: string
                    minLength: 16
                    maxLength: 19
                    description: The issued card's Primary Account Number (PAN)
                  cvv:
                    type: string
                    minLength: 3
                    maxLength: 4
                    description: The issued card's 3- or 4-digit Card Verification Value (CVV).
                description: The full details of an issued card, including PAN and CVV.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Card issuing
      x-speakeasy-name-override: getFull
  /oauth2/revoke:
    post:
      operationId: revokeAccessToken
      description: |-
        Revoke an auth token.

        Allows clients to notify the authorization server that a previously obtained refresh or access token is no longer needed.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_604
                  token:
                    type: string
                  token_type_hint:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Authentication
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_226
                - token
              properties: &ref_227
                token:
                  type: string
                  description: The access or refresh token to revoke.
                token_type_hint:
                  type: string
                  enum:
                    - access_token
                    - refresh_token
                  description: The type of token being revoked.
                client_id:
                  type: string
                  description: Client ID can be provided here in the body, or as the Username in HTTP Basic Auth.
                  example: 5clTR_MdVrrkgxw2
                client_secret:
                  type: string
                  description: Client secret can be provided here in the body, or as the Password in HTTP Basic Auth.
                  example: dNC-hg7sVm22jc3g_Eogtyu0_1Mqh_4-
          application/x-www-form-urlencoded:
            schema:
              type: object
              required: *ref_226
              properties: *ref_227
  /oauth2/token:
    post:
      operationId: createAccessToken
      description: Create or refresh an access token.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_346
                  - token_type
                  - access_token
                  - refresh_token
                  - expires_in
                  - scope
                properties: &ref_347
                  token_type:
                    type: string
                    enum: &ref_619
                      - Bearer
                    description: An [RFC 6750](https://www.rfc-editor.org/rfc/rfc6750#section-6.1) token type.
                    example: Bearer
                  access_token:
                    type: string
                    maxLength: 4096
                    description: A value passed to the authorization server to gain access to the system.
                    example: eyJhbGciOiJFZERTQSIsImN0eSI6IkpXVCIsImtpZCI6IkR...
                  refresh_token:
                    type: string
                    maxLength: 4096
                    description: A value passed to the authorization server to obtain a new access token.
                    example: eyJhbGc0eSI6TQSIsImN0kpXVCIsImtp6IkpXVsImtpZC0a...
                  expires_in:
                    type: integer
                    format: int32
                    description: Unix timestamp indicating when this token expires.
                    example: 1736964352
                  scope:
                    type: string
                    description: A space-delimited list of [scopes](https://docs.moov.io/api/authentication/scopes/) that are allowed.
                    example: /accounts.read /accounts.write
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_348
                  scope:
                    type: string
                  refresh_token:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Authentication
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_228
                - grant_type
              properties: &ref_229
                grant_type:
                  type: string
                  enum: &ref_483
                    - client_credentials
                    - refresh_token
                  description: |-
                    The type of grant being requested.

                      - `client_credentials`: A grant type used by clients to obtain an access token
                      - `refresh_token`: A grant type used by clients to obtain a new access token using a refresh token
                client_id:
                  type: string
                  description: Client ID can be provided here in the body, or as the Username in HTTP Basic Auth.
                  example: 5clTR_MdVrrkgxw2
                client_secret:
                  type: string
                  description: Client secret can be provided here in the body, or as the Password in HTTP Basic Auth.
                  example: dNC-hg7sVm22jc3g_Eogtyu0_1Mqh_4-
                scope:
                  type: string
                  description: A space delimited list of scopes. Required when `grant_type` is `client_credentials`.
                  example: /accounts.read /accounts.write
                refresh_token:
                  type: string
                  description: The refresh_token returned alongside the access token being refreshed. Required when `grant_type` is `refresh_token`.
                  example: eyJhbGc0eSI6TQSIsImN0kpXVCIsImtp6IkpXVsImtpZC0a...
          application/x-www-form-urlencoded:
            schema:
              type: object
              required: *ref_228
              properties: *ref_229
  /onboarding-invites:
    post:
      operationId: createOnboardingInvite
      description: |-
        Create an invitation containing a unique link that allows the recipient to onboard their organization with Moov.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_236
                  - code
                  - link
                  - scopes
                  - capabilities
                  - feePlanCodes
                  - createdOn
                properties: &ref_237
                  code:
                    type: string
                    description: A unique code that identifies an onboarding invite.
                    example: N1IA5eWYNh
                  link:
                    type: string
                    format: uri
                    description: A unique URL, including the invite code, that the recipient can follow to redeem the invitation.
                  returnURL:
                    type: string
                    description: The scopes requested by the inviter.
                  termsOfServiceURL:
                    type: string
                    description: The terms of service URL set by the inviter.
                  scopes:
                    type: array
                    items:
                      type: string
                      enum: &ref_235
                        - accounts.read
                        - accounts.write
                        - analytics.read
                        - apple-pay-merchant.read
                        - apple-pay-merchant.write
                        - apple-pay.read
                        - apple-pay.write
                        - bank-accounts.read
                        - bank-accounts.write
                        - capabilities.read
                        - capabilities.write
                        - cards.read
                        - cards.write
                        - documents.read
                        - documents.write
                        - fed.read
                        - files.read
                        - files.write
                        - issued-cards.read
                        - issued-cards.write
                        - issued-cards.read-secure
                        - payment-methods.read
                        - ping.read
                        - profile-enrichment.read
                        - profile.read
                        - profile.write
                        - profile.disconnect
                        - representatives.read
                        - representatives.write
                        - transfers.read
                        - transfers.write
                        - wallets.read
                      description: A permission that the application requests on another account.
                    minItems: 1
                    description: |-
                      List of [scopes](https://docs.moov.io/api/authentication/scopes/) you request to use on this
                      account. These values are used to determine what can be done with the account onboarded.
                    example:
                      - accounts.read
                  capabilities:
                    type: array
                    items:
                      type: string
                      enum: *ref_19
                      description: |-
                        Moov account capabilities.

                        The `production-app` capability might appear in your list. This is a read-only capability that Moov requests and uses for account verification purposes. The capability remains active with your account and requires no additional action.
                    minItems: 1
                    description: |2-
                        List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
                        account. These values are used to determine what information to collect from the user during onboarding.
                    example:
                      - transfers
                  feePlanCodes:
                    type: array
                    items:
                      type: string
                    minItems: 1
                    description: List of fee plan codes to assign the account created by the invitee.
                    example:
                      - merchant-direct
                  redeemedAccountID:
                    type: string
                    format: uuid
                    description: The account ID of the account that redeemed the invite.
                  prefill:
                    type: object
                    required: *ref_230
                    properties: *ref_231
                    example: *ref_232
                  partner:
                    type: object
                    required: &ref_537
                      - accountID
                      - accountMode
                      - displayName
                    properties: &ref_538
                      accountID:
                        type: string
                        format: uuid
                        description: The account ID of the partner that created the invite.
                      accountMode:
                        type: string
                        enum: *ref_17
                        description: The operating mode for an account.
                        example: production
                      displayName:
                        type: string
                        description: The name of the Moov account used to create the onboarding invite.
                        example: Bob's Widgets
                    description: The account that created the onboarding invite.
                  createdOn:
                    type: string
                    format: date-time
                  revokedOn:
                    type: string
                    format: date-time
                  redeemedOn:
                    type: string
                    format: date-time
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_534
                  returnURL:
                    type: string
                  termsOfServiceURL:
                    type: string
                  scopes:
                    type: object
                    additionalProperties: *ref_233
                    example: *ref_234
                  capabilities:
                    type: object
                    additionalProperties: *ref_233
                    example: *ref_234
                  feePlanCodes:
                    type: object
                    additionalProperties: *ref_233
                    example: *ref_234
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Onboarding
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_535
                - scopes
                - capabilities
                - feePlanCodes
              properties: &ref_536
                returnURL:
                  type: string
                  format: uri
                  description: Optional URL to redirect the user to after they complete the onboarding process.
                termsOfServiceURL:
                  type: string
                  format: uri
                  description: Optional URL to your organization's terms of service.
                scopes:
                  type: array
                  items:
                    type: string
                    enum: *ref_235
                    description: A permission that the application requests on another account.
                  minItems: 1
                  description: |2-
                      List of [scopes](https://docs.moov.io/api/authentication/scopes/) you request to use on this
                      account. These values are used to determine what can be done with the account onboarded.
                  example:
                    - accounts.read
                capabilities:
                  type: array
                  items:
                    type: string
                    enum: *ref_19
                    description: |-
                      Moov account capabilities.

                      The `production-app` capability might appear in your list. This is a read-only capability that Moov requests and uses for account verification purposes. The capability remains active with your account and requires no additional action.
                  minItems: 1
                  description: |2-
                      List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
                      account. These values are used to determine what information to collect from the user during onboarding.
                  example:
                    - transfers
                feePlanCodes:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  description: List of fee plan codes to assign the account created by the invitee.
                  example:
                    - merchant-direct
                prefill:
                  type: object
                  required: *ref_230
                  properties: *ref_231
                  example: *ref_232
              description: Request to create an onboarding invite.
      x-speakeasy-name-override: createInvite
    get:
      operationId: listOnboardingInvites
      description: |-
        List all the onboarding invites created by the caller's account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_236
                  properties: *ref_237
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Onboarding
      x-speakeasy-name-override: listInvites
  /onboarding-invites/{code}:
    get:
      operationId: getOnboardingInvite
      description: |-
        Retrieve details about an onboarding invite.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: code
          in: path
          required: true
          schema:
            type: string
            description: A unique code that identifies an onboarding invite.
            example: N1IA5eWYNh
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_236
                properties: *ref_237
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Onboarding
      x-speakeasy-name-override: getInvite
    delete:
      operationId: revokeOnboardingInvite
      description: |-
        Revoke an onboarding invite, rendering the invitation link unusable.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: code
          in: path
          required: true
          schema:
            type: string
            description: A unique code that identifies an onboarding invite.
            example: N1IA5eWYNh
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Onboarding
      x-speakeasy-name-override: revokeInvite
  /ping:
    get:
      operationId: ping
      description: |-
        A simple endpoint to check auth.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/ping.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '200':
          description: Successfully able to hit the ping endpoint.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Ping
  /receipts:
    post:
      operationId: createReceipts
      description: |2-
         Create receipts for transfers and scheduled transfers.

         To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
         you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '201':
          description: The resource was successfully created.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_239
                  - receiptID
                  - createdBy
                  - kind
                  - sentFor
                properties: &ref_240
                  receiptID:
                    type: string
                    format: uuid
                    description: Unique identifier for the receipt request.
                  createdBy:
                    type: string
                    format: uuid
                    description: AccountID for which the receipt request was created.
                  disabledOn:
                    type: string
                    format: date-time
                    description: The date and time the receipt was disabled.
                    example: '2009-11-10T23:00:00Z'
                  kind:
                    allOf:
                      - type: string
                        enum: &ref_238
                          - sale.customer.v1
                        description: The type of receipt being requested.
                    description: The type of receipt.
                  email:
                    allOf:
                      - type: string
                        maxLength: 255
                        format: email
                        example: jordan.lee@classbooker.dev
                    description: |-
                      The email address the receipt is sent to.
                      Either email or emailAccountID will be in the response, but not both.
                  emailAccountID:
                    type: string
                    format: uuid
                    description: |-
                      The accountID the receipt is sent to.
                      Either email or emailAccountID will be in the response, but not both.
                  forTransferID:
                    type: string
                    format: uuid
                    description: |-
                      The ID of the transfer associated with this receipt.
                      Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
                  forScheduleID:
                    type: string
                    format: uuid
                    description: |-
                      The ID of the schedule associated with this receipt.
                      Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
                  forOccurrenceID:
                    type: string
                    format: uuid
                    description: |-
                      The ID of the schedule occurrence associated with this receipt.
                      Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
                  sentFor:
                    type: array
                    items:
                      type: object
                      required: &ref_609
                        - receiptID
                        - idempotencyKey
                        - sentOn
                      properties: &ref_610
                        receiptID:
                          type: string
                          format: uuid
                          description: Unique identifier for the receipt.
                        idempotencyKey:
                          type: string
                          format: uuid
                          description: The idempotency key used when creating the receipt.
                        sentOn:
                          type: string
                          format: date-time
                          description: When the receipt was sent.
                          example: '2009-11-10T23:00:00Z'
                    description: The list of receipts that have been sent.
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_582
                  kind:
                    type: string
                  email:
                    type: string
                  emailAccountID:
                    type: string
                  forTransferID:
                    type: string
                  forScheduleID:
                    type: string
                  forOccurrenceID:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Receipts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                type: object
                required: &ref_580
                  - kind
                properties: &ref_581
                  kind:
                    allOf:
                      - type: string
                        enum: *ref_238
                        description: The type of receipt being requested.
                    description: The type of receipt being requested.
                  email:
                    allOf:
                      - type: string
                        maxLength: 255
                        format: email
                        example: jordan.lee@classbooker.dev
                    description: |-
                      The email address to send the receipt to.
                      Either email or emailAccountID must be provided, but not both.
                  emailAccountID:
                    type: string
                    format: uuid
                    description: |-
                      The accountID to send the receipt to.
                      Either email or emailAccountID must be provided, but not both.
                  forTransferID:
                    type: string
                    format: uuid
                    description: |-
                      The ID of the transfer associated with this receipt.
                      Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
                  forScheduleID:
                    type: string
                    format: uuid
                    description: |-
                      The ID of the schedule associated with this receipt.
                      Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
                  forOccurrenceID:
                    type: string
                    format: uuid
                    description: |-
                      The ID of the schedule occurrence associated with this receipt.
                      Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
                description: A receipt request for a specific transfer, schedule, or schedule occurrence.
      x-speakeasy-name-override: create
    get:
      operationId: listReceipts
      description: |-
        List receipts by trasnferID, scheduleID, or occurrenceID.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: id
          in: query
          required: false
          description: The unique identifier to filter receipts by.
          schema:
            type: string
            format: uuid
          explode: false
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_239
                  properties: *ref_240
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Receipts
      x-speakeasy-name-override: list
  /terminal-applications:
    post:
      operationId: createTerminalApplication
      description: |-
        Create a new terminal application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/terminalApplications.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: &ref_242
                  - terminalApplicationID
                  - status
                  - platform
                properties: &ref_243
                  terminalApplicationID:
                    type: string
                    format: uuid
                    description: ID of the terminal application.
                    example: 01234567-89ab-cdef-0123-456789abcdef
                  status:
                    type: string
                    enum: &ref_615
                      - undefined
                      - pending
                      - enabled
                      - disabled
                    description: Status of the terminal application.
                    example: enabled
                  platform:
                    type: string
                    enum: &ref_241
                      - undefined
                      - ios
                      - android
                    description: Platform of the terminal application.
                    example: ios
                  appBundleID:
                    type: string
                    description: The app bundle identifier of the terminal application. Will be returned if platform is `ios`.
                  packageName:
                    type: string
                    description: The app package name of the terminal application. Will be returned if platform is `android`.
                  sha256Digest:
                    type: string
                    description: The app version of the terminal application Will be returned if platform is `android`.
                  versionCode:
                    type: string
                    description: The app version of the terminal application Will be returned if platform is `android`.
                description: Describes a terminal application.
                example: &ref_244
                  terminalApplicationID: 01234567-89ab-cdef-0123-456789abcdef
                  status: enabled
                  platform: ios
                  appBundleID: com.example.app
                  packageName: com.example.app
                  sha256Digest: '1234567890'
                  versionCode: 1.0.0
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_614
                  platform:
                    type: string
                  appBundleID:
                    type: string
                  packageName:
                    type: string
                  sha256Digest:
                    type: string
                  versionCode:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Terminal Applications
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_419
                - platform
              properties: &ref_420
                platform:
                  type: string
                  enum: *ref_241
                  description: Platform of the terminal application.
                  example: ios
                appBundleID:
                  type: string
                  description: The app bundle identifier of the terminal application. Required if platform is `ios`.
                packageName:
                  type: string
                  description: The app package name of the terminal application. Required if platform is `android`.
                sha256Digest:
                  type: string
                  description: The app version of the terminal application. Required if paltform is `android`.
                versionCode:
                  type: string
                  description: The app version of the terminal application. Required if platform is `android`.
              description: Describes a create terminal application request.
              example: &ref_421
                platform: ios
                appBundleID: com.example.app
                packageName: com.example.app
                sha256Digest: '1234567890'
                versionCode: 1.0.0
      x-speakeasy-name-override: create
    get:
      operationId: listTerminalApplications
      description: |-
        List all the terminal applications for a Moov Account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/terminalApplications.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required: *ref_242
                  properties: *ref_243
                  description: Describes a terminal application.
                  example: *ref_244
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Terminal Applications
      x-speakeasy-name-override: list
  /terminal-applications/{terminalApplicationID}:
    get:
      operationId: getTerminalApplication
      description: |-
        Fetch a specific terminal application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/terminalApplications.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: terminalApplicationID
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: ID of the terminal application.
            example: 01234567-89ab-cdef-0123-456789abcdef
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_242
                properties: *ref_243
                description: Describes a terminal application.
                example: *ref_244
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Terminal Applications
      x-speakeasy-name-override: get
    delete:
      operationId: deleteTerminalApplication
      description: |-
        Delete a specific terminal application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/terminalApplications.write` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: terminalApplicationID
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: ID of the terminal application.
            example: 01234567-89ab-cdef-0123-456789abcdef
      responses:
        '204':
          description: The request completed successfully, but there is no content to return.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '409':
          description: The request conflicted with the current state of the target resource.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Terminal Applications
      x-speakeasy-name-override: delete
  /tos-token:
    get:
      operationId: getTermsOfServiceToken
      description: |-
        Generates a non-expiring token that can then be used to accept Moov's terms of service. 

        This token can only be generated via API. Any Moov account requesting the collect funds, send funds, wallet, 
        or card issuing capabilities must accept Moov's terms of service, then have the generated terms of service 
        token patched to the account. Read more in our [documentation](https://docs.moov.io/guides/accounts/requirements/platform-agreement/).
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
        - name: origin
          in: header
          required: false
          description: Indicates the domain from which the request originated. Required if referer header is not present.
          schema:
            type: string
        - name: referer
          in: header
          required: false
          description: Specifies the URL of the resource from which the request originated. Required if origin header is not present.
          schema:
            type: string
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_245
                properties: *ref_246
                description: An encrypted value used to record acceptance of Moov's Terms of Service.
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '404':
          description: The requested resource was not found.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Accounts
  /transfer-options:
    post:
      operationId: createTransferOptions
      description: |-
        Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you 
        supply in the request. 

        Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) 
        you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
      parameters:
        - name: x-moov-version
          in: header
          required: false
          description: |-
            Specify an API version.

            API versioning follows the format `vYYYY.QQ.BB`, where 
              - `YYYY` is the year
              - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
              - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
                - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

            The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
          schema: *ref_18
          x-speakeasy-globals-hidden: true
      responses:
        '200':
          description: The request completed successfully.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_623
                  sourceOptions:
                    type: array
                    items:
                      oneOf: *ref_133
                      discriminator: *ref_134
                      description: A method of moving money
                  destinationOptions:
                    type: array
                    items:
                      oneOf: *ref_133
                      discriminator: *ref_134
                      description: A method of moving money
        '400':
          description: The server could not understand the request due to invalid syntax.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                required: *ref_5
                properties: *ref_6
        '401':
          description: The request contained missing or expired authentication.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '403':
          description: The user is not authorized to make the request.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '422':
          description: The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                type: object
                properties: &ref_624
                  amount:
                    type: string
                  source:
                    type: string
                  destination:
                    type: string
        '429':
          description: Request was refused due to rate limiting.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '500':
          description: The request failed due to an unexpected error.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
        '504':
          description: The request failed because a downstream service failed to respond.
          headers:
            x-request-id:
              required: true
              description: A unique identifier used to trace requests.
              schema:
                type: string
                format: uuid
      tags:
        - Transfers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: &ref_429
                - source
                - destination
                - amount
              properties: &ref_430
                source:
                  type: object
                  properties: &ref_247
                    accountID:
                      type: string
                      format: uuid
                    paymentMethodID:
                      type: string
                      format: uuid
                destination:
                  type: object
                  properties: *ref_247
                amount:
                  type: object
                  required: *ref_98
                  properties: *ref_99
      x-speakeasy-name-override: generateOptions
components:
  parameters:
    AccountsQuery.capability:
      name: capability
      in: query
      required: false
      description: '  Filter connected accounts by the capability.'
      schema: *ref_248
      explode: false
    AccountsQuery.capabilityStatus:
      name: capabilityStatus
      in: query
      required: false
      description: '  Filter connected accounts by the capability.'
      schema: *ref_249
      explode: false
    AccountsQuery.email:
      name: email
      in: query
      required: false
      description: |2-
          Filter connected accounts by email address.

          Provide the full email address to filter by email.
      schema: *ref_250
      explode: false
    AccountsQuery.foreignID:
      name: foreignID
      in: query
      required: false
      description: '  Serves as an optional alias from a foreign/external system which can be used to reference this resource.'
      schema: *ref_251
      explode: false
    AccountsQuery.includeDisconnected:
      name: includeDisconnected
      in: query
      required: false
      description: |-
        Filter disconnected accounts.

        If true, the response will include disconnected accounts.
      schema: *ref_252
      explode: false
    AccountsQuery.name:
      name: name
      in: query
      required: false
      description: |-
        Filter connected accounts by name.

        If provided, this query will attempt to find matches against the following Account and Profile fields:
        <ul>
          <li>Account `displayName`</li>
          <li>Individual Profile `firstName`, `middleName`, and `lastName`</li>
          <li>Business Profile `legalBusinessName`</li>
        </ul>
      schema: *ref_253
      explode: false
    AccountsQuery.type:
      name: type
      in: query
      required: false
      description: |2-
          Filter connected accounts by AccountType.

          If the `type` parameter is used in combination with `name`, only the corresponding type's name fields will
          be searched. For example, if `type=business` and `name=moov`, the search will attempt to find matches against
          the display name and Business Profile name fields (`legalBusinessName`, and `doingBusinessAs`).
      schema: *ref_254
      explode: false
    DisputeListFilters.cardholderAccountID:
      name: cardholderAccountID
      in: query
      required: false
      description: Optional parameter to filter by cardholder account ID.
      schema: *ref_255
      explode: false
    DisputeListFilters.disputeIDs:
      name: disputeIDs
      in: query
      required: false
      description: Optional parameter to filter by a comma separated list of dispute IDs.
      schema: *ref_256
      explode: false
    DisputeListFilters.endDateTime:
      name: endDateTime
      in: query
      required: false
      description: Optional date-time parameter to filter all disputes created on and before the provided date and time.
      schema: *ref_257
      explode: false
    DisputeListFilters.merchantAccountID:
      name: merchantAccountID
      in: query
      required: false
      description: Optional parameter to filter by merchant account ID.
      schema: *ref_258
      explode: false
    DisputeListFilters.orderBy:
      name: orderBy
      in: query
      required: false
      schema: *ref_259
      explode: false
    DisputeListFilters.respondEndDateTime:
      name: respondEndDateTime
      in: query
      required: false
      description: Optional date-time which exclusively filters all disputes with respond by before this date-time.
      schema: *ref_260
      explode: false
    DisputeListFilters.respondStartDateTime:
      name: respondStartDateTime
      in: query
      required: false
      description: Optional date-time which exclusively filters all disputes with respond by before this date-time.
      schema: *ref_261
      explode: false
    DisputeListFilters.startDateTime:
      name: startDateTime
      in: query
      required: false
      description: Optional date-time parameter to filter all disputes created on and after the provided date and time.
      schema: *ref_262
      explode: false
    DisputeListFilters.status:
      name: status
      in: query
      required: false
      description: Optional dispute status by which to filter the disputes.
      schema: *ref_263
      explode: false
    DisputeListFilters.transferIDs:
      name: transferIDs
      in: query
      required: false
      description: Optional parameter to filter by a comma separated list of transfer IDs.
      schema: *ref_264
      explode: false
    EnrichedAddressFilters.excludeStates:
      name: excludeStates
      in: query
      required: false
      description: Exclude list of states from results. No `include` pararmeters may be used with this parameter.
      schema: *ref_265
      explode: false
    EnrichedAddressFilters.includeCities:
      name: includeCities
      in: query
      required: false
      description: Limits results to a list of given cities.
      schema: *ref_266
      explode: false
    EnrichedAddressFilters.includeStates:
      name: includeStates
      in: query
      required: false
      description: Limits results to a list of given states.
      schema: *ref_267
      explode: false
    EnrichedAddressFilters.includeZipcodes:
      name: includeZipcodes
      in: query
      required: false
      description: Limits results to a list of given zipcodes.
      schema: *ref_268
      explode: false
    EnrichedAddressFilters.maxResults:
      name: maxResults
      in: query
      required: false
      description: Maximum number of results to return.
      schema: *ref_269
      explode: false
    EnrichedAddressFilters.preferCities:
      name: preferCities
      in: query
      required: false
      description: Display results with the listed cities at the top.
      schema: *ref_270
      explode: false
    EnrichedAddressFilters.preferGeolocation:
      name: preferGeolocation
      in: query
      required: false
      description: |2-
          If omitted or set to `city`, it uses the sender's IP address to determine location, then automatically adds the city and state 
          to the preferCities value. This parameter takes precedence over other `include` or `exclude` parameters meaning that if it is 
          not set to `none`, you may see addresses from areas you do not wish to see.
      schema: *ref_271
      explode: false
    EnrichedAddressFilters.preferRatio:
      name: preferRatio
      in: query
      required: false
      description: Specifies the percentage of address suggestions that should be preferred and will appear at the top of the results.
      schema: *ref_272
      explode: false
    EnrichedAddressFilters.preferStates:
      name: preferStates
      in: query
      required: false
      description: Display results with the listed states at the top.
      schema: *ref_273
      explode: false
    EnrichedAddressFilters.preferZipcodes:
      name: preferZipcodes
      in: query
      required: false
      description: Display results with the listed zipcodes at the top.
      schema: *ref_274
      explode: false
    EnrichedAddressFilters.search:
      name: search
      in: query
      required: true
      description: Partial or complete address to search.
      schema: *ref_275
      explode: false
    EnrichedAddressFilters.selected:
      name: selected
      in: query
      required: false
      description: Useful for narrowing results with `addressLine2` suggestions such as `Apt` (denotes an apartment building with multiple residences).
      schema: *ref_276
      explode: false
    EnrichedAddressFilters.source:
      name: source
      in: query
      required: false
      description: Include results from alternate data sources. Allowed values are `all` (non-postal addresses), or `postal` (postal addresses only).
      schema: *ref_277
      explode: false
    InstitutionsFilters.limit:
      name: limit
      in: query
      required: false
      description: Maximum results returned by a search.
      schema: *ref_278
      explode: false
    InstitutionsFilters.name:
      name: name
      in: query
      required: false
      description: Name of the financial institution. Either `name` or `routingNumber` is required.
      schema: *ref_279
      explode: false
    InstitutionsFilters.routingNumber:
      name: routingNumber
      in: query
      required: false
      description: Routing number for a financial institution. Either `routingNumber` or `name` is required.
      schema: *ref_280
      explode: false
    InstitutionsFilters.state:
      name: state
      in: query
      required: false
      description: The state where a financial institution is based.
      schema: *ref_281
      explode: false
    ListIssuingAuthorizationsQuery.endDateTime:
      name: endDateTime
      in: query
      required: false
      description: Optional date-time which exclusively filters all authorizations created before this date-time.
      schema: *ref_282
      explode: false
    ListIssuingAuthorizationsQuery.issuedCardID:
      name: issuedCardID
      in: query
      required: false
      description: Optional ID of the issued card to filter results.
      schema: *ref_283
      explode: false
    ListIssuingAuthorizationsQuery.startDateTime:
      name: startDateTime
      in: query
      required: false
      description: Optional date-time which inclusively filters all authorizations created after this date-time.
      schema: *ref_284
      explode: false
    ListIssuingAuthorizationsQuery.statuses:
      name: statuses
      in: query
      required: false
      description: Optional, comma-separated statuses of the authorization to filter results.
      schema: *ref_285
      explode: false
    ListIssuingTransactionsQuery.endDateTime:
      name: endDateTime
      in: query
      required: false
      description: Optional date-time which exclusively filters all card transactions created before this date-time.
      schema: *ref_286
      explode: false
    ListIssuingTransactionsQuery.issuedCardID:
      name: issuedCardID
      in: query
      required: false
      description: Optional ID of the issued card to filter results.
      schema: *ref_287
      explode: false
    ListIssuingTransactionsQuery.startDateTime:
      name: startDateTime
      in: query
      required: false
      description: Optional date-time which inclusively filters all card transactions created after this date-time.
      schema: *ref_288
      explode: false
    ListTransactionsQuery.completedEndDateTime:
      name: completedEndDateTime
      in: query
      required: false
      description: Optional date-time which exclusively filters all transactions completed before this date-time.
      schema: *ref_289
      explode: false
    ListTransactionsQuery.completedStartDateTime:
      name: completedStartDateTime
      in: query
      required: false
      description: Optional date-time which inclusively filters all transactions completed after this date-time.
      schema: *ref_290
      explode: false
    ListTransactionsQuery.createdEndDateTime:
      name: createdEndDateTime
      in: query
      required: false
      description: Optional date-time which exclusively filters all transactions created before this date-time.
      schema: *ref_291
      explode: false
    ListTransactionsQuery.createdStartDateTime:
      name: createdStartDateTime
      in: query
      required: false
      description: Optional date-time which inclusively filters all transactions created after this date-time.
      schema: *ref_292
      explode: false
    ListTransactionsQuery.sourceID:
      name: sourceID
      in: query
      required: false
      description: Optional parameter to filter by source ID.
      schema: *ref_293
      explode: false
    ListTransactionsQuery.sourceType:
      name: sourceType
      in: query
      required: false
      description: Optional parameter to filter by source type (i.e. transfer, dispute, issuing-transaction).
      schema: *ref_294
      explode: false
    ListTransactionsQuery.status:
      name: status
      in: query
      required: false
      description: Optional parameter to filter by status (`pending` or `completed`).
      schema: *ref_295
      explode: false
    ListTransactionsQuery.sweepID:
      name: sweepID
      in: query
      required: false
      description: Optional ID to filter for transactions accrued in a sweep.
      schema: *ref_296
      explode: false
    ListTransactionsQuery.transactionType:
      name: transactionType
      in: query
      required: false
      description: Optional parameter to filter by transaction type.
      schema: *ref_297
      explode: false
    ListTransactionsQuery.transactionTypes:
      name: transactionTypes
      in: query
      required: false
      description: Optional, comma-separated parameter to filter by transaction types.
      schema: *ref_298
      explode: false
    ListTransactionsQuery.walletID:
      name: walletID
      in: path
      required: true
      schema: *ref_299
    Pagination.count:
      name: count
      in: query
      required: false
      schema: *ref_82
      explode: false
    Pagination.skip:
      name: skip
      in: query
      required: false
      schema: *ref_81
      explode: false
    TransferListFilters.accountIDs:
      name: accountIDs
      in: query
      required: false
      description: Optional, comma-separated account IDs by which the response is filtered based on whether the account ID is the source or destination.
      schema: *ref_300
      explode: false
    TransferListFilters.count:
      name: count
      in: query
      required: false
      schema: *ref_301
      explode: false
    TransferListFilters.disputed:
      name: disputed
      in: query
      required: false
      description: Optional parameter to only return disputed transfers.
      schema: *ref_302
      explode: false
    TransferListFilters.endDateTime:
      name: endDateTime
      in: query
      required: false
      description: Optional date-time which exclusively filters all transfers created before this date-time.
      schema: *ref_303
      explode: false
    TransferListFilters.groupID:
      name: groupID
      in: query
      required: false
      description: Optional ID to filter for transfers in the same group.
      schema: *ref_304
      explode: false
    TransferListFilters.refunded:
      name: refunded
      in: query
      required: false
      description: Optional parameter to only return refunded transfers.
      schema: *ref_305
      explode: false
    TransferListFilters.skip:
      name: skip
      in: query
      required: false
      schema: *ref_306
      explode: false
    TransferListFilters.startDateTime:
      name: startDateTime
      in: query
      required: false
      description: Optional date-time which inclusively filters all transfers created after this date-time.
      schema: *ref_307
      explode: false
    TransferListFilters.status:
      name: status
      in: query
      required: false
      description: Optional parameter for filtering transfers by status.
      schema: *ref_308
      explode: false
    VersionHeader:
      name: x-moov-version
      in: header
      required: false
      description: |-
        Specify an API version.

        API versioning follows the format `vYYYY.QQ.BB`, where 
          - `YYYY` is the year
          - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
          - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
            - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

        The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
      schema: *ref_18
      x-speakeasy-globals-hidden: true
  schemas:
    ACHCompanyEntryDescription:
      type: string
      minLength: 4
      maxLength: 10
      description: An optional override of the default NACHA company entry description for a transfer.
      example: Gym dues
    ACHException:
      type: object
      properties: *ref_166
    ACHOriginatingCompanyName:
      type: string
      minLength: 4
      maxLength: 16
      description: An optional override of the default NACHA company name for a transfer.
      example: Whole Body Fit
    ACHPaymentDetails:
      type: object
      properties: *ref_117
      description: Options for payment links used to collect an ACH payment.
    ACHPaymentDetailsError:
      type: object
      properties: *ref_309
    ACHPaymentSettings:
      type: object
      required: *ref_310
      properties: *ref_311
    ACHReturnCode:
      type: string
      enum: *ref_312
      description: |-
        The return code of an ACH transaction that caused the bank account status to change.

        - R02: Account Closed
        - R03: No Account/Unable to Locate Account
        - R04: Invalid Account Number
        - R05: Improper Debit to Consumer Account
        - R07: Authorization Revoked by Customer
        - R08: Payment Stopped
        - R10: Customer Advises Originator is Not Known or Authorized to Receiver
        - R11: Customer Advises Entry Not in Accordance with the Terms of the Authorization
        - R12: Branch Sold to Another DFI
        - R13: RDFI not qualified to participate
        - R14: Representative payee deceased or unable to continue in that capacity
        - R15: Beneficiary or bank account holder
        - R16: Bank account frozen
        - R17: Entry with Invalid Account Number Initiated Under Questionable Circumstances
        - R20: Non-payment bank account
        - R23: Credit entry refused by receiver
        - R29: Corporate customer advises not authorized
        - R34: Limited participation RDFI
        - R38: Stop Payment on Source Document (Adjustment Entry)
        - R39: Improper Source Document
    ACHTransactionDetails:
      type: object
      required: *ref_169
      properties: *ref_170
      description: ACH specific details about the transaction.
    ACHTransactionStatus:
      type: string
      enum: *ref_313
      description: Status of a transaction within the ACH lifecycle.
    AccentColor:
      type: string
      description: A CSS hex color representing an accent color.
      example: '#111111'
    AccessToken:
      type: string
      maxLength: 4096
      description: A value passed to the authorization server to gain access to the system.
      example: eyJhbGciOiJFZERTQSIsImN0eSI6IkpXVCIsImtpZCI6IkR...
    Account:
      type: object
      required: *ref_20
      properties: *ref_21
      example: *ref_22
    AccountCapability:
      type: object
      required: *ref_314
      properties: *ref_315
      description: Describes an action or set of actions that an account is permitted to perform.
    AccountCountries:
      type: object
      required: *ref_72
      properties: *ref_73
      description: The countries in which an account operates.
    AccountNameVerification:
      type: object
      required: *ref_316
      properties: *ref_317
      description: The results of submitting cardholder name to a card network for verification.
      example: *ref_318
    AccountType:
      type: string
      enum: *ref_9
      description: The type of entity represented by this account.
      example: business
    AccountVerificationStatus:
      type: string
      enum: *ref_319
      description: Possible states an account verification can be in.
      deprecated: true
    AchCreditSameDayPaymentMethod:
      type: object
      required: *ref_320
      properties: *ref_321
      title: ACH credit same day
    AchCreditStandardPaymentMethod:
      type: object
      required: *ref_322
      properties: *ref_323
      title: ACH credit standard
    AchDebitCollectPaymentMethod:
      type: object
      required: *ref_324
      properties: *ref_325
      title: ACH debit collect
    AchDebitFundPaymentMethod:
      type: object
      required: *ref_326
      properties: *ref_327
      title: ACH debit fund
    AchLocation:
      type: object
      required: *ref_328
      properties: *ref_329
    AchParticipant:
      type: object
      required: *ref_330
      properties: *ref_331
    AddCapabilities:
      type: object
      required: *ref_332
      properties: *ref_333
    AddCapabilitiesError:
      type: object
      properties: *ref_334
    Address:
      type: object
      required: *ref_0
      properties: *ref_1
    AddressError:
      type: object
      properties: *ref_7
    AddressSuggestion:
      type: object
      properties: *ref_335
    AddressUpdate:
      type: object
      properties: *ref_28
    Adjustment:
      type: object
      required: *ref_29
      properties: *ref_30
      description: An adjustment to a wallet.
    Amount:
      type: object
      required: *ref_98
      properties: *ref_99
    AmountDecimal:
      type: object
      required: *ref_84
      properties: *ref_85
    AmountUpdate:
      type: object
      properties: *ref_336
    AmountValidationError:
      type: object
      properties: *ref_110
    AppleBillingContact:
      type: object
      properties: *ref_337
      description: |2-
          Billing contact information as returned from Apple Pay.
          
          Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentcontact) 
          for more information.
    ApplePayHeader:
      type: object
      required: *ref_338
      properties: *ref_339
      description: |-
        Information needed to decrypt Apple Pay payment data.

        Refer to [Apple's documentation](https://developer.apple.com/documentation/passkit/payment-token-format-reference#Header-keys-and-values) 
        for more information.
    ApplePayMerchantDomains:
      type: object
      required: *ref_31
      properties: *ref_32
    ApplePayPaymentMethod:
      type: object
      required: *ref_340
      properties: *ref_341
      title: Apple Pay
    ApplePayResponse:
      type: object
      required: *ref_131
      properties: *ref_132
      description: Describes an Apple Pay token on a Moov account.
    ApplePaySession:
      type: string
      description: |-
        Stringified session object returned from Apple Pay.

        The string value should be deserialized as a JSON object before passing to Apple.
      example: '{"epochTimestamp":1733783167685,"expiresAt":1733786767685...}'
    ApplicationScope:
      type: string
      enum: *ref_235
      description: A permission that the application requests on another account.
    ArrayValidationError:
      type: object
      additionalProperties: *ref_233
      example: *ref_234
    AssignCountriesError:
      type: object
      required: *ref_342
      properties: *ref_343
    AsyncCreatedRefund:
      type: object
      required: *ref_344
      properties: *ref_345
      description: Asynchronous refund response
      title: Async
    AsyncTransfer:
      type: object
      required: *ref_174
      properties: *ref_175
      title: Async
    AuthToken:
      type: object
      required: *ref_346
      properties: *ref_347
    AuthTokenRequest:
      type: object
      required: *ref_228
      properties: *ref_229
    AuthTokenRequestError:
      type: object
      properties: *ref_348
    AuthorizedUser:
      type: object
      required: *ref_224
      properties: *ref_225
      description: Fields for identifying an authorized individual.
    BankAccount:
      type: object
      required: *ref_36
      properties: *ref_37
      description: Describes a bank account linked to a Moov account.
      example: *ref_38
    BankAccountException:
      type: object
      required: *ref_39
      properties: *ref_40
      description: Reason for, and details related to, an `errored` or `verificationFailed` bank account status.
    BankAccountHolderType:
      type: string
      enum: *ref_34
      description: The type of holder on a funding source.
    BankAccountIntegration:
      type: object
      required: *ref_349
      properties: *ref_350
    BankAccountPayload:
      type: object
      required: *ref_351
      properties: *ref_352
      description: Describes the bank account to link to the Moov account.
      title: Bank account
    BankAccountStatus:
      type: string
      enum: *ref_119
    BankAccountStatusReason:
      type: string
      enum: *ref_353
      description: The reason the bank account status changed to the current value.
    BankAccountType:
      type: string
      enum: *ref_35
      description: The bank account type.
    BankAccountValidationError:
      type: object
      properties: *ref_354
    BankAccountVerification:
      type: object
      required: *ref_44
      properties: *ref_45
    BankAccountVerificationCreated:
      type: object
      required: *ref_355
      properties: *ref_356
    BankAccountVerificationMethod:
      type: string
      enum: *ref_42
    BankAccountVerificationStatus:
      type: string
      enum: *ref_43
    BankAccountWaitFor:
      type: string
      enum: *ref_41
    BasicPaymentMethod:
      type: object
      required: *ref_63
      properties: *ref_64
    BillableFee:
      type: object
      required: *ref_89
      properties: *ref_90
      example: *ref_91
    BirthDate:
      type: object
      required: *ref_138
      properties: *ref_139
    BirthDateError:
      type: object
      properties: *ref_217
    BirthDateUpdate:
      type: object
      properties: *ref_142
    BirthDateValidationError:
      type: object
      properties: *ref_357
    BrandColor:
      type: object
      required: *ref_46
      properties: *ref_47
    BrandColorValidationError:
      type: object
      properties: *ref_48
    BrandColors:
      type: object
      required: *ref_358
      properties: *ref_359
      description: Brand colors for light and dark modes.
    BrandProperties:
      type: object
      required: *ref_49
      properties: *ref_50
    BrandValidationError:
      type: object
      properties: *ref_51
    BusinessProfile:
      type: object
      required: *ref_360
      properties: *ref_361
      description: Describes a business.
    BusinessType:
      type: string
      enum: *ref_10
      description: The type of entity represented by this business.
      example: llc
    CallToAction:
      type: string
      enum: *ref_114
      description: |-
        The text to be displayed on web form's submit button.

        If set to "auto" the UI will automatically select between 
        "pay" and "confirm" for payments and payouts respectively.
    Cancellation:
      type: object
      required: *ref_184
      properties: *ref_185
    CancellationStatus:
      type: string
      enum: *ref_362
    CapabilitiesError:
      type: object
      properties: *ref_363
    Capability:
      type: object
      required: *ref_55
      properties: *ref_56
    CapabilityID:
      type: string
      enum: *ref_19
      description: |-
        Moov account capabilities.

        The `production-app` capability might appear in your list. This is a read-only capability that Moov requests and uses for account verification purposes. The capability remains active with your account and requires no additional action.
    CapabilityRequirement:
      type: object
      properties: *ref_364
      description: Represents individual and business data necessary to facilitate the enabling of a capability for an account.
    CapabilityStatus:
      type: string
      enum: *ref_53
      description: The status of the capability requested for an account.
    Card:
      type: object
      required: *ref_68
      properties: *ref_69
      description: Describes a card on a Moov account.
      example: *ref_70
    CardAccountUpdater:
      type: object
      properties: *ref_125
      description: The results of the most recent card update request.
      example: *ref_126
    CardAcquiringDispute:
      type: object
      required: *ref_365
      properties: *ref_366
      description: Details of a card dispute.
    CardAcquiringModel:
      type: string
      enum: *ref_88
      description: Specifies the card processing pricing model
    CardAcquiringRefund:
      type: object
      required: *ref_187
      properties: *ref_188
      description: Details of a card refund.
      title: Sync
    CardAddress:
      type: object
      required: *ref_65
      properties: *ref_66
      example: *ref_67
    CardBrand:
      type: string
      enum: *ref_57
      description: The card brand.
      example: Visa
    CardDynamicDescriptor:
      type: string
      minLength: 4
      maxLength: 22
      description: An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field.
      example: WhlBdy *Yoga 11-12
    CardExpiration:
      type: object
      required: *ref_59
      properties: *ref_60
      description: The expiration date of the card or token.
      example: *ref_61
    CardExpirationError:
      type: object
      properties: *ref_367
    CardFingerprint:
      type: string
      maxLength: 100
      description: |-
        Uniquely identifies a linked payment card or token.
        For Apple Pay, the fingerprint is based on the tokenized card number and may vary based on the user's device.
        This field can be used to identify specific payment methods across multiple accounts on your platform.
      example: 9948962d92a1ce40c9f918cd9ece3a22bde62fb325a2f1fe2e833969de672ba3
    CardID:
      type: string
      format: uuid
      description: ID of the card.
      example: 01234567-89ab-cdef-0123-456789abcdef
    CardIssuingNetwork:
      type: string
      enum: *ref_368
      description: The name of the network a card transaction is routed through.
    CardPaymentDetails:
      type: object
      properties: *ref_116
      description: Options for payment links used to collect a card payment.
    CardPaymentDetailsError:
      type: object
      properties: *ref_369
    CardPaymentPaymentMethod:
      type: object
      required: *ref_370
      properties: *ref_371
      title: Card payment
    CardPaymentSettings:
      type: object
      properties: *ref_372
      description: User provided settings to manage card payments. This data is only allowed on a business account.
    CardPresentPaymentPaymentMethod:
      type: object
      required: *ref_373
      properties: *ref_374
      description: A card used at point of sale terminal for a card present transaction as contained within a payment method.
    CardTransactionDetails:
      type: object
      required: *ref_171
      properties: *ref_172
      description: Card-specific details about the transaction.
    CardTransactionFailureCode:
      type: string
      enum: *ref_173
    CardTransactionStatus:
      type: string
      enum: *ref_375
      description: Status of a transaction within the card payment lifecycle.
    CardType:
      type: string
      enum: *ref_58
      description: The type of the card.
      example: credit
    CardUpdateReason:
      type: string
      enum: *ref_376
      description: The results of the card update request.
      example: number-update
    CardVerification:
      type: object
      required: *ref_122
      properties: *ref_123
      description: The results of submitting cardholder data to a card network for verification.
      example: *ref_124
    CardVerificationResult:
      type: string
      enum: *ref_62
      example: match
    CardVolumeDistribution:
      type: object
      required: *ref_194
      properties: *ref_195
    CardVolumeDistributionError:
      type: object
      properties: *ref_377
    CollectionPaymentMethodType:
      type: string
      enum: *ref_115
      description: Payment methods allowed for collecting a payment.
    ColorsValidationError:
      type: object
      properties: *ref_378
    CommonRequestHeaders:
      type: object
    CommonResponseHeaders:
      type: object
    CompleteBankAccountVerification:
      type: object
      required: *ref_379
      properties: *ref_380
    CompleteMicroDeposits:
      type: object
      required: *ref_381
      properties: *ref_382
      description: Request to complete the micro-deposit verification workflow.
    CompletedMicroDeposits:
      type: object
      required: *ref_383
      properties: *ref_384
    Count:
      type: integer
      format: int64
      description: Limits the maximum number of results returned, or determines the page size when used with `skip` for pagination.
      example: 20
    CountriesErrors:
      type: object
      required: *ref_385
      properties: *ref_386
    CreateAccount:
      type: object
      required: *ref_230
      properties: *ref_231
      example: *ref_232
    CreateAccountError:
      type: object
      properties: *ref_387
    CreateAccountSettings:
      type: object
      properties: *ref_26
    CreateApplePaySession:
      type: object
      required: *ref_388
      properties: *ref_389
    CreateAuthorizedUser:
      type: object
      required: *ref_390
      properties: *ref_391
      description: Fields for identifying an authorized individual.
    CreateAuthorizedUserError:
      type: object
      properties: *ref_223
    CreateAuthorizedUserUpdate:
      type: object
      properties: *ref_392
      description: Fields for identifying an authorized individual.
    CreateBusinessError:
      type: object
      properties: *ref_393
    CreateBusinessProfile:
      type: object
      required: *ref_394
      properties: *ref_395
    CreateEvidenceFileMultiPart:
      type: object
      required: *ref_396
      properties: *ref_397
    CreateEvidenceText:
      type: object
      required: *ref_398
      properties: *ref_399
    CreateFeePlanAgreement:
      type: object
      required: *ref_400
      properties: *ref_401
    CreateIndividualError:
      type: object
      properties: *ref_402
    CreateIndividualProfile:
      type: object
      required: *ref_403
      properties: *ref_404
    CreatePaymentLink:
      type: object
      required: *ref_405
      properties: *ref_406
      description: |-
        Request to create a new payment link.

        A payment link must include either `payment` or `payout` details, but not both. For payout payment links,
        `maxUses` will automatically be set to 1, as these are intended for a one-time disbursement
        to a specific recipient.

        **Note:** The `payout` option is currently under development and is not yet available for general use.
      example: *ref_407
    CreatePaymentLinkError:
      type: object
      properties: *ref_408
    CreateProfile:
      type: object
      properties: *ref_409
    CreateProfileError:
      type: object
      properties: *ref_23
    CreateRefund:
      type: object
      properties: *ref_410
      description: |-
        Specifies a partial amount to refund. 

        This request body is optional, an empty body will issue a refund for the full amount of the original transfer.
    CreateRefundResponse:
      oneOf: *ref_411
    CreateRepresentative:
      type: object
      properties: *ref_412
      allOf: *ref_413
      description: Describes a business representative to create.
    CreateReversal:
      type: object
      required: *ref_414
      properties: *ref_415
    CreateSweepConfig:
      type: object
      required: *ref_416
      properties: *ref_417
    CreateSweepConfigError:
      type: object
      properties: *ref_418
    CreateTerminalApplication:
      type: object
      required: *ref_419
      properties: *ref_420
      description: Describes a create terminal application request.
      example: *ref_421
    CreateTransfer:
      type: object
      required: *ref_422
      properties: *ref_423
      example: *ref_424
    CreateTransferDestination:
      type: object
      required: *ref_425
      properties: *ref_426
      description: The final stage of a transfer and the ultimate recipient of the funds.
    CreateTransferDestinationACH:
      type: object
      properties: *ref_427
    CreateTransferDestinationCard:
      type: object
      properties: *ref_428
    CreateTransferOptions:
      type: object
      required: *ref_429
      properties: *ref_430
    CreateTransferSource:
      type: object
      properties: *ref_431
      description: Where funds for a transfer originate. For the source, you must include either a `paymentMethodID` or a `transferID`.
    CreateTransferSourceACH:
      type: object
      properties: *ref_432
    CreateTransferSourceCard:
      type: object
      properties: *ref_433
    Currency:
      type: string
      pattern: ^[A-Za-z]{3}$
      description: A 3-letter ISO 4217 currency code.
      example: USD
    CustomerSupport:
      type: object
      properties: *ref_15
      description: |-
        User-provided information that can be displayed on credit card transactions for customers to use when
        contacting a customer support team. This data is only allowed on a business account.
    CustomerSupportError:
      type: object
      properties: *ref_25
    CustomerSupportUpdate:
      type: object
      properties: *ref_434
      description: |-
        User-provided information that can be displayed on credit card transactions for customers to use when
        contacting a customer support team. This data is only allowed on a business account.
    DebitHoldPeriod:
      type: string
      enum: *ref_180
      description: An optional override of your default ACH hold period in banking days. The hold period must be longer than or equal to your default setting.
      example: 2-days
    DisbursementPaymentMethodType:
      type: string
      enum: *ref_118
      description: Payment methods allowed for disbursing funds.
    DisplayOptionsError:
      type: object
      properties: *ref_111
    Dispute:
      type: object
      required: *ref_75
      properties: *ref_76
      description: Details of a card transaction dispute.
      example: *ref_77
    DisputeEvidenceResponse:
      type: object
      required: *ref_79
      properties: *ref_80
    DisputePhase:
      type: string
      enum: *ref_435
      description: The phase of a dispute within the dispute lifecycle.
    DisputeStatus:
      type: string
      enum: *ref_74
      description: |-
        The status of a particular dispute. 

        Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/#dispute-statuses) to learn what each status means.
    DisputeTransferDetails:
      type: object
      required: *ref_436
      properties: *ref_437
    Document:
      type: object
      required: *ref_438
      properties: *ref_439
    DocumentType:
      type: string
      enum: *ref_440
      description: Types of documents that can be uploaded.
      example: bankStatement
    DomainDisplayName:
      type: string
      maxLength: 64
      description: A UTF-8 string to display in the Buy button.
    DomesticPullFromCard:
      type: string
      enum: *ref_128
      description: Indicates if the card supports domestic pull-from-card transfer.
      example: supported
    DomesticPushToCard:
      type: string
      enum: *ref_127
      description: Indicates which level of domestic push-to-card transfer is supported by the card, if any.
      example: standard
    E2EEToken:
      type: object
      required: *ref_208
      properties: *ref_209
      description: |-
        Wraps a compact-serialized JSON Web Encryption (JWE) token used for secure transmission of sensitive data (e.g., PCI information) through intermediaries. 
        This token is encrypted using the public key from /end-to-end-keys and wraps an AES key. For details and examples, refer to our 
        [GitHub repository](https://github.com/moovfinancial/moov-go/blob/main/examples/e2ee/e2ee_test.go).
      example: *ref_210
    E2EETokenUpdate:
      type: object
      properties: *ref_441
      description: |-
        Wraps a compact-serialized JSON Web Encryption (JWE) token used for secure transmission of sensitive data (e.g., PCI information) through intermediaries. 
        This token is encrypted using the public key from /end-to-end-keys and wraps an AES key. For details and examples, refer to our 
        [GitHub repository](https://github.com/moovfinancial/moov-go/blob/main/examples/e2ee/e2ee_test.go).
      example: *ref_442
    Email:
      type: string
      maxLength: 255
      format: email
      example: jordan.lee@classbooker.dev
    End2EndEncryptionError:
      type: object
      properties: *ref_71
    EnrichedAddressResponse:
      type: object
      required: *ref_443
      properties: *ref_444
    EnrichedBusinessProfile:
      type: object
      properties: *ref_445
    EnrichedBusinessResponse:
      type: object
      properties: *ref_446
    EnrichedIndustries:
      type: object
      required: *ref_447
      properties: *ref_448
    EnrichedIndustry:
      type: object
      required: *ref_449
      properties: *ref_450
      description: An industry's MCC/SIC/NAICS codes, along with descriptive title.
    EnrichedIndustryCodes:
      type: object
      properties: *ref_451
    EntryMode:
      type: string
      enum: *ref_452
      description: How the card information was entered into the point of sale terminal.
      example: contactless
    EvidenceTextResponse:
      type: object
      required: *ref_453
      properties: *ref_454
    EvidenceType:
      type: string
      enum: *ref_78
    EvidenceUploadResponse:
      type: object
      required: *ref_455
      properties: *ref_456
      description: Details of a successfully uploaded evidence file.
    FacilitatorFee:
      type: object
      properties: *ref_182
      description: Total or markup fee.
    FeeCategory:
      type: string
      enum: *ref_457
    FeeConditions:
      type: object
      additionalProperties: *ref_458
      description: Defines the specific conditions that must be met for the fee to be applied.
      example: *ref_459
    FeeModel:
      type: string
      enum: *ref_460
      description: Specifies the pricing model used for the calculation of the final fee.
    FeePlan:
      type: object
      required: *ref_461
      properties: *ref_462
    FeePlanAgreement:
      type: object
      required: *ref_86
      properties: *ref_87
    FeePlanAgreementError:
      type: object
      properties: *ref_463
    FeePlanAgreementStatus:
      type: string
      enum: *ref_83
    FeeProperties:
      type: object
      properties: *ref_464
      description: Defines the specific parameters used for fee calculation.
      example: *ref_465
    FileDetails:
      type: object
      required: *ref_96
      properties: *ref_97
      description: Describes a file linked to a Moov account.
    FilePurpose:
      type: string
      enum: *ref_95
      description: The file's purpose.
      example: representative_verification
    FileStatus:
      type: string
      enum: *ref_466
      description: The file's status.
      example: pending
    FileUploadRequestMultiPart:
      type: object
      required: *ref_467
      properties: *ref_468
      description: Request to upload a file for an account.
    FileUploadValidationError:
      type: object
      properties: *ref_469
    FileValidationError:
      type: object
      properties: *ref_470
    FinancialInstitutions:
      type: object
      required: *ref_471
      properties: *ref_472
    FulfillmentDetails:
      type: object
      required: *ref_196
      properties: *ref_197
    FulfillmentDetailsError:
      type: object
      properties: *ref_473
    FullIssuedCard:
      type: object
      required: *ref_474
      properties: *ref_475
      description: The full details of an issued card, including PAN and CVV.
    GeneratedBy:
      oneOf: *ref_476
      description: The entity that generated the fee.
    GeneratedByAccountID:
      type: object
      properties: *ref_477
      title: Account ID
    GeneratedByBankAccountID:
      type: object
      properties: *ref_478
      title: Bank account ID
    GeneratedByCardID:
      type: object
      properties: *ref_479
      title: Card ID
    GeneratedByDisputeID:
      type: object
      properties: *ref_480
      title: Dispute ID
    GeneratedByTransferID:
      type: object
      properties: *ref_481
      title: Transfer ID
    GenericError:
      type: object
      required: *ref_5
      properties: *ref_6
    GovernmentID:
      type: object
      properties: *ref_27
    GovernmentIDError:
      type: object
      properties: *ref_482
    GrantType:
      type: string
      enum: *ref_483
      description: |-
        The type of grant being requested.

          - `client_credentials`: A grant type used by clients to obtain an access token
          - `refresh_token`: A grant type used by clients to obtain a new access token using a refresh token
    IncurredFee:
      type: object
      properties: *ref_94
      description: A fee incurred by a user.
    IndividualName:
      type: object
      required: *ref_3
      properties: *ref_4
    IndividualNameError:
      type: object
      properties: *ref_137
    IndividualNameUpdate:
      type: object
      properties: *ref_141
    IndividualProfile:
      type: object
      required: *ref_484
      properties: *ref_485
      description: Describes an individual.
    IndustryCodes:
      type: object
      properties: *ref_11
    InstitutionLogo:
      type: object
      required: *ref_486
      properties: *ref_487
    IssuedCard:
      type: object
      required: *ref_221
      properties: *ref_222
    IssuedCardAuthorization:
      type: object
      required: *ref_212
      properties: *ref_213
    IssuedCardAuthorizationEvent:
      type: object
      required: *ref_488
      properties: *ref_489
    IssuedCardAuthorizationEventResult:
      type: string
      enum: *ref_490
      description: The result of an event.
    IssuedCardEventType:
      type: string
      enum: *ref_491
      description: The type of event that occurred on the card.
    IssuedCardFormFactor:
      type: string
      enum: *ref_218
      description: Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
    IssuedCardState:
      type: string
      enum: *ref_220
      description: |-
        The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.

        - `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation.
        - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
        - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
        - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
    IssuedCardTransaction:
      type: object
      required: *ref_215
      properties: *ref_216
    IssuingAuthorizationStatus:
      type: string
      enum: *ref_211
      description: Status of a card issuing authorization.
    IssuingControls:
      type: object
      properties: *ref_219
    IssuingControlsError:
      type: object
      properties: *ref_492
      example: *ref_493
    IssuingIntervalLimit:
      type: string
      enum: *ref_494
      description: Specifies the time frame for the velocity limit. Currently supports only per-transaction limits.
    IssuingMerchantData:
      type: object
      properties: *ref_214
    IssuingVelocityLimit:
      type: object
      required: *ref_495
      properties: *ref_496
    IssuingVelocityLimitError:
      type: object
      properties: *ref_497
    JSONWebEncryptionToken:
      type: string
      format: jwe
      description: An [RFC](https://datatracker.ietf.org/doc/html/rfc7516) compact-serialized JSON Web Encryption (JWE) token.
    JSONWebKey:
      type: object
      required: *ref_498
      properties: *ref_499
      description: Describes an [RFC7517](https://datatracker.ietf.org/doc/html/rfc7517) web key.
      example: *ref_500
    LinkApplePay:
      type: object
      required: *ref_501
      properties: *ref_502
      description: |2-
          The JSON structure returned from Apple Pay when authorizing a payment session.

          Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypayment) 
          for more information.
    LinkApplePayError:
      type: object
      properties: *ref_503
    LinkApplePayToken:
      type: object
      required: *ref_504
      properties: *ref_505
      description: |2-
          Contains the user's payment information as returned from Apple Pay.

          Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken) 
          for more information.
    LinkApplePaymentData:
      type: object
      required: *ref_506
      properties: *ref_507
      description: |2-
          Contains the encrypted payment data.

          Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken/1916115-paymentdata) 
          for more information.
    LinkApplePaymentMethod:
      type: object
      required: *ref_508
      properties: *ref_509
      description: |2-
          Provides information about the underlying card.

          Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken/1916113-paymentmethod) 
          for more information.
    LinkBankAccount:
      oneOf: *ref_510
    LinkCard:
      type: object
      required: *ref_511
      properties: *ref_512
      example: *ref_513
    LinkCardError:
      type: object
      properties: *ref_514
    LinkCardWaitFor:
      type: string
      enum: *ref_515
      example: payment-method
    LinkedApplePayPaymentMethod:
      type: object
      required: *ref_516
      properties: *ref_517
    ListFeesFetchRequest:
      type: object
      properties: *ref_518
      description: Array of fee IDs to fetch.
    MXAuthorizationCode:
      type: object
      required: *ref_519
      properties: *ref_520
      description: |-
        The authorization code of a MX account which allows a processor to retrieve a linked payment account. 

        `sandbox` - When linking a bank account to a `sandbox` account using a MX authorization code it will utilize MX's sandbox environment. 
        The MX authorization code provided must be generated from MX's sandbox environment.
    ManualTermsOfService:
      type: object
      required: *ref_521
      properties: *ref_522
      description: Describes the acceptance of the Terms of Service. All data is required, and must be from the user.
    ManualTermsOfServiceUpdate:
      type: object
      properties: *ref_523
      description: Describes the acceptance of the Terms of Service. All data is required, and must be from the user.
    ManualToSError:
      type: object
      properties:
        acceptedDate:
          type: string
        acceptedDomain:
          type: string
        acceptedIP:
          type: string
        acceptedUserAgent:
          type: string
    Metadata:
      type: object
      additionalProperties: *ref_13
      description: Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
      example: *ref_14
    MicroDepositStatus:
      type: string
      enum: *ref_524
    MicroDepositValidationError:
      type: object
      properties: *ref_525
    MinimumCommitment:
      type: object
      allOf: *ref_92
      description: The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
    Mode:
      type: string
      enum: *ref_17
      description: The operating mode for an account.
      example: production
    MonthlyPlatformFee:
      type: object
      allOf: *ref_93
      description: Fixed recurring amount paid in the billing period regardless of usage.
    MoovFeeDetails:
      type: object
      required: *ref_526
      properties: *ref_527
      description: Processing and pass-through costs that add up to the moovFee.
    MoovWalletPaymentMethod:
      type: object
      required: *ref_528
      properties: *ref_529
      title: Moov wallet
    MxPayload:
      type: object
      required: *ref_530
      properties: *ref_531
      description: |-
        Describes the account to link to the Moov account using a MX processor token. 

        `sandbox` - When linking a bank account to a `sandbox` account using an MX authorization token a default bank account routing number will
        be used. The following default data will be used to generate the bank account in this flow:

        ```
          RoutingNumber: "123456780",
          BankName: "Gringotts Bank"
        ```
      title: MX
    Occurrence:
      type: object
      properties: *ref_532
      description: Occurrences to either create or modify.
    OccurrenceStatus:
      type: string
      enum: *ref_533
      description: Status of the completed occurrence.
    OccurrencesResponse:
      type: object
      required: *ref_155
      properties: *ref_156
    OnboardingInvite:
      type: object
      required: *ref_236
      properties: *ref_237
    OnboardingInviteCode:
      type: string
      description: A unique code that identifies an onboarding invite.
      example: N1IA5eWYNh
    OnboardingInviteError:
      type: object
      properties: *ref_534
    OnboardingInviteRequest:
      type: object
      required: *ref_535
      properties: *ref_536
      description: Request to create an onboarding invite.
    OnboardingPartnerAccount:
      type: object
      required: *ref_537
      properties: *ref_538
      description: The account that created the onboarding invite.
    OperatingCountry:
      type: string
      maxLength: 64
      example: United States
    OrderBy:
      type: string
      description: Optional parameter to order the results in the query.
      example: created-at:desc
    PartialScheduleAccount:
      type: object
      required: *ref_149
      properties: *ref_150
    PartnerPricing:
      type: object
      required: *ref_539
      properties: *ref_540
    PartnerPricingAgreement:
      type: object
      required: *ref_541
      properties: *ref_542
      allOf: *ref_543
    PatchAccount:
      type: object
      properties: *ref_544
      description: Describes the fields available when patching a Moov account.
    PatchAccountError:
      type: object
      properties: *ref_545
    PatchBusiness:
      type: object
      properties: *ref_546
    PatchIndividual:
      type: object
      properties: *ref_547
      description: Describes the fields available when patching an individual.
    PatchProfile:
      type: object
      properties: *ref_548
      description: |-
        Describes the fields available when patching a profile.
        Each object can be patched independent of patching the other fields.
    PatchSweepConfig:
      type: object
      properties: *ref_549
    PatchSweepConfigError:
      type: object
      properties: *ref_550
    PatchTransfer:
      type: object
      properties: *ref_551
    PaymentDetailsError:
      type: object
      properties: *ref_112
    PaymentLink:
      type: object
      required: *ref_107
      properties: *ref_108
      example: *ref_109
    PaymentLinkCode:
      type: string
      description: Unique code identifying this payment link.
      example: uc7ZYKrMhi
    PaymentLinkCustomerOptions:
      type: object
      properties: *ref_102
    PaymentLinkDisplayOptions:
      type: object
      required: *ref_100
      properties: *ref_101
      description: Customizable display options for a payment link.
    PaymentLinkDisplayOptionsUpdate:
      type: object
      properties: *ref_552
      description: Customizable display options for a payment link.
    PaymentLinkPaymentDetails:
      type: object
      required: *ref_103
      properties: *ref_104
      description: Options for payment links used to collect payment.
    PaymentLinkPaymentDetailsUpdate:
      type: object
      properties: *ref_553
      description: Options for payment links used to collect payment.
    PaymentLinkPayoutDetails:
      type: object
      required: *ref_105
      properties: *ref_106
    PaymentLinkPayoutDetailsUpdate:
      type: object
      properties: *ref_554
    PaymentLinkStatus:
      type: string
      enum: *ref_555
    PaymentMethod:
      oneOf: *ref_133
      discriminator: *ref_134
      description: A method of moving money
    PaymentMethodID:
      type: string
      format: uuid
      description: ID of the payment method.
    PaymentMethodType:
      type: string
      enum: *ref_33
      description: The payment method type that represents a payment rail and directionality
    PaymentMethodsBankAccount:
      type: object
      required: *ref_120
      properties: *ref_121
      description: A bank account as contained within a payment method.
    PaymentMethodsCard:
      type: object
      required: *ref_129
      properties: *ref_130
      description: A card as contained within a payment method.
    PaymentMethodsWallet:
      type: object
      required: *ref_162
      properties: *ref_163
    PayoutDetailsError:
      type: object
      properties: *ref_113
    PayoutRecipient:
      type: object
      required: *ref_556
      properties: *ref_557
      description: |-
        Specify the intended recipient of the payout.

        This information will be used to authenticate the end user when they follow the payment link.
    PayoutRecipientError:
      type: object
      properties: *ref_558
    PayoutRecipientUpdate:
      type: object
      properties: *ref_559
      description: |-
        Specify the intended recipient of the payout.

        This information will be used to authenticate the end user when they follow the payment link.
    PhoneNumber:
      type: object
      properties: *ref_2
    PhoneNumberError:
      type: object
      properties: *ref_8
    PlaidIntegration:
      type: object
      required: *ref_560
      properties: *ref_561
      description: |-
        The details of a Plaid processor integration for a linked funding source. 

        `sandbox` - When linking a bank account to a `sandbox` account using a Plaid processor token a default bank account
        response will be used. The following default data will be used to generate the bank account in this flow:

        ```
          RoutingNumber: "011401533",
          AccountNumber: "1111222233330000",
          AccountType:   "checking",
          Mask:          "0000"
        ```
    PlaidLinkIntegration:
      type: object
      required: *ref_562
      properties: *ref_563
      description: |-
        This is used by Moov.js with a Plaid reseller relationship. The details of a Plaid link integration for a linked funding source.

        You can simulate linking bank accounts with Plaid in test mode. See our [test mode](https://docs.moov.io/guides/get-started/test-mode/#plaid)
        guide for more information.

        Plaid's `sandbox` environment - (requires Plaid reseller setup with Moov). When linking a bank account to a `sandbox` account using a Plaid 
        public token it will utilize Plaid's sandbox environment. The Plaid public token provided must be generated from Plaid's sandbox environment. 
        Please see <a href="https://plaid.com/docs/api/sandbox/#sandboxpublic_tokencreate" target="_blank">Plaid's sandbox documentation</a> for more 
        details.
    PlaidLinkPayload:
      type: object
      required: *ref_564
      properties: *ref_565
      description: |-
        This is used by Moov.js with a Plaid reseller relationship. 

        Describes the account to link to the Moov account using a Plaid using a Plaid public token.
      title: Plaid Link
    PlaidPayload:
      type: object
      required: *ref_566
      properties: *ref_567
      description: Describes the account to link to the Moov account using a Plaid processor token.
      title: Plaid
    PrimaryRegulator:
      type: string
      enum: *ref_12
      description: If the business is a financial institution, this field describes its primary regulator.
    Profile:
      type: object
      properties: *ref_568
      description: Describes a Moov account profile. A profile will have a business or an individual, depending on the account's type.
    PullFromCardPaymentMethod:
      type: object
      required: *ref_569
      properties: *ref_570
      title: Pull from card
    PushToCardPaymentMethod:
      type: object
      required: *ref_571
      properties: *ref_572
      title: Push to card
    QRCode:
      type: object
      required: *ref_573
      properties: *ref_574
    RTPFailureCode:
      type: string
      enum: *ref_575
      description: Status codes for RTP failures.
    RTPRejectionCode:
      type: string
      enum: *ref_576
      description: |-
        The rejection code of an RTP transaction that caused the bank account status to change.

        - AC03: Account Invalid
        - AC04: Account Closed
        - AC06: Account Blocked
        - AC14: Creditor Account Type Invalid
        - AG01: Transactions Forbidden On Account
        - AG03: Transaction Type Not Supported
        - MD07: Customer Deceased
    RTPTransactionDetails:
      type: object
      required: *ref_577
      properties: *ref_578
      description: RTP specific details about the transaction.
    RTPTransactionStatus:
      type: string
      enum: *ref_579
      description: Status of a transaction within the RTP lifecycle.
    ReceiptKind:
      type: string
      enum: *ref_238
      description: The type of receipt being requested.
    ReceiptRequest:
      type: object
      required: *ref_580
      properties: *ref_581
      description: A receipt request for a specific transfer, schedule, or schedule occurrence.
    ReceiptResponse:
      type: object
      required: *ref_239
      properties: *ref_240
    ReceiptValidationError:
      type: object
      properties: *ref_582
    Recur:
      type: object
      required: *ref_147
      properties: *ref_148
      description: Defines configuration for recurring transfers.
    RefreshToken:
      type: string
      maxLength: 4096
      description: A value passed to the authorization server to obtain a new access token.
      example: eyJhbGc0eSI6TQSIsImN0kpXVCIsImtp6IkpXVsImtpZC0a...
    RefundCardDetails:
      type: object
      required: *ref_583
      properties: *ref_584
    RefundCardStatus:
      type: string
      enum: *ref_585
    RefundStatus:
      type: string
      enum: *ref_586
    RefundValidationError:
      type: object
      properties: *ref_587
    RegisterApplePayMerchantDomains:
      type: object
      properties: *ref_588
    Representative:
      type: object
      required: *ref_135
      properties: *ref_136
      description: Describes a business representative.
    RepresentativeResponsibilities:
      type: object
      properties: *ref_140
      description: Describes the job responsibilities of a business representative.
    RepresentativeResponsibilitiesError:
      type: object
      properties: *ref_589
    RepresentativeValidationError:
      type: object
      required: *ref_590
      properties: *ref_591
    RequestCard:
      type: object
      required: *ref_592
      properties: *ref_593
    RequestCardError:
      type: object
      properties: *ref_594
    RequestIDHeader:
      type: object
    RequirementError:
      type: object
      required: *ref_595
      properties: *ref_596
    RequirementErrorCode:
      type: string
      enum: *ref_597
    RequirementID:
      type: string
      enum: *ref_54
      description: The unique ID of what the requirement is asking to be filled out.
    ReturnPolicyType:
      type: string
      enum: *ref_598
    Reversal:
      oneOf: *ref_189
      description: Contains either a cancellation or refund, depending on the method used to reverse the transfer.
    ReversalValidationError:
      type: object
      properties: *ref_599
    ReversedWithCancellation:
      type: object
      required: *ref_600
      properties: *ref_601
      title: Canceled
    ReversedWithRefund:
      type: object
      required: *ref_602
      properties: *ref_603
      title: Refunded
    RevokeTokenRequest:
      type: object
      required: *ref_226
      properties: *ref_227
    RevokeTokenRequestError:
      type: object
      properties: *ref_604
    RtpCreditPaymentMethod:
      type: object
      required: *ref_605
      properties: *ref_606
      title: RTP credit
    RunTransfer:
      type: object
      required: *ref_145
      properties: *ref_146
      description: Defines the attributes of a transfer.
    SECCode:
      type: string
      enum: *ref_181
      description: Code used to identify the ACH authorization method.
    ScheduleListResponse:
      type: object
      properties: *ref_607
      allOf: *ref_608
    SchedulePaymentMethod:
      type: object
      required: *ref_143
      properties: *ref_144
    ScheduleResponse:
      type: object
      required: *ref_151
      properties: *ref_152
    ScheduleValidationError:
      type: object
      properties: *ref_153
    SentReceipt:
      type: object
      required: *ref_609
      properties: *ref_610
    Settings:
      type: object
      properties: *ref_16
      description: User provided settings to manage an account.
    SignedDecimalString:
      type: string
      format: ^\d+\.\d{1,2}$
      description: A decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99.
      example: '-14.89'
    Skip:
      type: integer
      format: int64
      description: The number of entries to skip when paginating a large result set.
      example: 60
    SourceDestinationOptions:
      type: object
      properties: *ref_247
    Sweep:
      type: object
      required: *ref_201
      properties: *ref_202
    SweepConfig:
      type: object
      required: *ref_160
      properties: *ref_161
    SweepConfigID:
      type: string
      format: uuid
    SweepConfigPaymentMethod:
      type: object
      required: *ref_157
      properties: *ref_158
      description: |-
        The payment method used to push or pull funds to a bank account.
        The push payment method can only be ach-credit-standard or ach-credit-same-day. The pull payment method can only be ach-debit-fund.
    SweepConfigStatus:
      type: string
      enum: *ref_159
    SweepID:
      type: string
      format: uuid
    SweepStatementDescriptor:
      type: string
      minLength: 4
      maxLength: 10
      description: The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
    SweepStatus:
      type: string
      enum: *ref_200
    TaxID:
      type: object
      required: *ref_611
      properties: *ref_612
      description: An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN.
    TaxIDUpdate:
      type: object
      properties: *ref_613
      description: An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN.
    TerminalApplication:
      type: object
      required: *ref_242
      properties: *ref_243
      description: Describes a terminal application.
      example: *ref_244
    TerminalApplicationError:
      type: object
      properties: *ref_614
    TerminalApplicationID:
      type: string
      format: uuid
      description: ID of the terminal application.
      example: 01234567-89ab-cdef-0123-456789abcdef
    TerminalApplicationPlatform:
      type: string
      enum: *ref_241
      description: Platform of the terminal application.
      example: ios
    TerminalApplicationStatus:
      type: string
      enum: *ref_615
      description: Status of the terminal application.
      example: enabled
    TerminalCard:
      type: object
      properties: *ref_164
      description: Describes payment card details captured with tap or in-person payment.
      example: *ref_165
    TermsOfService:
      type: object
      required: *ref_616
      properties: *ref_617
      description: Describes the acceptance of the Terms of Service.
    TermsOfServiceError:
      type: object
      properties: *ref_24
    TermsOfServiceToken:
      type: object
      required: *ref_245
      properties: *ref_246
      description: An encrypted value used to record acceptance of Moov's Terms of Service.
    TermsOfServiceTokenUpdate:
      type: object
      properties: *ref_618
      description: An encrypted value used to record acceptance of Moov's Terms of Service.
    TokenType:
      type: string
      enum: *ref_619
      description: An [RFC 6750](https://www.rfc-editor.org/rfc/rfc6750#section-6.1) token type.
      example: Bearer
    TransactionSource:
      type: string
      enum: *ref_179
      description: |-
        Specifies the nature and initiator of a transaction. 

        Crucial for recurring and merchant-initiated transactions as per card scheme rules. 
        Omit for customer-initiated e-commerce transactions.
    Transfer:
      type: object
      required: *ref_176
      properties: *ref_177
      description: Details of a Transfer.
      title: Sync
      example: *ref_178
    TransferAccount:
      type: object
      required: *ref_167
      properties: *ref_168
    TransferDestination:
      type: object
      required: *ref_620
      properties: *ref_621
    TransferFailureReason:
      type: string
      enum: *ref_622
      description: Reason for a transfer's failure.
    TransferOptions:
      type: object
      properties: *ref_623
    TransferOptionsValidationError:
      type: object
      properties: *ref_624
    TransferResponse:
      oneOf: *ref_625
    TransferSource:
      type: object
      required: *ref_626
      properties: *ref_627
    TransferStatus:
      type: string
      enum: *ref_183
      description: Status of a transfer.
    TransferValidationError:
      type: object
      properties: *ref_628
    TransferWaitFor:
      type: string
      enum: *ref_186
    Underwriting:
      type: object
      required: *ref_190
      properties: *ref_191
      description: Describes underwriting values (in USD) used for card payment acceptance.
    UnderwritingStatus:
      type: string
      enum: *ref_629
      deprecated: true
    UpdateApplePayMerchantDomains:
      type: object
      properties: *ref_630
    UpdateBrand:
      type: object
      properties: *ref_631
    UpdateCard:
      type: object
      properties: *ref_632
      example: *ref_633
    UpdateCardAddress:
      type: object
      properties: *ref_634
      example: *ref_635
    UpdateCardError:
      type: object
      properties: *ref_636
    UpdateCardExpiration:
      type: object
      properties: *ref_637
      example: *ref_638
    UpdateColor:
      type: object
      properties: *ref_52
    UpdateColors:
      type: object
      properties: *ref_639
    UpdateEvidence:
      type: object
      properties: *ref_640
    UpdateIssuedCard:
      type: object
      properties: *ref_641
    UpdateIssuedCardError:
      type: object
      properties: *ref_642
    UpdatePaymentLink:
      type: object
      properties: *ref_643
      example: *ref_644
    UpdatePaymentLinkError:
      type: object
      properties: *ref_645
    UpdateRepresentative:
      type: object
      properties: *ref_646
    UpdateUnderwriting:
      type: object
      required: *ref_647
      properties: *ref_648
    UpdateUnderwritingError:
      type: object
      required: *ref_649
      properties: *ref_650
    UpsertSchedule:
      type: object
      properties: *ref_154
    Verification:
      type: object
      required: *ref_651
      properties: *ref_652
      description: Describes identity verification status and relevant identity verification documents.
    VerificationStatus:
      type: string
      enum: *ref_653
      description: Possible states an account verification can be in.
      deprecated: true
    VerificationStatusDetail:
      type: string
      enum: *ref_654
      description: Additional detail for a verification status.
      deprecated: true
    Versions:
      type: string
      enum:
        - v2024.01.00
        - v2025.01.00
        - v2025.04.00
        - latest
      description: |-
        Moov API versions. 

        API versioning follows the format `vYYYY.QQ.BB`, where 
          - `YYYY` is the year
          - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
          - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. 
            - For example, `v2024.01.00` is the initial release of the first quarter of 2024.

        The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
    VolumeByCustomerType:
      type: object
      required: *ref_192
      properties: *ref_193
    VolumeByCustomerTypeError:
      type: object
      properties: *ref_655
    Wallet:
      type: object
      required: *ref_198
      properties: *ref_199
      description: A Moov wallet to store funds for transfers.
    WalletAvailableBalance:
      type: object
      required: *ref_656
      properties: *ref_657
    WalletID:
      type: string
      format: uuid
    WalletTransaction:
      type: object
      required: *ref_206
      properties: *ref_207
      description: A transaction that funds or deducts from the wallet.
    WalletTransactionID:
      type: string
      format: uuid
    WalletTransactionSourceType:
      type: string
      enum: *ref_204
    WalletTransactionStatus:
      type: string
      enum: *ref_205
    WalletTransactionType:
      type: string
      enum: *ref_203
    uuid:
      type: string
      format: uuid
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
x-speakeasy-globals:
  parameters:
    - $ref: '#/components/parameters/VersionHeader'
