2. Add Value/Commission
Add Value/Commission Setting (Also updates the existing one)
POST
{{MemberBaseAddress}}/api/paywall/member/valuedate
Parameter | Type | Mandatory | Description |
---|---|---|---|
apikeypublic | string | Yes | The Public Key obtained from the merchant panel. |
apiclientpublic | string | Yes | The Public Client obtained from the merchant panel. |
The parameters that need to be sent to the service are as follows:
Parameter | Type | Mandatory | Description |
---|---|---|---|
MemberId | int | Yes | The member's ID information in PayWall. |
CalculationType | int | Yes | Progress billing calculation type. You can access more detailed information from the system data field. |
CalculationValue | int | Yes | Progress billing calculation value. You can access more detailed information from the system data field. |
Commission | decimal | Yes | The commission value to be applied to the sub-member business during progress billing calculation. |
Sample to be sent to the service JSON and sample codes is as follows
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 |
Last updated