POST
/
child
/
activate
Activate
curl --request POST \
  --url https://nini.monieswitch.com/child/activate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "childAccountId": "5e37f271-a3ba-4cd7-ab14-551da019bb5a"
}'
{
  "status": true,
  "message": "Account successfully activated",
  "data": {
    "subaccount": {
      "id": "5a17ee4f-e846-41d8-af13-b3a99ab4f27e",
      "name": "Testing",
      "status": "ACTIVE",
      "balance": 640,
      "createdAt": "2024-02-28T15:07:26.889Z",
      "updatedAt": "2024-03-06T17:28:18.356Z"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

Activate

The response is of type object.