POST
/
merchants
/
bankAccounts
/
activate
cURL
curl -X POST "https://dev.api.onekhusa.com/sandbox/v1/merchants/bankAccounts/activate" \
  --header "Authorization: Bearer your-jwt-token" \
  --header "Content-Type: application/json" \
  --header "Accept-Language: en" \
  -d '{
    "accountId": 42,
    "changedBy": "johndoe@example.com"
  }'
"Merchant bank 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
accountId
integer
required

The unique identifier of the settlement account to activate. See Get Settlement Accounts for available account IDs.

Example:

42

changedBy
string<email>
required

Email address of the user activating the settlement account

Example:

"johndoe@example.com"

Response

200 - application/json

OK - Settlement account successfully activated

message
string
Example:

"Merchant bank account has been activated successfully"