APIUpdate Merchant Account

Update Merchant Account

Update an existing merchant account's status.

PATCH/v2/projects/{project_id}/merchant-accounts/{merchant_account_id}

Authorization

Bearer TokenRequired

Path Parameters

project_idstringRequired

The unique identifier of the project.

merchant_account_idstringRequired

The unique identifier of the merchant account.

Request Body

activebooleanRequired

Enable or disable the merchant account.

Request
curl -X PATCH "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/merchant-accounts/11111111-1111-1111-1111-111111111111" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "active": false
  }'
Merchant account updatedapplication/json

No response body is returned on successful update.

Last updated: