Retrieve user subscription
A user should be able to get his subscription information.
For FULL API access
users, this endpoint could be used to see the current balance and the activation status of the automatic renewal.
The user should be logged in.
GET https://api.tradingpartners.ai/api/v1/users/subscription
Get users/subscription response object
Attributes
subscription - string enum
Current subscription plan of the user
FREE
- Free API accessFULL
- Full API access
balance - number fmt:uint64
User current balance.
automaticRenewal - boolean
When a FULL API access
user run out of credits, if set to true
the user will be automatically debited to renew his subscription.