# 1. Bring Value/Commission

## Retrieve/Set Value/Commission Setting

<mark style="color:blue;">`GET`</mark> `{{MemberBaseAddress}}/api/paywall/member/valuedate`

{% hint style="info" %}
**Important**: In order to use the member service, you need to send the '**apikeypublic**' and '**apiclientpublic**' parameters in the 'Header' field.\
\
[<mark style="color:green;">**MemberAPI**</mark> ](https://developer.paywall.one/payment-orchestration-integration-document/environment)[<mark style="color:green;">**Address**</mark>](https://developer.paywall.one/payment-orchestration-integration-document/environment)
{% endhint %}

**The header information sent to the service is as follows:**

<table><thead><tr><th width="175">Parameter</th><th width="94">Type</th><th width="139">Compulsory</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>The Public Key obtained from the merchant panel.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>The Public Client obtained from the merchant panel.</td></tr><tr><td>memberid</td><td>int</td><td>Yes</td><td>The Member's Id information in the Paywall.</td></tr></tbody></table>

**The parameters returned from the service are as follows:**

<table><thead><tr><th width="189">Parameter</th><th width="100.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>ErrorCode</td><td>int</td><td>Error code. If the transaction is successful, it returns a value of '0'.</td></tr><tr><td>Result</td><td>bool</td><td>It returns a value of 'true' for success and 'false' otherwise.</td></tr><tr><td>Message</td><td>string</td><td>If the transaction is unsuccessful, this is the error message specified, providing language support based on the 'locale' parameter.</td></tr><tr><td>Body</td><td>object</td><td>Transaction details information</td></tr></tbody></table>

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

```json
{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "Id": 17, // Id information in Paywall
        "CalculationType": 1, // MarketPlace Progress Payment Calculation Type
        "CalculationValue": 10, // MarketPlace Progress Calculation Value
        "Commission": 10.00 // MarketPlace Merchant Sales Commission
    }
}
```

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