Skip to main content

Fetch Sub Accounts by ID

Get details of your created sub account by its ID

GET https://api.spotflow.co/api/v1/accounts/:id

Headers

authorization
String

Bearer SECRET_KEY
Include your secret key in the request header as a Bearer token for authorization. Unauthorized requests will result in a 401 HTTP status code.

Path Parameters

id int32

This is the unique ID generated upon creation of your sub account. You can also use your main account id found on the Get all main sub accounts endpoint .

Sample Response:

200 OK

{
"id": "e0189fb1-3210-42e9-96fe-aeb5215c086c",
"balanceId": "bln_9b38a55f-2665-4a05-8936-e8067c131f98",
"accountName": "Newly LLC",
"accountNumber": "8213714164",
"parentAccountId": "43bbf6b7-6bf0-4aec-b145-eef4d3b29a75",
"currency": "NGN",
"mode": "test",
"status": "active",
"createdAt": "2025-07-02T14:09:45.536072Z",
"updatedAt": "2025-07-02T14:09:45.536082Z"
}