Pine LabsDOCS

API Playground

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

Create SBMD-Enabled Subscription

Endpoint used by CMS to create subscription with SBMD enabled

POSThttps://pluraluat.v2.pinepg.in/ps/public/subscriptions/sbmd
Required
Request Body (editable JSON)
Request Body Schemarequired
FieldDetails
merchant_subscription_reference
stringrequired

Unique reference ID for the subscription provided by the merchant

Constraints
Minimum length: 1 character
customer_id
stringrequired

Unique identifier for the customer associated with the subscription

plan_details
objectrequired4 nested fields
reserve_amount
integerrequired

Amount to be reserved

currency
stringrequired

Currency code for the subscription

Allowed values
INRUSD
validity_days
integerrequired

Validity of the subscription in days

Constraints
Minimum value: 1Maximum value: 365
description
stringrequired

Description of the SBMD Plan

callback_url
string

URL

expire_after
integer

duration after which subscription expires

Constraints
Minimum value: 1
terms_accepted
boolean

pending

Constraints
Default value: true
merchant_metadata
object

A key-value pair of merchant-specific metadata.

Constraints
Additional properties: string