These docs are for v1.0. Click to read the latest docs for v3.

Subscriptions API

Get all subscriptions data

Response Params

URL Parameters

Type

Description

id

text

Customer id

customer_id

text

Ecommerce customer id

status

enum

"Active" = subscription’s running state
"Trial" = subscription’s trial period
"Halted" = the status is set when the system fails to renew the subscription
"Paused" = the status is set by admin for no action to be performed on the subscription
"Cancelled" = subscription cancelled state

plan

object

The plan which is subscribed to

order_payload

object

The order payload to be passed to create order

payment

object

The payment detail of the subscription

payment_link_activity

object

The payment link details when the subscription is in halted state

orders

object

All the order of the subscription

subscribed_at

datetime

The subscription starting date

last_renewal

datetime

The subscription’s previous renewed date

next_renewal

datetime

The subscription’s next renewal date

renews_left

number

The subscription’s auto expiry count

address

object

Shipping address of the subscription

cancellation

object

Cancel details of the subscription

created_at

datetime

Plan created date

updated_at

datetime

Plan recent updated date

order_payload [line_items][line_items]

object

Ecommerce order payload

order_payload [shipping_line][shipping_line]

object

shipping details of ecommerce if exist

order_payload [note]

text

order note for the ecommerce order

order_payload [note_attributes][note_attributes]

object

order attributes for the ecommerce order

payment [gateway]

text

Payment gateway name

payment [payment_mode][payment_mode]

text

Payment mode detail

payment [recurring]

boolean

Recurring debit eligibility for the payment

payment_link_activity [url]

text

Subscription renewal link

payment_link_activity [clicks]

number

Number of times the link has been accessed

payment_link_activity [status]

text

"Issued" = on generating the link, "Paid" = on successful renewal

address[first_name][first_name]

text

Customer first name

address[last_name][last_name]

text

Customer last name

address[address1]

text

Customer address

address[city]

text

Customer city

address[province]

text

Customer province

address[zip]

text

Customer zip

address[phone]

text

Customer phone

address[country]

text

Customer country

cancellation[status]

boolean

The status whether subscription is cancelled or not

cancellation[cancelled_at][cancelled_at]

datetime

Subscription cancelled date

cancellation[cancelled_reason][cancelled_reason]

text

Subscription cancelled reason

Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!