1. Approval Statuses

Check product approval statuses based on payment

GET {{Base Adres}}/api/paywall/marketplace/report/approval

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

Parameter
Type
Compolsory
Description

apikeypublic

string

Yes

Public Key obtained from the merchant panel.

apiclientpublic

string

Yes

Public Client obtained from the merchant panel.

paymentid

int

Yes

Payment ID information in Paywall

Response returned from the service:

Parameter
Compolsory
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, and it supports localization based on the locale parameter.

Body

object

Detailed information about the transaction

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "Approved": [],
        "NotApproved": [
            {
                "ProductId": 1626240
            },
            {
                "ProductId": 1626241
            },
            {
                "ProductId": 1626242
            },
            {
                "ProductId": 1626243
            },
            {
                "ProductId": 1626244
            },
            {
                "ProductId": 1626245
            },
            {
                "ProductId": 1626246
            }
        ]
    }
}

Last updated