1. Bring Value/Commission

Retrieve/Set Value/Commission Setting

GET {{MemberBaseAddress}}/api/paywall/member/valuedate

Important: In order to use the member service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' field. MemberAPI Address

The header information sent to the service is as follows:

ParameterTypeMandatoryDescription

apikeypublic

string

Yes

The Public Key obtained from the merchant panel.

apiclientpublic

string

Yes

The Public Client obtained from the merchant panel.

memberid

int

Yes

The Member's Id information in the Paywall.

The parameters returned from the service are as follows:

ParameterTypeDescription

ErrorCode

int

Error code. If the transaction is successful, it returns a value of '0'.

Result

bool

It returns a value of 'true' for success and 'false' otherwise.

Message

string

If the transaction is unsuccessful, this is the error message specified, providing language support based on the 'locale' parameter.

Body

object

Transaction details information

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "Id": 17, // PayWall'daki Id bilgisi
        "CalculationType": 1, // MarketPlace Hakediş Hesaplama Tipi
        "CalculationValue": 10, // MarketPlace Hakediş Hesaplama Değeri
        "Commission": 10.00 // MarketPlace Üye İşyeri Satış Komisyonu
    }
}

Last updated