v1

latestOpenAPI 3.0.02026-07-14866188.2 KB
SubAccount

Get details of an existing sub account.

get/v0.2.4/sub-account/get

Query parameters

idstring required

Sub account ID.

communityIDstring

Community ID.

Response

Success.

statusstring
messagestring

Example response

{
  "status": "success",
  "message": "Sub-account details fetched successfully",
  "data": {
    "id": "907b90ef-d723-4b07-9f74-480afb5f09ef",
    "lastName": "Okeeke",
    "parent": "qP3P6bjbjLZUMxVfxgEqzOF0hNM2",
    "accountSecondCurrencies": [],
    "verified": true,
    "subscription": {
      "subscription_end_timestamp": {
        "_seconds": 1883676344,
        "_nanoseconds": 773000000
      },
      "subscription_start_timestamp": {
        "_seconds": 1725909944,
        "_nanoseconds": 773000000
      },
      "id": "partner-white-glove"
    },
    "firstName": "Madueke",
    "phoneNumber": "+2348139955333",
    "tier": {
      "id": "tier-3"
    },
    "wallets": [
      {
        "id": "kmgq3kE1nUN5krrR3RcV",
        "owner": "907b90ef-d723-4b07-9f74-480afb5f09ef",
        "balance": 1000,
        "type": "momo",
        "transactions": [
          {
            "balanceBefore": 1000,
            "meta": {
              "date": {
                "_seconds": 1725909944,
                "_nanoseconds": 768000000
              }
            },
            "newBalance": 1000,
            "description": "new wallet creation transaction"
          }
        ]
      }
    ]
  }
}