cURL
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 }
Subaccount details
Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'
The response is of type object.
object