---
title: "Create account"
method: POST
path: "/v2/accounts"
tags: ["Accounts"]
---

# Create account

`POST /v2/accounts`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/accounts`
- Auth: HTTP bearer

Create an account. Two ownership modes are supported:

- **Entity-owned**: when `owner` is omitted, the account is owned by the
  Entity making the request. Returns an account with `owner: entity_<uuid>`.
  Omit `compliance`; it has no effect for Entity-owned accounts.

- **Customer-owned**: pass a Customer ID as `owner`
  (e.g. `customer_af2937b0-9846-4fe7-bfe9-ccc22d935114`). The Customer
  must have the `custodyCrypto`, `custodyFiat`, and `custodyStablecoin`
  capabilities enabled, otherwise the request is rejected with
  `customer_not_authorized` (HTTP 403). `compliance.requesterIpAddress`
  is required; use the IP address of the end-customer who initiated the
  request (not the partner server's IP).

## Headers

- `X-Idempotency-Key` string

## Request body

- CreateAccountRequest
  - `owner` string: The Owner of the Account to create. * If omitted, the account will be owned by the Entity making the request. * If the account is for a customer, the value will be a Customer ID, e.g. `customer_af2937b0-9846-4fe7-bfe9-ccc22d935114`. * Further, the corresponding Customer must have all of the following capabilities enabled: - `custodyCrypto` - `custodyFiat` - `custodyStablecoin`.
  - `name` string: An optional name for the account. Must be 1-64 characters and can only contain alphanumeric characters, hyphens, and spaces.
  - `compliance` Compliance: Required when `owner` is a Customer ID; omit for Entity-owned accounts.
    - `requesterIpAddress` string: IPv4 or IPv6 address of the individual (i.e., end-customer) that initiated this request. NOT the IP of the partner server making the API call.

## Response `200`

Successfully created account.

- Account
  - `accountId` string, required: The ID of the Account, which is a UUID prefixed by the string `account_`.
  - `type` 'prime' | 'business' | 'cdp', required: The type of the Account. - `prime`: a linked Coinbase Prime account. - `business`: a linked Coinbase Business account. - `cdp`: a CDP-native account created via this API. Used for accounts created on behalf of an Entity and for Customer-owned accounts.
  - `owner` string, required: The Owner ID of the Account. Owner IDs are UUIDs prefixed with the Owner Type as follows: * **Entity**: `entity_` - If the Owner is your Entity, e.g. `entity_af2937b0-9846-4fe7-bfe9-ccc22d935114`. * **Customer**: `customer_` - If the Owner is one of your Customers, e.g. `customer_af2937b0-9846-4fe7-bfe9-ccc22d935114`. Customer ownership requires the Customer to have the `custodyCrypto`, `custodyFiat`, and `custodyStablecoin` capabilities enabled.
  - `name` string: An optional name for the account. Must be 1-64 characters and can only contain alphanumeric characters, hyphens, and spaces.
  - `createdAt` string, date-time, required: The timestamp when the account was created.
  - `updatedAt` string, date-time, required: The timestamp when the account was last updated.

## Other responses

- `400`: Invalid request.
- `403`: Customer is not authorized for one or more capabilities required by this action.
- `422`: Idempotency key conflict.
- `503`: The endpoint cannot serve the request right now, either because the API is in an unintended outage (`service_unavailable` — dependency failure, deploy issue) or because an operator has intentionally disabled this specific endpoint via a kill switch (`endpoint_unavailable`). Clients should dispatch on `errorType`: `service_unavailable` is typically transient and safe to retry, while `endpoint_unavailable` may persist until an operator re-enables the endpoint.

## Changes

- **2026-12-01** `06cb41a4fb57`: 4 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `400`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `403`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `422`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `503`
- **2026-10-16** `ff3c1fdef902`: 4 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `400`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `403`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `422`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `503`
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/accounts/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
