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:

Parameter
Type
Compulsory
Description

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:

Parameter
Type
Description

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, // Id information in Paywall
        "CalculationType": 1, // MarketPlace Progress Payment Calculation Type
        "CalculationValue": 10, // MarketPlace Progress Calculation Value
        "Commission": 10.00 // MarketPlace Merchant Sales Commission
    }
}

Last updated