Skip to main content

getSubscription

Get an active subscription associated with the key. It can be fiat or crypto.

Path Parameters
network integer REQUIRED

Network id.

lockAddress string REQUIRED

Lock address.

keyId string REQUIRED

Key Id.

Responses
200

Any active subscription.

Schema OPTIONAL
subscriptions object[] OPTIONAL
next number OPTIONAL
balance object OPTIONAL
symbol string OPTIONAL
amount string OPTIONAL
decimals number OPTIONAL
price object OPTIONAL
symbol string OPTIONAL
amount string OPTIONAL
decimals number OPTIONAL
approvedRenewals string OPTIONAL

Approved number of renewals by user.

possibleRenewals string OPTIONAL

Possible number of renewals based on the user account balance.

type OPTIONAL

Possible values: [crypto, fiat]

The type of payment method used for the subscription.

401

User is not authenticated.

Schema OPTIONAL
message string OPTIONAL