2. Update Member
Update Member
PUT
{{MemberBaseAddress}}/api/paywall/member
Parameter | Type | Mandatory | Description |
---|---|---|---|
apikeypublic | string | Yes | The Public Key obtained from the member business panel. |
apiclientpublic | string | Yes | The Public Client obtained from the member business panel." |
The parameters that need to be sent to the service are as follows:
Parameter | Type | Mandatory | Description |
---|---|---|---|
Id | int | Yes | The Id information of the member in PayWall. |
IsSubMerchant | boolean | Yes | Is the added member a sub-member business? |
MemberType | int | Yes/No | The type of member is a mandatory field if IsSubMerchant is sent as true. |
MemberExternalId | string | Yes | The Id information of the member in your system. |
MemberName | string | Yes | The nickname provided to the member by your side |
MemberTitle | string | Yes | The real name of the member. Company: Title Individual: First Name Last Name |
MemberTaxOffice | string | Yes/No | The tax office of the member. Mandatory if the member is of the company type |
MemberTaxNumber | string | Yes/No | The tax number of the member. Mandatory if the member is of the company type |
MemberIdentityNumber | string | Yes/No | The ID number of the member. Mandatory if the member is an individual or a sole proprietorship. |
MemberEmail | string | Yes | The email address of the member. |
MemberPhone | string | Yes | The phone number of the member. |
MemberAddress | string | Yes | The address of the member. |
ContactName | string | Yes | The contact name of the member. Mandatory if the member is an individual or a sole proprietorship. |
ContactLastname | string | Yes | The contact name of the member. Mandatory if the member is an individual or a sole proprietorship. |
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. It returns '0' if the transaction is successful. |
Result | bool | It returns either true or false. If the transaction is successful, it returns 'true'. |
Message | string | If the transaction is erroneous, this is the specified error message, providing language support based on the 'locale' parameter. |
Body | nesne | Transaction details |
Last updated