🚀 Card Payment is live! Learn more
curl --request GET \
--url https://nini.monieswitch.com/subaccount \
--header 'Authorization: Bearer <token>'
{
"status": true,
"data": {
"subaccounts": [
{
"id": "f16aee43-f1d5-43d7-8f0f-29acf85202bd",
"name": "Ridwan Store",
"status": "ACTIVE",
"bankCode": "000013",
"percentage": 10,
"bankName": "GTBANK PLC",
"accountNumber": "0928374732",
"accountName": "SIMI MICHELLE",
"contactName": null,
"createdAt": "2024-07-25T21:49:53.202Z"
},
{
"id": "8ddf478e-d849-4519-add2-67c67d9db4de",
"name": "Abraham Store",
"status": "ACTIVE",
"bankCode": "000013",
"percentage": 25,
"bankName": "GTBANK PLC",
"accountNumber": "0928374733",
"accountName": "SIMI MICHELLE",
"contactName": null,
"createdAt": "2024-07-25T21:27:05.759Z"
}
],
"perPage": 50,
"currentPage": 1,
"totalRecords": 2,
"totalPages": 1
}
}
curl --request GET \
--url https://nini.monieswitch.com/subaccount \
--header 'Authorization: Bearer <token>'
{
"status": true,
"data": {
"subaccounts": [
{
"id": "f16aee43-f1d5-43d7-8f0f-29acf85202bd",
"name": "Ridwan Store",
"status": "ACTIVE",
"bankCode": "000013",
"percentage": 10,
"bankName": "GTBANK PLC",
"accountNumber": "0928374732",
"accountName": "SIMI MICHELLE",
"contactName": null,
"createdAt": "2024-07-25T21:49:53.202Z"
},
{
"id": "8ddf478e-d849-4519-add2-67c67d9db4de",
"name": "Abraham Store",
"status": "ACTIVE",
"bankCode": "000013",
"percentage": 25,
"bankName": "GTBANK PLC",
"accountNumber": "0928374733",
"accountName": "SIMI MICHELLE",
"contactName": null,
"createdAt": "2024-07-25T21:27:05.759Z"
}
],
"perPage": 50,
"currentPage": 1,
"totalRecords": 2,
"totalPages": 1
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
List Subaccounts - Successful
The response is of type object
.