---
updatedAt: 2025-05-28T00:19:56.000Z
agentTools:
  projectIndex: https://coinify.readme.io/llms.txt
---

# Read Sub-account

This endpoint allows you to check the name behind a particular sub-account ID.

# Successful response

The successful response of this endpoint returns the ID and name of the sub-account.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "subaccount",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.payment.sandbox.coinify.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/subaccounts/{id}": {
      "get": {
        "summary": "Read Sub-account",
        "description": "",
        "operationId": "subaccounts-read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string",
              "default": "484c476a-3efd-4eb0-8384-f8121059a020"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"id\": \"484c476a-3efd-4eb0-8384-f8121059a020\",\n  \"name\": \"Yaroslav's Shop\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "484c476a-3efd-4eb0-8384-f8121059a020"
                    },
                    "name": {
                      "type": "string",
                      "example": "Yaroslav's Shop"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Not Found. Invalid subaccountId": {
                    "value": "{\n  \"errorCode\": \"not_found\",\n  \"errorMessage\": \"Subaccount \\\"484c476a\\\" not found\",\n  \"requestId\": \"70be5878-dedc-4243-9225-31ced794fff0\"\n}"
                  },
                  "Not Found. Valid subaccountId": {
                    "value": "{\n  \"errorCode\": \"not_found\",\n  \"errorMessage\": \"Subaccount \\\"484c476a-0000-4eb0-8384-f8121059a020\\\" not found\",\n  \"requestId\": \"2a7f98c0-43ae-4cbb-bcf0-7e9a90c4dbcc\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Not Found. Invalid subaccountId",
                      "type": "object",
                      "properties": {
                        "errorCode": {
                          "type": "string",
                          "example": "not_found"
                        },
                        "errorMessage": {
                          "type": "string",
                          "example": "Subaccount \"484c476a\" not found"
                        },
                        "requestId": {
                          "type": "string",
                          "example": "70be5878-dedc-4243-9225-31ced794fff0"
                        }
                      }
                    },
                    {
                      "title": "Not Found. Valid subaccountId",
                      "type": "object",
                      "properties": {
                        "errorCode": {
                          "type": "string",
                          "example": "not_found"
                        },
                        "errorMessage": {
                          "type": "string",
                          "example": "Subaccount \"484c476a-0000-4eb0-8384-f8121059a020\" not found"
                        },
                        "requestId": {
                          "type": "string",
                          "example": "2a7f98c0-43ae-4cbb-bcf0-7e9a90c4dbcc"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```