# Create Instrument

Create a new instrument.

Endpoint: POST /instruments
Version: 0.1.0

## Header parameters:

  - `X-API-Key` (any)

## Request fields (application/json):

  - `type` (string, required)
    Type of instrument
    Enum: "mx_direct_debit_card", "mx_clabe"

  - `customer_id` (string, required)
    ID of the customer that owns this instrument

  - `description` (any)
    Description of the instrument

  - `mx_direct_debit_card` (any)
    Card instrument for Mexico Direct Debit
    - `card_number` (string, required)
      Card number
    - `bank` (string, required)
      Bank identifier
      Enum: "mx_santander", "mx_banorte", "mx_bbva", "mx_banamex", "mx_hsbc", "mx_citi", "mx_banjercito", "mx_bajio", "mx_inbursa", "mx_invex", "mx_america", "mx_vepormas", "mx_azteca", "mx_multiva", "mx_actinver", "mx_bancoppel", "mx_fundaciondonde", "mx_bancrea", "mx_bankaaol", "mx_scotiabank", "mx_banregio", "mx_afirme", "mx_compartamos", "mx_base", "mx_ci", "mx_mifel", "mx_interbanco", "mx_sabadell"

  - `mx_clabe` (any)
    CLABE instrument for Mexico
    - `clabe` (string, required)
      CLABE number
    - `can_credit` (any)
      Whether this instrument can receive credits
    - `can_debit` (any)
      Whether this instrument can be debited

## Response 201 fields (application/json):

  - `org_id` (string, required)
    ID of the organization this instrument belongs to

  - `customer_id` (string, required)
    ID of the customer that owns this instrument

  - `type` (string, required)
    Type of instrument (card, bank_account, other)
    Enum: same as `type` (2 values)

  - `description` (any)
    Description of the instrument

  - `status` (string)
    Current status of the instrument
    Enum: "active", "inactive", "verification_in_progress", "errored"

  - `mx_direct_debit_card` (any)
    Card instrument for Mexico Direct Debit
    - `card_number` (string, required)
      Card number
    - `bank` (string, required)
      Bank identifier
      Enum: same as `bank` (28 values)

  - `mx_clabe` (any)
    CLABE instrument for Mexico
    - `clabe` (string, required)
      CLABE number
    - `can_credit` (any)
      Whether this instrument can receive credits
    - `can_debit` (any)
      Whether this instrument can be debited

  - `currency` (any)
    ISO 4217 currency code

  - `ownership_verification_result` (any)
    Result of ownership verification

  - `ownership_verification_result_at` (any)
    When ownership verification was completed

  - `id` (string, required)

  - `created_at` (string, required)

  - `updated_at` (any)

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array, required)

  - `detail.msg` (string, required)

  - `detail.type` (string, required)


