1. Get Shipping Cost

You can check the shipping cost for the payment's product. Shipping details must be provided to Paywall either at the time of the payment request or afterward.

View Product Shipping Cost

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

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

Parameter
Type
Compolsory
Desciption

apikeyprivate

string

Yes

Private Key obtained from the merchant panel.

apiclientprivate

string

Yes

Private Client obtained from the merchant panel.

productid

int

Yes

Product 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": 466721,
        "CurrencyId": 1,
        "CargoOwnerType": 1,
        "CargoCost": 120.00
    }
}

Last updated