# Create Pocket Portal

This endpoint creates a new portal for a customer.

Endpoint: POST /api/v2/pockets/{pocket_id}/portals/
Version: Version: cf52545e
Security: CodeBearer

## Path parameters:

  - `pocket_id` (string, required)

## Request fields (application/json):

  - `name` (string, required)

  - `type` (string, required)

  - `id` (string, required)

  - `chain` (string, required)
    `ETH` is supported at this time.

## Response 201 fields (application/json):

  - `id` (string, required)

  - `pocket_id` (string, required)

  - `time_created` (string, required)

  - `name` (string, required)
    Portal name

  - `status` (string, required)
    Portal status
    Enum: "OPEN", "CLOSED", "PENDING", "REJECTED"

  - `type` (string, required)

  - `routing_number` (string, required)
    Routing number

  - `account_number` (string, required)
    Account number

  - `payment_rails` (array, required)
    Specifies which payment rails (ACH, WIRE, ON_US) are accepted.

  - `chain` (string, required)
    `ETH` is supported at this time.

  - `wallet_address` (string, required)

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array, required)

  - `detail.msg` (string, required)

  - `detail.type` (string, required)

  - `detail.input` (any)

  - `detail.ctx` (object)

