curl --request PUT \
  --url https://api.nomba.com/v1/accounts/suspend/{accountId} \
  --header 'Authorization: Bearer <token>' \
  --header 'accountId: <accountid>'
{
  "code": "00",
  "description": "Success",
  "data": true
}

You can neither suspend nor reactivate the parent account. The parent account is the account directly tied to your business. You can only suspend accounts that you created via the API or your Nomba dashboard

PUT /v1/accounts/suspend/{accountId}

Suspending Accounts

Path parameters

accountId
string

Account ID of the account to be suspended.

Response body

code
string
required

Response code

description
string
required

Response description

data
boolean
required

Is account suspended?

PUT /v1/accounts/reactivate/{accountId}

Reactivating Accounts

Request body

accountId
string

Account ID of the account to be reactivated.

Response body

code
string
required

Response code

description
string
required

Response description

data
boolean

Is account reactivated?