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 a Subscription Plan
Creates a new subscription plan that serves as a reusable template defining the pricing structure, billing frequency, and payment terms. Plans must be created before subscriptions can be set up.
https://pluraluat.v2.pinepg.in/ps/api/v1/public/plansplan_namestringrequiredSubscription plan name.
plan_descriptionstringCorresponding description for a plan.
frequencystringrequiredFrequency of recurring transactions for this particular plan.
DayWeekMonthYearBi-MonthlyQuarterlyHalf-YearlyASOTNot Applicableamountobjectrequired2 nested fieldsThis is the recurring mandate amount, that would be charged for each frequency. For instance 200 every month. This field is not needed if the mandate frequency is AS
valueintegerrequiredAmount in the smallest currency unit (paisa for INR). Minimum ₹1 (100), maximum ₹10 lakh (100000000).
currencystringrequiredThree-letter ISO 4217 currency code.
max_limit_amountobjectrequired2 nested fieldsThis is maximum amount of mandate for which a subscription is created for. There could be instances where maximum amount of mandate is created with a buffer. For instance with AS frequency you are taking mandate for SIP, first month SIP is 100, second month 200 etc. In such cases you will create a mandate with higher max_limit_amount
valueintegerrequiredAmount in the smallest currency unit (paisa for INR). Minimum ₹1 (100), maximum ₹10 lakh (100000000).
currencystringrequiredThree-letter ISO 4217 currency code.
initial_debit_amountobject2 nested fieldsThis is initial debit amount on top of your recurring mandate amount. This is an optional field. For instance you want to create monthly 200 rupee mandate, but want to charge 20 rupees one time registration fee initially. You will utilize this field in such cases
valueintegerrequiredAmount in the smallest currency unit (paisa for INR). Minimum ₹1 (100), maximum ₹10 lakh (100000000).
currencystringrequiredThree-letter ISO 4217 currency code.
trial_period_in_daysintegerDuration of the trial period in days.
start_datestringdate-timeThe ISO 8601 UTC Timestamp when the subscription plan is active and available for use.
end_datestringrequireddate-timeThe ISO 8601 UTC Timestamp when the subscription plan expires.
merchant_metadataobjectKey-value pairs for additional information. Max 10 pairs, 256 chars each.
merchant_plan_referencestringrequired**Idempotency Key.** Unique identifier of the merchant plan reference. Duplicate requests with the same `merchant_plan_reference` will return the existing plan instead of creating a new one.
auto_debit_otstringIndicates whether auto-debit is enabled for one-time payments under the subscription plan.
