3. Delete Member

Delete Member

DELETE {{MemberBaseAddress}}/api/paywall/member

Important: To use the member service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' section.

MemberAPI Address

ParameterTypeMandatoryDescription

apikeypublic

string

Yes

The Public Key you obtained from the merchant panel.

apiclientpublic

string

Yes

The Public Client you obtained from the merchant panel.

The parameters that need to be sent to the service are as follows:

ParameterTypeMandatoryDescription

Id

int

Yes/No

The member's Id information in PayWall.

MemberExternalId

string

Yes/No

The member's Id information in your system.

Sample to be sent to the service JSON and sample codes is as follows:

{
    "Id": 14, // Id veya MemberExternalId
    "MemberExternalId": "" // MemberExternalId veya Id
}

The parameters returned from the service are as follows:

ParameterTypeDescription

ErrorCode

int

Error code. It returns '0' if the transaction is successful.

Result

bool

It returns a true or false value. If the transaction is successful, it returns 'true'.

Message

string

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

Body

Object

Transaction details

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": null
}

Last updated