1. Fetch Earnings

Under the marketplace scope, 'Platform' earnings pending in the pool can be viewed through this service. The service allows queries with a maximum range of 40 days.

Fetch Earnings

GET {{Base Adres}}/api/paywall/marketplace/manual/trigger/pending

Important: To use the Fetch Earnings in Pool service, you must include the parameters apikeypublic and apiclientpublic in the Header section. PaymentAPI Address

Parameter
Type
Compolsory
Descripition

apikeypublic

string

Yes

The Public Key obtained from the merchant panel.

apiclientpublic

string

Yes

The Public Client you obtained from the merchant panel.

datefrom

DateTime

Yes

Payout start date

Format: yyyy-MM-dd

dateto

DateTime

Yes

Payout end date

Format: yyyy-MM-dd

currencyid

short

Yes

Response returned by the service:

Parameter
Type
Description

ErrorCode

int

Error code. Returns a value of '0' if the operation is successful.

Result

bool

Returns a value of either true or false. Returns 'true' if the operation is successful.

Message

string

If the operation fails, this is the error message provided. It supports localization based on the locale parameter.

Body

object

Operation detail information

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "DateFrom": "2024-07-01T00:00:00",
        "DateTo": "2024-07-04T00:00:00",
        "Earning": 0.0,
        "Count": 0 // Toplam kaç hakediş kaydı beklemede
    }
}

Last updated