> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bastion.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Submit Compliance Data

> Submit compliance data for an identity in your organization.
 Either KYB or KYC must be included in the request body.

 | IdentityType  | Required Compliance Data|
 | -------------|-----------------------  |
 | `INDIVIDUAL` | kyc                     |
 | `BUSINESS`   | kyb                     |

 Please note that only US-based businesses are supported at this time. An international KYB submission will be rejected.



## OpenAPI

````yaml /v2/openapi.yaml post /v2/identities/{identity_id}/compliance
openapi: 3.1.0
info:
  title: Bastion APIs
  version: '2.0'
servers:
  - url: https://api.prod.bastion.com
    description: Production environment
  - url: https://api.sandbox.bastion.io
    description: Sandbox environment
security:
  - auth: []
tags:
  - name: Bastion APIs
paths:
  /v2/identities/{identity_id}/compliance:
    post:
      tags:
        - Compliance
      summary: Submit Compliance Data
      description: |-
        Submit compliance data for an identity in your organization.
         Either KYB or KYC must be included in the request body.

         | IdentityType  | Required Compliance Data|
         | -------------|-----------------------  |
         | `INDIVIDUAL` | kyc                     |
         | `BUSINESS`   | kyb                     |

         Please note that only US-based businesses are supported at this time. An international KYB submission will be rejected.
      operationId: bastion.api.v2.API.SubmitComplianceData
      parameters:
        - name: identity_id
          in: path
          description: >-
            Unique identifier of the identity to which the compliance data
            should be applied
          required: true
          schema:
            type: string
            title: identity_id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/bastion.api.v2.ComplianceData'
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/bastion.api.v2.SubmitComplianceDataResponse
        '400':
          description: Bad request
        '409':
          description: Resource Conflicts
        '500':
          description: Internal Server Error
