GET
/
subaccount
/
details
Subaccount Details
curl --request GET \
  --url https://nini.monieswitch.com/subaccount/details \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Operation successful",
  "data": {
    "subaccount": {
      "id": "f16aee43-f1d5-43d7-8f0f-29acf85202bd",
      "name": "Ridwan Store",
      "status": "ACTIVE",
      "bankCode": "000013",
      "percentage": 2.5,
      "bankName": "GTBANK PLC",
      "accountNumber": "0928374732",
      "accountName": "SIMI MICHELLE",
      "contactName": null,
      "contactEmail": null,
      "contactPhoneNumber": null,
      "createdAt": "2024-07-25T21:49:53.202Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

subaccountId
string

Response

200 - application/json

Subaccount Details - Successful

The response is of type object.