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
Create Subscription
Creates a new subscription against an existing plan. The subscription defines the recurring billing cycle for a customer based on the selected plan's pricing and frequency.
https://pluraluat.v2.pinepg.in/ps/api/v1/public/subscriptionsmerchant_subscription_referencestringrequired**Idempotency Key.** Unique identifier of the merchant subscription reference. Duplicate requests with the same `merchant_subscription_reference` will return the existing subscription instead of creating a new one.
plan_idstringrequiredUnique identifier for the subscription plan.
enable_notificationbooleanIndicates if notifications are enabled.
start_datestringrequireddate-timeThe ISO 8601 UTC Timestamp when the subscription starts.
end_datestringrequireddate-timeThe ISO 8601 UTC Timestamp when the subscription expires.
customer_idstringrequiredUnique identifier of the customer in the Pine Labs Online database.
allowed_payment_methodsstring[]The type of payment methods you want to offer customers.
CARDUPIPOINTSNETBANKINGWALLETintegration_modestringrequiredType of integration.
SEAMLESSREDIRECTmerchant_metadataobjectKey-value pairs for additional information. Max 10 pairs, 256 chars each.
is_tpv_enabledbooleanIndicates if Third-Party Validation (TPV) is enabled.
bank_accountobject3 nested fieldsBank account details for Third-Party Validation (TPV).
account_numberstringnullableBank account number.
namestringnullableName of Customer.
ifscstringnullableIFSC code of the bank account.
callback_urlstringURL to redirect customers to specific success or failure pages.
failure_callback_urlstringURL specifically used to redirect customers to a failure page.
