1. Product List

You can access the list of products sent during payment in Paywall through this service. If you have not provided the Paywall ID information for each product, this service will return the list for you

List Products in Payment

GET {{Base Adres}}/api/paywall/product

Important: To use the Product List service, you must include the apikeyprivate and apiclientprivate parameters in the Header section. PaymentAPI Address

Parameter
Type
Compolsory
Description

apikeyprivate

string

Yes

Private Key obtained from the merchant panel.

apiclientprivate

string

Yes

Private Client obtained from the merchant panel.

paymentid

int

Yes

Payment's 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, and it supports localization based on the locale parameter.

Body

object

Detailed information about the transaction

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": [
        {
            "Id": 2114065,
            "MemberId": 0,
            "ProductId": null,
            "ProductName": "ProductName",
            "ProductCategory": "ProductCategory",
            "ProductDescription": "ProductDescription",
            "ProductAmount": 100.00,
            "IsMarketPlaceSales": true,
            "Cargo": {
                "CurrencyId": 0,
                "CargoOwnerType": 1,
                "CargoCost": 120.00
            },
            "Discount": {
                "DiscountOwnerType": 1,
                "DiscountType": 1,
                "DiscountValue": 10.00
            }
        }
    ]
}

Last updated