components:
  schemas:
    bastion.api.v2.ComplianceData:
      type: object
      oneOf:
        - type: object
          properties:
            kyb:
              $ref: '#/components/schemas/bastion.api.v2.KYB'
              title: kyb
          title: kyb
          required:
            - kyb
        - type: object
          properties:
            kyc:
              $ref: '#/components/schemas/bastion.api.v2.KYC'
              title: kyc
          title: kyc
          required:
            - kyc
      additionalProperties: false
    bastion.api.v2.SubmitComplianceDataResponse:
      type: object
      title: SubmitComplianceDataResponse
      additionalProperties: false
    bastion.api.v2.KYB:
      type: object
      properties:
        name:
          type: string
          title: name
          maxLength: 100
          minLength: 3
          description: Name of the business
        tax_id:
          type: string
          title: tax_id
          maxLength: 20
          minLength: 3
          description: >-
            For business US customers, EIN (in the format XX-XXXXXXX where X is
            a number) should be used. For non-US business customers, a national
            ID is preferred where applicable; however, a tax ID can also be used
            as an alternative.
        email_address:
          type: string
          title: email_address
          maxLength: 100
          description: Business email address
        address:
          $ref: '#/components/schemas/bastion.common.Address'
          title: address
          description: Business address
        description:
          type: string
          title: description
          maxLength: 255
          description: Business description
        source_of_funds:
          $ref: '#/components/schemas/bastion.api.v2.KYB.SourceOfFunds'
          title: source_of_funds
          description: Source of funds for the business
        business_type:
          $ref: '#/components/schemas/bastion.api.v2.KYB.BusinessType'
          title: business_type
          description: >-
            The type of business structure. Options include: cooperative,
            corporation, llc, other, partnership, sole-prop, trust
        website:
          type: string
          title: website
          description: The business website. This must include the http:// or https://
        is_dao:
          type: boolean
          title: is_dao
          description: Whether the business is a DAO
        transmits_customer_funds:
          type: boolean
          title: transmits_customer_funds
          description: True if the business transmits funds on behalf of its customers
        compliance_screening_explanation:
          type: string
          title: compliance_screening_explanation
          description: >-
            (OPTIONAL) Required if transmits_customer_funds is true. An
            explanation of types of compliance screening (KYC, KYB, or AML) the
            customer performs before transmitting funds on behalf of its
            customers.
        ultimate_beneficial_owners:
          type: array
          items:
            $ref: '#/components/schemas/bastion.api.v2.UltimateBeneficialOwner'
          title: ultimate_beneficial_owners
        formation_document:
          $ref: '#/components/schemas/bastion.common.Document'
          title: formation_document
        ownership_document:
          $ref: '#/components/schemas/bastion.common.Document'
          title: ownership_document
        date_of_incorporation:
          type: string
          title: date_of_incorporation
          description: Date of incorporation of the business in format yyyy-mm-dd
        business_industry_code:
          type: string
          title: business_industry_code
          description: >-
            (OPTIONAL) 6-digit NAICS industry code for the business. Required
            when the business address is in the US.
             For more information about NAICS codes, see https://www.census.gov/naics/.
             Supported codes:
               111110, 111120, 111130, 111140, 111150, 111160, 111191, 111199, 111211, 111219,
               111310, 111320, 111331, 111332, 111333, 111334, 111335, 111336, 111339, 111411,
               111419, 111421, 111422, 111910, 111920, 111930, 111940, 111991, 111992, 111998,
               112111, 112112, 112120, 112210, 112310, 112320, 112330, 112340, 112390, 112410,
               112420, 112511, 112512, 112519, 112910, 112920, 112930, 112990, 113110, 113210,
               113310, 114111, 114112, 114119, 114210, 115111, 115112, 115113, 115114, 115115,
               115116, 115210, 115310, 211120, 211130, 212114, 212115, 212210, 212220, 212230,
               212290, 212311, 212312, 212313, 212319, 212321, 212322, 212323, 212390, 213111,
               213112, 213113, 213114, 213115, 221111, 221112, 221113, 221114, 221115, 221116,
               221117, 221118, 221121, 221122, 221210, 221310, 221320, 221330, 236115, 236116,
               236117, 236118, 236210, 236220, 237110, 237120, 237130, 237210, 237310, 237990,
               238110, 238111, 238112, 238121, 238122, 238131, 238132, 238140, 238141, 238142,
               238151, 238152, 238160, 238161, 238162, 238171, 238172, 238191, 238192, 238210,
               238211, 238212, 238220, 238221, 238222, 238291, 238292, 238311, 238312, 238321,
               238322, 238331, 238332, 238341, 238342, 238350, 238351, 238352, 238391, 238392,
               238911, 238912, 238990, 238991, 238992, 311111, 311119, 311211, 311212, 311213,
               311221, 311224, 311225, 311230, 311313, 311314, 311340, 311351, 311352, 311411,
               311412, 311421, 311422, 311423, 311511, 311512, 311513, 311514, 311520, 311611,
               311612, 311613, 311615, 311710, 311811, 311812, 311813, 311821, 311824, 311830,
               311911, 311919, 311920, 311930, 311941, 311942, 311991, 311999, 312111, 312112,
               312113, 312120, 312130, 312140, 312230, 313110, 313210, 313220, 313230, 313240,
               313310, 313320, 314110, 314120, 314910, 314994, 314999, 315120, 315210, 315250,
               315990, 316110, 316210, 316990, 321113, 321114, 321211, 321212, 321215, 321219,
               321911, 321912, 321918, 321920, 321991, 321992, 321999, 322110, 322120, 322130,
               322211, 322212, 322219, 322220, 322230, 322291, 322299, 323111, 323113, 323117,
               323120, 324110, 324121, 324122, 324191, 324199, 325110, 325120, 325130, 325180,
               325193, 325194, 325199, 325211, 325212, 325220, 325311, 325312, 325314, 325315,
               325320, 325411, 325412, 325413, 325414, 325510, 325520, 325611, 325612, 325613,
               325620, 325910, 325920, 325991, 325992, 325998, 326111, 326112, 326113, 326121,
               326122, 326130, 326140, 326150, 326160, 326191, 326199, 326211, 326212, 326220,
               326291, 326299, 327110, 327120, 327211, 327212, 327213, 327215, 327310, 327320,
               327331, 327332, 327390, 327410, 327420, 327910, 327991, 327992, 327993, 327999,
               331110, 331210, 331221, 331222, 331313, 331314, 331315, 331318, 331410, 331420,
               331491, 331492, 331511, 331512, 331513, 331523, 331524, 331529, 332111, 332112,
               332114, 332117, 332119, 332215, 332216, 332311, 332312, 332313, 332321, 332322,
               332323, 332410, 332420, 332431, 332439, 332510, 332613, 332618, 332710, 332721,
               332722, 332811, 332812, 332813, 332911, 332912, 332913, 332919, 332991, 332992,
               332993, 332994, 332996, 332999, 333111, 333112, 333120, 333131, 333132, 333241,
               333242, 333243, 333248, 333310, 333413, 333414, 333415, 333511, 333514, 333515,
               333517, 333519, 333611, 333612, 333613, 333618, 333912, 333914, 333921, 333922,
               333923, 333924, 333991, 333992, 333993, 333994, 333995, 333996, 333998, 334111,
               334112, 334118, 334210, 334220, 334290, 334310, 334412, 334413, 334416, 334417,
               334418, 334419, 334510, 334511, 334512, 334513, 334514, 334515, 334516, 334517,
               334519, 334610, 335131, 335132, 335139, 335210, 335220, 335311, 335312, 335313,
               335314, 335910, 335921, 335929, 335931, 335932, 335991, 335999, 336110, 336120,
               336211, 336212, 336213, 336214, 336310, 336320, 336330, 336340, 336350, 336360,
               336370, 336390, 336411, 336412, 336413, 336414, 336415, 336419, 336510, 336611,
               336612, 336991, 336992, 336999, 337110, 337121, 337122, 337126, 337127, 337211,
               337212, 337214, 337215, 337910, 337920, 339112, 339113, 339114, 339115, 339116,
               339910, 339920, 339930, 339940, 339950, 339991, 339992, 339993, 339994, 339995,
               339999, 423110, 423120, 423130, 423140, 423210, 423220, 423310, 423320, 423330,
               423390, 423410, 423420, 423430, 423440, 423450, 423460, 423490, 423510, 423520,
               423610, 423620, 423690, 423710, 423720, 423730, 423740, 423810, 423820, 423830,
               423840, 423850, 423860, 423910, 423920, 423930, 423940, 423990, 424110, 424120,
               424130, 424210, 424310, 424340, 424350, 424410, 424420, 424430, 424440, 424450,
               424460, 424470, 424480, 424490, 424510, 424520, 424590, 424610, 424690, 424710,
               424720, 424810, 424820, 424910, 424920, 424930, 424940, 424950, 424990, 425120,
               441110, 441120, 441210, 441222, 441227, 441330, 441340, 444110, 444120, 444140,
               444180, 444230, 444240, 445110, 445131, 445132, 445230, 445240, 445250, 445291,
               445292, 445298, 445320, 449110, 449121, 449122, 449129, 449210, 454113, 454390,
               455110, 455211, 455219, 456110, 456120, 456130, 456191, 456199, 457110, 457120,
               457210, 458110, 458210, 458310, 458320, 459110, 459120, 459130, 459140, 459210,
               459310, 459410, 459420, 459510, 459910, 459920, 459930, 459991, 459999, 481111,
               481112, 481211, 481212, 481219, 482111, 482112, 483111, 483112, 483113, 483114,
               483211, 483212, 484110, 484121, 484122, 484210, 484220, 484230, 485111, 485112,
               485113, 485119, 485210, 485310, 485320, 485410, 485510, 485991, 485999, 486110,
               486210, 486910, 486990, 487110, 487210, 487990, 488111, 488119, 488190, 488210,
               488310, 488320, 488330, 488390, 488410, 488490, 488510, 488991, 488999, 491110,
               492110, 492210, 493110, 493120, 493130, 493190, 512110, 512120, 512131, 512132,
               512191, 512199, 512230, 512240, 512250, 512290, 513110, 513120, 513130, 513140,
               513191, 513199, 513210, 515210, 516110, 516120, 516210, 517111, 517112, 517121,
               517410, 517810, 518210, 519210, 519290, 521110, 522110, 522130, 522180, 522210,
               522220, 522291, 522292, 522298, 522299, 522310, 522320, 522390, 523150, 523160,
               523210, 523910, 523940, 523991, 523999, 524113, 524114, 524126, 524127, 524128,
               524130, 524210, 524291, 524292, 524298, 525110, 525120, 525190, 525910, 525920,
               525990, 531110, 531120, 531130, 531190, 531210, 531311, 531312, 531320, 531390,
               532111, 532112, 532120, 532210, 532281, 532282, 532283, 532284, 532289, 532310,
               532411, 532412, 532420, 532490, 533110, 541110, 541191, 541199, 541211, 541213,
               541214, 541219, 541310, 541320, 541330, 541340, 541350, 541360, 541370, 541380,
               541410, 541420, 541430, 541490, 541511, 541512, 541513, 541519, 541611, 541612,
               541613, 541614, 541618, 541620, 541690, 541713, 541714, 541715, 541720, 541810,
               541820, 541830, 541840, 541850, 541860, 541870, 541890, 541910, 541921, 541922,
               541930, 541940, 541990, 551111, 551112, 551114, 561110, 561210, 561311, 561312,
               561320, 561330, 561410, 561421, 561422, 561431, 561439, 561440, 561450, 561491,
               561492, 561499, 561510, 561520, 561591, 561599, 561611, 561612, 561613, 561621,
               561622, 561710, 561720, 561730, 561740, 561790, 561910, 561920, 561990, 562111,
               562112, 562119, 562211, 562212, 562213, 562219, 562910, 562920, 562991, 562998,
               611110, 611210, 611310, 611410, 611420, 611430, 611511, 611512, 611513, 611519,
               611610, 611620, 611630, 611691, 611692, 611699, 611710, 621111, 621112, 621210,
               621310, 621320, 621330, 621340, 621391, 621399, 621410, 621420, 621491, 621492,
               621493, 621498, 621511, 621512, 621610, 621910, 621991, 621999, 622110, 622210,
               622310, 623110, 623210, 623220, 623311, 623312, 623990, 624110, 624120, 624190,
               624210, 624221, 624229, 624230, 624310, 624410, 711110, 711120, 711130, 711190,
               711211, 711212, 711219, 711310, 711320, 711410, 711510, 712110, 712120, 712130,
               712190, 713110, 713120, 713210, 713290, 713910, 713920, 713930, 713940, 713950,
               713990, 721110, 721120, 721191, 721199, 721211, 721214, 721310, 722310, 722320,
               722330, 722410, 722511, 722513, 722514, 722515, 811111, 811114, 811121, 811122,
               811191, 811192, 811198, 811210, 811310, 811411, 811412, 811420, 811430, 811490,
               812111, 812112, 812113, 812191, 812199, 812210, 812220, 812310, 812320, 812331,
               812332, 812910, 812921, 812922, 812930, 812990, 813110, 813211, 813212, 813219,
               813311, 813312, 813319, 813410, 813910, 813920, 813930, 813940, 813990, 814110,
               921110, 921120, 921130, 921140, 921150, 921190, 922110, 922120, 922130, 922140,
               922150, 922160, 922190, 923110, 923120, 923130, 923140, 924110, 924120, 925110,
               925120, 926110, 926120, 926130, 926140, 926150, 927110, 928110, 928120
        account_purpose:
          $ref: '#/components/schemas/bastion.common.AccountPurpose'
          title: account_purpose
        registration_number:
          type: string
          title: registration_number
          description: The business' registration number
      title: KYB
      required:
        - name
        - tax_id
        - email_address
        - address
        - description
        - source_of_funds
        - business_type
        - website
        - is_dao
        - transmits_customer_funds
        - ultimate_beneficial_owners
        - formation_document
        - ownership_document
        - date_of_incorporation
        - account_purpose
        - registration_number
      additionalProperties: false
      description: Know Your Business (KYB) information for a business identity
    bastion.api.v2.KYC:
      type: object
      properties:
        first_name:
          type: string
          title: first_name
          maxLength: 100
          minLength: 2
          description: |-
            First name of the user. Must not contain the following characters:
             ! " # $ % & ( ) * + , / : ; < = > ? @ [ \ ] ^ _ { | } ~ or a backtick.
             Hyphens and apostrophes are permitted.
        middle_name:
          type:
            - string
            - 'null'
          title: middle_name
          maxLength: 100
          minLength: 2
          description: >-
            (OPTIONAL) Middle name of the user. Must not contain the following
            characters:
             ! " # $ % & ( ) * + , / : ; < = > ? @ [ \ ] ^ _ { | } ~ or a backtick.
             Hyphens and apostrophes are permitted.
        last_name:
          type: string
          title: last_name
          maxLength: 100
          minLength: 2
          description: |-
            Last name of the user. Must not contain the following characters:
             ! " # $ % & ( ) * + , / : ; < = > ? @ [ \ ] ^ _ { | } ~ or a backtick.
             Hyphens and apostrophes are permitted.
        date_of_birth:
          type: string
          title: date_of_birth
          description: >-
            Date of birth of the user provided as YYYY-MM-DD. The individual
            must be
             between 18 and 100 years old; dates outside this range are rejected.
        ip_address:
          type: string
          title: ip_address
          description: >-
            Publicly routable IP address of the user. Private, loopback,
            link-local,
             unspecified, and multicast addresses are rejected, as are the RFC 5737
             and RFC 3849 documentation/example ranges (e.g. 192.0.2.0/24, 2001:db8::/32).
        physical_address:
          $ref: '#/components/schemas/bastion.common.Address'
          title: physical_address
        tax_id_number:
          type: string
          title: tax_id_number
          maxLength: 20
          minLength: 3
          description: >-
            For US individuals, SSN or ITIN of the user. Must be in either
            XXX-XX-XXXX or XXXXXXXXX format, where X is a number. Area numbers
            000 and 666 are reserved, and known placeholder or repeated-digit
            values are rejected, for both SSNs and ITINs; SSNs (area 001-899)
            and ITINs (area 900-999) are otherwise accepted. For non-US
            individuals, a foreign equivalent of a tax ID or government issued
            identification number is satisfactory.
        phone_number:
          type: string
          title: phone_number
          minLength: 7
          description: Phone number of the user in ISO E.164 format
        email_address:
          type: string
          title: email_address
          maxLength: 100
          description: Email address of the user
        account_purpose:
          $ref: >-
            #/components/schemas/bastion.common.kyc.account_purpose.IndividualAccountPurpose
          title: account_purpose
          description: The individual's purpose for opening a Bastion account
        source_of_funds:
          $ref: '#/components/schemas/bastion.common.kyc.IndividualSourceOfFunds'
          title: source_of_funds
          description: Source of funds for the individual
        occupation:
          $ref: '#/components/schemas/bastion.common.kyc.Occupation'
          title: occupation
          description: Occupation of the individual
        nationality:
          type: string
          title: nationality
          description: Nationality of the individual as ISO 3166-1 alpha-2 country code
        country_of_birth:
          type: string
          title: country_of_birth
          description: >-
            Country of birth of the individual as ISO 3166-1 alpha-2 country
            code
        additional_id_number:
          type:
            - string
            - 'null'
          title: additional_id_number
          description: (OPTIONAL) Additional identification number for the individual
      title: KYC
      required:
        - first_name
        - last_name
        - date_of_birth
        - ip_address
        - physical_address
        - tax_id_number
        - phone_number
        - email_address
        - account_purpose
        - source_of_funds
        - occupation
        - nationality
        - country_of_birth
      additionalProperties: false
      description: Know Your Customer (KYC) information for an individual identity
    bastion.common.Address:
      type: object
      properties:
        street_line_1:
          type: string
          title: street_line_1
          maxLength: 100
          minLength: 3
          description: >-
            Street address line 1. Must not be a PO box, and must be between 3
            and 100 characters inclusive.
        street_line_2:
          type: string
          title: street_line_2
          description: Street address line 2. Must not be a PO box.
        city:
          type: string
          title: city
          maxLength: 50
          minLength: 3
          description: City
        postal_code:
          type: string
          title: postal_code
          maxLength: 20
          description: Postal (zip) code. For US addresses, must be a valid US ZIP format.
        country:
          type: string
          title: country
          description: Two-letter ISO 3166-1 alpha-2 country code, e.g. "US".
        region_code:
          type: string
          title: region_code
          description: >-
            Two-letter subdivision code. For US addresses, must be a valid ISO
            3166-2 US
             subdivision code without the country prefix, e.g. "CA" (not "US-CA").
      title: Address
      required:
        - street_line_1
        - city
        - postal_code
        - country
        - region_code
      additionalProperties: false
    bastion.api.v2.KYB.SourceOfFunds:
      type: string
      title: SourceOfFunds
      enum:
        - SOURCE_OF_FUNDS_UNSPECIFIED
        - BUSINESS_LOANS
        - BUSINESS_REVENUE
        - EQUITY_FUNDING
        - GRANTS
        - INTER_COMPANY_FUNDS
        - INVESTMENT_PROCEEDS
        - LEGAL_SETTLEMENT
        - LEGAL_SETTLEMENT_TAX_REFUND
        - OWNERS_CAPITAL
        - PENSION_RETIREMENT
        - SALE_OF_ASSETS
        - SALES_OF_GOODS_AND_SERVICES
        - THIRD_PARTY_FUNDS
        - TREASURY_RESERVES
      example: BUSINESS_LOANS
    bastion.api.v2.KYB.BusinessType:
      type: string
      title: BusinessType
      enum:
        - BUSINESS_TYPE_UNSPECIFIED
        - COOPERATIVE
        - CORPORATION
        - LLC
        - OTHER
        - PARTNERSHIP
        - SOLEPROP
        - TRUST
      example: COOPERATIVE
    bastion.api.v2.UltimateBeneficialOwner:
      type: object
      properties:
        first_name:
          type: string
          title: first_name
          maxLength: 100
          minLength: 2
          description: First name of owner
        last_name:
          type: string
          title: last_name
          maxLength: 100
          minLength: 2
          description: Last name of owner
        birth_date:
          type: string
          title: birth_date
          description: Date of birth in format yyyy-mm-dd
        email:
          type: string
          title: email
          maxLength: 100
          description: Email of owner
        phone:
          type: string
          title: phone
          minLength: 7
          description: Phone number of owner in ISO E.164 format
        tax_identification_number:
          type: string
          title: tax_identification_number
          description: >-
            For US owners, SSN should be used. For non-US individual owners, a
            national ID is preferred where applicable; however, a tax ID can
            also be used as an alternative.
        address:
          $ref: '#/components/schemas/bastion.common.Address'
          title: address
        gov_id_image_front:
          $ref: '#/components/schemas/bastion.common.Document'
          title: gov_id_image_front
        has_ownership:
          type: boolean
          title: has_ownership
          description: True if this person has at least 25% ownership of the business
        has_control:
          type: boolean
          title: has_control
          description: >-
            True if this is the control person of the company, having
            significant responsibility to control, manage or influence the
            activities of the business entity. At least one control person must
            be specified.
        is_signer:
          type: boolean
          title: is_signer
          description: >-
            True if this person is able to authorize transactions on behalf of
            the business. At least one signer must be specified.
        relationship_established_at:
          type: string
          title: relationship_established_at
          description: >-
            When the beneficial owner relationship was established in format
            yyyy-mm-dd
        control_person_title:
          type: string
          title: control_person_title
          maxLength: 100
          minLength: 2
          description: Title of this person
        gov_id_image_back:
          oneOf:
            - $ref: '#/components/schemas/bastion.common.Document'
            - type: 'null'
          title: gov_id_image_back
          description: >-
            (OPTIONAL) Back side of the government issued ID. Required for all
            document types except for passports.
      title: UltimateBeneficialOwner
      required:
        - first_name
        - last_name
        - birth_date
        - email
        - phone
        - tax_identification_number
        - address
        - gov_id_image_front
        - has_ownership
        - has_control
        - is_signer
        - relationship_established_at
        - control_person_title
      additionalProperties: false
      description: Ultimate Beneficial Owner (UBO) of the business
    bastion.common.Document:
      type: object
      properties:
        file_data:
          type: string
          title: file_data
          description: >-
            Base64 encoded image of the document *following the data-uri scheme
            (e.g. data:image/[type];base64,[base_64_encoded_file_contents])*.
             Maximum File Size: 10MB
             Valid file types: .pdf, .jpeg, .jpg, .png, .heic, .tif
        issuing_country:
          type: string
          title: issuing_country
          description: Country that issued the document
        issued_date:
          type: string
          title: issued_date
          description: Date the document was issued in format yyyy-mm-dd
        type:
          $ref: '#/components/schemas/bastion.common.DocumentType'
          title: type
          description: Type of the document
      title: Document
      required:
        - file_data
        - issuing_country
        - issued_date
        - type
      additionalProperties: false
      description: Document to be uploaded
    bastion.common.AccountPurpose:
      type: string
      title: AccountPurpose
      enum:
        - ACCOUNT_PURPOSE_UNSPECIFIED
        - CHARITABLE_DONATIONS
        - ECOMMERCE_RETAIL_PAYMENTS
        - INVESTMENT_PURPOSES
        - PAYMENTS_TO_FRIENDS_OR_FAMILY_ABROAD
        - PAYROLL
        - PERSONAL_OR_LIVING_EXPENSES
        - PROTECT_WEALTH
        - PURCHASE_GOODS_AND_SERVICES
        - RECEIVE_PAYMENTS_FOR_GOODS_AND_SERVICES
        - TAX_OPTIMIZATION
        - THIRD_PARTY_MONEY_TRANSMISSION
        - TREASURY_MANAGEMENT
      example: CHARITABLE_DONATIONS
    bastion.common.kyc.account_purpose.IndividualAccountPurpose:
      type: string
      title: IndividualAccountPurpose
      enum:
        - INDIVIDUAL_ACCOUNT_PURPOSE_UNSPECIFIED
        - PAYROLL
        - SAVINGS
        - PERSONAL_OR_LIVING_EXPENSES
        - PURCHASE_GOODS_AND_SERVICES
        - PAYMENTS_TO_FRIENDS_OR_FAMILY_ABROAD
        - RECEIVE_PAYMENTS_FOR_GOODS_AND_SERVICES
        - TRADING
      example: PAYROLL
    bastion.common.kyc.IndividualSourceOfFunds:
      type: string
      title: IndividualSourceOfFunds
      enum:
        - INDIVIDUAL_SOURCE_OF_FUNDS_UNSPECIFIED
        - EMPLOYMENT_SALARY
        - BUSINESS_OWNERSHIP
        - INVESTMENTS
        - SAVINGS
        - LOAN
        - GIFT
        - SALE_OF_ASSETS
        - INHERITANCE
      example: EMPLOYMENT_SALARY
    bastion.common.kyc.Occupation:
      type: string
      title: Occupation
      enum:
        - OCCUPATION_UNSPECIFIED
        - AGRICULTURE
        - ART_AND_ENTERTAINMENT
        - BUSINESS_MANAGEMENT
        - COMPUTERS_AND_IT
        - CONSTRUCTION_AND_REAL_ESTATE
        - EDUCATION
        - FINANCE_AND_INSURANCE
        - FOOD_BEVERAGE_AND_HOSPITALITY
        - GOVERNMENT_AND_PUBLIC_ADMINISTRATION
        - HEALTHCARE
        - HOSPITALITY
        - MANUFACTURING
        - MINING
        - MARKETING
        - MEDIA
        - SCIENCE
        - STUDENT
        - TRANSPORTATION
        - UNEMPLOYED
        - OTHER
      example: AGRICULTURE
    bastion.common.DocumentType:
      type: string
      title: DocumentType
      enum:
        - DOCUMENT_TYPE_UNSPECIFIED
        - DOCUMENT_TYPE_PASSPORT
        - DOCUMENT_TYPE_NATIONAL_ID
        - DOCUMENT_TYPE_DRIVER_LICENSE
        - DOCUMENT_TYPE_RESIDENCE_PERMIT
        - DOCUMENT_TYPE_FORMATION
        - DOCUMENT_TYPE_OWNERSHIP
        - DOCUMENT_TYPE_PROOF_OF_ADDRESS
        - DOCUMENT_TYPE_SOURCE_OF_FUNDS
        - DOCUMENT_TYPE_INDIVIDUAL_HOLDING
        - DOCUMENT_TYPE_BVN_NG
        - DOCUMENT_TYPE_SELFIE
      description: Type of the document
      example: DOCUMENT_TYPE_PASSPORT
  securitySchemes:
    auth:
      type: http
      description: Bearer authentication with an API token
      scheme: bearer

````

## Related topics

- [Compliance API overview](/v2/api-reference/compliance/overview.md)
- [Compliance notifications](/v2/api-reference/webhooks/notifications/compliance-notifications.md)
- [KYC and KYB requirements](/guides/compliance/kyc-requirements.md)
- [Compliance notifications (v2)](/v2/api-reference/webhooks/notifications/compliance-notifications-v2.md)
- [Issuance API overview](/v2/api-reference/issuance/overview.md)
