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
subscriptions object[]
next number
balance object
symbol string
amount string
decimals number
price object
symbol string
amount string
decimals number
approvedRenewals string

Approved number of renewals by user.

possibleRenewals string

Possible number of renewals based on the user account balance.

type

Possible values: [crypto, fiat]

The type of payment method used for the subscription.

401

User is not authenticated.

Schema
message string