4. Members

Member List

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

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.

start

int

Yes

Determines from which record the list will start bringing in members.

length

int

Yes

Determines from which record the list will start bringing how many members.

The parameters returned from the service are as follows:

ParameterTypeDescription

ErrorCode

int

Error code. Returns '0' if the operation is successful.

Result

bool

Returns a 'true' or 'false' value. It returns 'true' if the operation is successful.

Message

string

If the operation is erroneous, this message is specific to the error and provides language support based on the 'locale' parameter.

Body

nesne

Contains the list of merchant members.

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": [
        {
            "Id": 14,
            "IsSubMerchant": true,
            "MemberType": 1,
            "MemberExternalId": "111aa11135552244413",
            "MemberName": "Intranet Technology",
            "MemberTitle": "Intranet Technology Yazılım A.S",
            "MemberTaxOffice": "Besiktas",
            "MemberTaxNumber": "",
            "MemberIdentityNumber": "*1*1*1*1*1*",
            "MemberEmail": "member@paywall.one",
            "MemberPhone": "5554443322",
            "MemberAddress": "test adresi",
            "ContactName": "Member Name",
            "ContactLastname": "Lastname",
            "BankAccounts": [
                {
                    "Id": 24,
                    "CurrencyId": 2,
                    "Currency": "USD",
                    "Title": "Member Title A.S",
                    "Iban": "TR370006400000123456789876"
                },
                {
                    "Id": 25,
                    "CurrencyId": 3,
                    "Currency": "EUR",
                    "Title": "Member Title A.S",
                    "Iban": "TR370006407890987654312345"
                }
            ],
            "ValueDate": {
                "Id": 16,
                "CalculationType": 3, // Her ayın 1 günü
                "CalculationValue": 28, // 28. gün
                "Commission": 10.00 // %10 komisyon
            },
            "InsertDateTime": "2023-06-28T16:55:41.070934",
            "UpdateDateTime": "0001-01-01T00:00:00"
        }
    ]
}

Last updated