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

# Create a new wallet asset for a customer

> Provisions a crypto wallet for a customer for the requested asset and
chain, returning the created wallet. Pass an Idempotency-Key header to
safely retry without provisioning duplicates.



## OpenAPI

````yaml /api-reference/openapi.yaml post /customers/{id}/wallets
openapi: 3.0.3
info:
  title: Polygon OMS Public API
  version: v26.05.28-0001
  description: >-
    Unified API for moving money between crypto and fiat. Three ways to move
    money: Transactions (instant, wallet or card funded, including Cash-In for
    in-person cash deposits), Deposit Addresses (reusable crypto deposit
    configurations), and Virtual Accounts (dedicated bank accounts that
    auto-convert fiat to crypto). Standard transactions follow a two-step flow:
    create a Quote (pricing), then create a Transaction (execution). Cash-in
    codes generate a one-time deposit code for in-person cash deposits at retail
    locations.
  contact:
    name: Polygon OMS
    url: https://oms.polygon.technology
servers:
  - url: https://sandbox-api.polygon.technology/v0.13
    description: Sandbox
  - url: https://api.polygon.technology/v0.13
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Auth
    description: Authentication via FrontEgg
  - name: Customers
    description: Customer management and KYC
  - name: Customer
  - name: Wallet
  - name: Quote
  - name: Transaction
  - name: CashIns
  - name: CashLocation
  - name: Sandbox
  - name: VirtualAccount
  - name: Counterparty
  - name: ExternalAccount
  - name: Reference
  - name: DepositAddress
paths:
  /customers/{id}/wallets:
    post:
      tags:
        - Wallet
      summary: Create a new wallet asset for a customer
      description: |-
        Provisions a crypto wallet for a customer for the requested asset and
        chain, returning the created wallet. Pass an Idempotency-Key header to
        safely retry without provisioning duplicates.
      operationId: createCustomerWallet
      parameters:
        - name: id
          in: path
          required: true
          description: Customer ID (`cst_` prefix).
          schema:
            type: string
        - $ref: '#/components/parameters/IdempotencyKeyHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WalletCreateRequest'
      responses:
        '201':
          description: >-
            The request has succeeded and a new resource has been created as a
            result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BpnWallet'
components:
  parameters:
    IdempotencyKeyHeader:
      name: Idempotency-Key
      in: header
      required: true
      description: >-
        Required on POST and PUT requests. Use a unique value per logical
        mutation attempt, for example a UUID.
      schema:
        type: string
  schemas:
    WalletCreateRequest:
      type: object
      required:
        - asset
        - chain
      properties:
        asset:
          type: string
          description: Asset the wallet will hold (e.g. `usdc`).
        chain:
          type: string
          description: Chain the wallet lives on.
      description: >-
        Request body for creating a wallet: the asset to hold and the chain it
        lives on.
      example:
        asset: usdc
        chain: ethereum
    BpnWallet:
      type: object
      properties:
        id:
          allOf:
            - $ref: '#/components/schemas/typeId'
          description: Wallet ID.
        object:
          type: string
          enum:
            - wallet
          description: Resource type discriminator. Always "wallet".
        customerId:
          allOf:
            - $ref: '#/components/schemas/typeId'
          description: The OMS customer that owns this record (`cst_` prefix).
        type:
          allOf:
            - $ref: '#/components/schemas/WalletType'
          description: '`internal` (OMS-managed) or `external` (held outside OMS).'
        asset:
          type: string
          description: Asset held by this wallet.
        chain:
          type: string
          description: Chain the wallet lives on.
        blockchainAsset:
          allOf:
            - $ref: '#/components/schemas/BlockchainAsset'
          description: Resolved asset/network detail for the wallet's asset.
        address:
          type: string
          description: On-chain address of the wallet.
        status:
          allOf:
            - $ref: '#/components/schemas/WalletStatus'
          description: Current lifecycle status of the wallet.
        createdAt:
          type: string
          format: date-time
          description: When the wallet was created.
        updatedAt:
          type: string
          format: date-time
          description: When the wallet was last updated.
      description: >-
        A wallet holding a single asset on one chain for a customer. internal
        wallets are OMS-managed; external wallets are held outside OMS.
    typeId:
      type: string
      pattern: >-
        ^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$
      description: >-
        Public TypeID, e.g. `txn_01h455vb4pex5vsknk084sn02q`; legacy UUID
        suffixes are accepted until non-v7 rows are retired.
      x-go-type: string
    WalletType:
      type: string
      enum:
        - internal
        - external
      description: >-
        Whether a wallet is internal (OMS-managed) or external (held outside
        OMS).
    BlockchainAsset:
      type: object
      required:
        - protocol
        - chainId
        - tokenId
      properties:
        protocol:
          $ref: '#/components/schemas/BlockchainProtocol'
        chainId:
          type: string
        tokenId:
          type: string
    WalletStatus:
      type: string
      enum:
        - active
        - suspended
        - frozen
        - closed
    BlockchainProtocol:
      type: string
      enum:
        - evm
        - svm
        - sui
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Token from POST /auth/token

````