GET
/
subscriptions
/
{subscription_id}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

subscription_id
string
required

Subscription Id

Response

200 - application/json

Response struct representing subscription details

created_at
string
required

Timestamp when the subscription was created

currency
enum<string>
required
Available options:
AED,
ALL,
AMD,
ANG,
AOA,
ARS,
AUD,
AWG,
AZN,
BAM,
BBD,
BDT,
BGN,
BHD,
BIF,
BMD,
BND,
BOB,
BRL,
BSD,
BWP,
BYN,
BZD,
CAD,
CHF,
CLP,
CNY,
COP,
CRC,
CUP,
CVE,
CZK,
DJF,
DKK,
DOP,
DZD,
EGP,
ETB,
EUR,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GTQ,
GYD,
HKD,
HNL,
HRK,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LYD,
MAD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MRU,
MUR,
MVR,
MWK,
MXN,
MYR,
MZN,
NAD,
NGN,
NIO,
NOK,
NPR,
NZD,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
RWF,
SAR,
SBD,
SCR,
SEK,
SGD,
SHP,
SLE,
SLL,
SOS,
SRD,
SSP,
STN,
SVC,
SZL,
THB,
TND,
TOP,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
USD,
UYU,
UZS,
VES,
VND,
VUV,
WST,
XAF,
XCD,
XOF,
XPF,
YER,
ZAR,
ZMW
customer
object
required
metadata
object
required
next_billing_date
string
required

Timestamp of the next scheduled billing

payment_frequency_count
integer
required

Number of payment frequency intervals

payment_frequency_interval
enum<string>
required
Available options:
Day,
Week,
Month,
Year
product_id
string
required

Identifier of the product associated with this subscription

quantity
integer
required

Number of units/items included in the subscription

recurring_pre_tax_amount
integer
required

Amount charged before tax for each recurring payment in smallest currency unit (e.g. cents)

status
enum<string>
required
Available options:
pending,
active,
on_hold,
paused,
cancelled,
failed,
expired
subscription_id
string
required

Unique identifier for the subscription

subscription_period_count
integer
required

Number of subscription period intervals

subscription_period_interval
enum<string>
required
Available options:
Day,
Week,
Month,
Year
trial_period_days
integer
required

Number of days in the trial period (0 if no trial)