4. Members
Member List
GET
{{MemberBaseAddress}}/api/paywall/member
The Header information sent to the service is as follows:
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:
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
object
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": "[email protected]",
"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, // Every first day of the month.
"CalculationValue": 28, // The 28th day
"Commission": 10.00 // 10% commission
},
"InsertDateTime": "2023-06-28T16:55:41.070934",
"UpdateDateTime": "0001-01-01T00:00:00"
}
]
}
Last updated