1. Fetch Profit

Fetch profit information with an Id

GET {{PaymentBaseAddress}}/api/paywall/marketplace/report/earning/id

Important: In order to use the Gain Based on ID service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' field. PaymentAPI Address

ParameterTypeMandatoryDescription

apikeypublic

string

Yes

The Public Key obtained from the merchant panel.

apiclientpublic

string

Yes

The Public Client obtained from the merchant panel.

earningid

int

Yes

Kazancın Id (Kimlik) bilgisi

Servisten dönen cevap:

ParameterTypeDescription

ErrorCode

int

Hata kodu. İşlem başarılı ise '0' değerini döner.

Result

bool

True ya da false değeri döner. İşlem başarılı iste 'true' değerini döner.

Message

string

İşlem hatalıysa, bu hataya dair belirtilen mesajdır, locale parametresine göre dil desteği sunar.

Body

object

İşlem detay bilgileri

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "Id": 2104,
        "ProductId": 2114065,
        "MerchantId": 2071,
        "MemberId": 148,
        "IsSubMerchant": false,
        "Earning": 0.00,
        "ReflectionDate": "2023-09-17T00:00:00",
        "EarningStatusId": 1
    }
}

Last updated