Pine LabsDOCS

API Playground

Test Pine Labs API endpoints with real requests. All endpoints are loaded dynamically from the OpenAPI specification.

Calculate Convenience Fee

Calculate the convenience fee for a payment against an order based on the payment method and amount.

POSThttps://pluraluat.v2.pinepg.in/api/v1/fees
Required
Request Body (editable JSON)
Request Body Schemarequired
FieldDetails
amount
objectrequired2 nested fields

Monetary amount with currency.

value
integerrequired

Amount in the smallest currency unit (e.g., paisa for INR).

Constraints
Minimum value: 100Maximum value: 50000000000
currency
stringrequired

Three-letter ISO 4217 currency code.

Constraints
Default value: INR
payment_method
stringrequired

Payment method for fee calculation.

network_type
string

Card network type for more specific fee calculation.