API Playground
Test Pine Labs API endpoints with real requests. All endpoints are loaded dynamically from the OpenAPI specification.
Authentication
Orders
Refunds
Settlements
Split Settlements
Checkout
Payment Links
Card Payments
UPI Payments
NetBanking
Wallet
Pay by Points
E-Challans
Apple Pay
International Payments
Customers
Tokenization
Payouts
Affordability Suite
BNPL
Convenience Fee
Payment Option
Brand Wallet
Brand Wallet Payments
Subscriptions - Plans
Subscriptions - Subscriptions
Subscriptions - Presentations
UPI Reserve Pay
108 endpoints from openapi.yaml
Compute TCS
Computes Tax Collected at Source (TCS) for LRS (Liberalised Remittance Scheme) cross-border orders. **When to use:** - **Amount exceeds TCS slab threshold** — The transaction amount is greater than the configured slab threshold (e.g., ₹10,00,000) for the current financial year. - **Customer declares TCS voluntarily (`is_tcs_declared: true`)** — The customer has intentionally declared TCS even when the current transaction amount is below the slab threshold. This is applicable when the customer has already exceeded the slab threshold across multiple transactions in the current financial year. **Note:** This API is only applicable for orders with `flow_type: LRS`. It will return an error for non-LRS purpose code orders.
https://pluraluat.v2.pinepg.in/api/v1/tcs/computeorder_idstringrequiredThe order ID for which TCS needs to be computed. Must be a valid cross-border order belonging to the merchant.
amountobjectrequired2 nested fieldsThe amount on which TCS should be calculated.
valueintegerrequiredint64Amount in paisa (smallest currency unit). Must be greater than 0.
currencystringrequiredCurrency code. Must be INR.
is_tcs_declaredbooleanSet to true when the customer voluntarily declares TCS. When true, the full amount is taxed at the applicable TCS rate, bypassing the threshold deduction. Defaults to false.
