GET
/
subaccount
/
details
Subaccount details
curl --request GET \
  --url https://nini.monieswitch.com/subaccount/details \
  --header 'Authorization: <authorization>'
{
  "data": {
    "subaccount": {
      "balance": 0,
      "createdAt": "2024-03-22T08:31:32.713Z",
      "id": "9965502c-b8ac-4b3f-af7e-00edfc2665eb",
      "name": "Testing",
      "status": "ACTIVE"
    }
  },
  "message": "Operation successful",
  "status": true
}

Headers

Authorization
string
required

Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'

Query Parameters

subaccountId
string

Response

200 - application/json

Subaccount details

The response is of type object.