1. Payments
POST
{{Base Address}}/api/payment/list
It will be sufficient to send a request to the address provided above. You can use the 'Base Address' as desired for both the test environment and the production environment.
The header information that needs to be sent to the service is as follows:
apikeyprivate
string
Yes
The Private Key obtained from the merchant panel.
apiclientprivate
string
Yes
The Private Client obtained from the merchant panel.
The body information that needs to be sent to the service is as follows:
{
"pageIndex": 0,
"pageSize": 10,
"startDate": "2024-12-23",
"endDate": "2024-12-30"
}
Response returned from the service:
Result
object
Returns the information in the details of the service.
ErrorCode
int
Error code. Returns the value '0' if the transaction is successful.
Succeeded
bool
Returns a true or false value. Returns 'true' if the transaction is successful.
Failed
bool
Returns a true or false value. Returns 'true' if the transaction is unsuccessful.
Message
string
If the transaction is erroneous, this is the message related to the error. It provides language support based on the locale parameter.
ClientMessage
string
Returns the fixed values of the Paywall error codes. You can perform mapping.
{
"Result": {
"Items": [
{
"Id": "8850e51c-b09a-43fd-855f-83c4037cce45",
"TerminalId": "38e895c3-1a9a-4b73-8816-8557d1d031d6",
"ConnectionId": "70b2190b-e47b-455f-b05e-8c132a05534c",
"ConnectionName": "Varsayılan 1",
"ProviderId": 20,
"ProviderName": "Vepara",
"BrandId": 10,
"BrandName": "Pavo",
"RegionId": 1,
"RegionName": "Turkey",
"MerchantUniqueCode": "432e795d-1a69-4461-97c8-ebaab658ff55",
"DisplayCode": "İndirimli Hizmet",
"Amount": 1.44,
"PaymentChannelId": 1,
"PaymentChannelName": "Async",
"CurrencyId": 1,
"CurrencyName": "TRY",
"IP": "::1",
"PaymentRequestActivityId": "0f7dc0c2-8b3f-466e-b646-22b23e1fa052",
"PaymentTypeId": 1,
"PaymentTypeName": "Sale",
"PaymentStatusId": 2,
"PaymentStatusName": "SentToDevice",
"Date": "2024-09-02T19:33:06.199765"
}
],
"Pagination": {
"CurrentPage": 0,
"PageCount": 1,
"PageSize": 10,
"TotalCount": 1
}
},
"Failed": false,
"Message": null,
"ClientMessage": null,
"Succeeded": true
}
Last updated