5. Search for Member

Search for Member

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

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

The header information sent to the service is as follows:

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.

memberid

int

Yes/No

The member's Id information in Paywall.

memberexternalid

int

Yes/No

The member's ID information in

your system.

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

nesne

Transaction information

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "Id": 15,
        "IsSubMerchant": true,
        "MemberType": 3,
        "MemberExternalId": "111aa1113551",
        "MemberName": "Intranet Technology",
        "MemberTitle": "Intranet Technology Yazılım A.S",
        "MemberTaxOffice": "Besiktas",
        "MemberTaxNumber": "*6*1*7*9*5",
        "MemberIdentityNumber": "",
        "MemberEmail": "member@paywall.one",
        "MemberPhone": "5554443322",
        "MemberAddress": "test adresi",
        "ContactName": "Member Name",
        "ContactLastname": "Lastname",
        "BankAccounts": [
            {
                "Id": 26,
                "CurrencyId": 1,
                "Currency": "TRY",
                "Title": "Enes Selman Tütüncü",
                "Iban": "TR370006400000123456789876"
            }
        ],
        "ValueDate": {
            "Id": 17,
            "CalculationType": 1, // PlusDay, onay sonrası value kadar gün sonrası
            "CalculationValue": 10, // Onay'dan 10 gün sonrası
            "Commission": 10.00 // %10
        },
        "InsertDateTime": "2023-06-29T15:32:52.570869",
        "UpdateDateTime": "0001-01-01T00:00:00"
    }
}

Last updated