1. Get Earnings

Get earning details by Id

GET {{Base Adres}}/api/paywall/marketplace/report/earning/id

Important: To use the Earning By Id service, you must send the parameters apikeypublic and apiclientpublic in the request header. PaymentAPI Address

Parameter
Type
Compolsory
Description

apikeypublic

string

Yes

Public Key obtained from your merchant panel.

apiclientpublic

string

Yes

Public Client obtained from your merchant panel.

earningid

int

Yes

Earning ID information

Response returned from the service:

Parameter
Type
Description

ErrorCode

int

Error code. Returns '0' if the operation is successful.

Result

bool

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

Message

string

If the operation fails, this is the message describing the error, supporting localization based on the locale parameter.

Body

object

Detailed information about the transaction

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

Last updated