# 9. Activate

## **Activate Commission**<br>

<mark style="color:yellow;">`POST`</mark>`{{WalletUrl}}/api/v1/commission/by/id/:id/activate`

{% hint style="info" %}
**Note:** To use this service, the **apikeypublic** and **apiclientpublic** parameters must be included in the Header field.

\
[<mark style="color:green;">**WalletAPI Address**</mark>](https://developer.paywall.one/payment-orchestration-integration-document/environment)
{% endhint %}

**The parameters to be sent to the service (Header) are as follows:**

<table><thead><tr><th width="162">Parameter</th><th width="79">Type</th><th width="107">Required</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>The general key used to provide API access.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>The public identification key specific to the API client.</td></tr></tbody></table>

{% tabs %}
{% tab title="Service Response - JSON" %}
{% code lineNumbers="true" %}

```json
{
    "Value": true,
    "Errors": [],
    "IsSuccess": true,
    "IsFailure": false
}
```

{% endcode %}
{% endtab %}
{% endtabs %}

## **Service Response**

<table><thead><tr><th width="192">Parameter</th><th width="147.89192708333331">Type	</th><th>Description</th></tr></thead><tbody><tr><td>IsFailure</td><td>bool</td><td>Indicates whether the operation was unsuccessful. If true, an error has occurred.</td></tr><tr><td>IsSuccess</td><td>bool</td><td>Indicates whether the operation was successful. If true, it has been completed successfully.</td></tr><tr><td>Errors</td><td>Array</td><td>A list containing the details of any errors that occurred.</td></tr><tr><td>Value</td><td>bool</td><td>The operation response.</td></tr></tbody></table>
