POST
/
merchants
/
accounts
/
activate
cURL
curl -X POST "https://dev.api.onekhusa.com/sandbox/v1/merchants/accounts/activate" \
  --header "Authorization: Bearer your-jwt-token" \
  --header "Content-Type: application/json" \
  --header "Accept-Language: en" \
  -d '{
    "merchantAccountNumber": 35253486,
    "changedBy": "johndoe@example.com",
    "comments": "Merchant account reactivated after compliance review",
    "reasonId": 1
  }'
"Merchant account has been activated successfully"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer Token, Where accessToken is the access token used to authenticate the request.

Headers

Accept-Language
string
default:en

Preferred language for the response

Body

application/json
merchantAccountNumber
integer
required

The unique identifier of the merchant account to activate

Example:

35253486

changedBy
string<email>
required

Email address of the user activating the merchant

Example:

"johndoe@example.com"

reasonId
integer
required

The unique identifier of the reason category for this status change

Example:

1

comments
string

Additional comments or notes about the activation

Example:

"Merchant account reactivated after compliance review"

Response

200 - application/json

OK - Merchant successfully activated

The response is of type string.

Example:

"Merchant account has been activated successfully"