Get account
Changed onGet an account by its ID.
Request
- Base URLhttps://api.cdp.coinbase.com/platform
- AuthHTTP bearer
Path parameters
The ID of the Account, which is a UUID prefixed by the string account_.
The ID of the account to retrieve.
Response
Successfully got account.
The ID of the Account, which is a UUID prefixed by the string account_.
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.
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.
An optional name for the account. Must be 1-64 characters and can only contain alphanumeric characters, hyphens, and spaces.
The timestamp when the account was created.
The timestamp when the account was last updated.
Example response
{
"accountId": "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"type": "prime",
"owner": "entity_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"name": "My Business Account",
"createdAt": "2023-10-08T14:30:00Z",
"updatedAt": "2023-10-08T14:30:00Z"
}Changes
- warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status
- warning
- warning
added the new
entity_not_configured_for_top_upenum value to theerrorTyperesponse property for the response status
1 more change in this revision
- warning