#CameronBryce-search-api
1 messages ยท Page 1 of 1 (latest)
active is a field on the Price object, as opposed to the Subscription object. It's only used to say whether the Price object can be used for new purchases
Sorry, I don't quite understand this part Price object can be used for new purchases ๐
And if that's not the proper way to do it, which value should I use instead to base my subscriptions on? It's for a Discord bot, nothing huge. Would it be the status instead? I'm just looking basically for a True/False if the subscription is paid for, then allow access. If that makes sense, the way I'm describing it.
"quantity": 1,
"schedule": null,
"start_date": 1660941268,
"status": "canceled",
"test_clock": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
}```
Yeah, you should use status instead
Okay, thank you ๐ Are there anymore values besides it being active or canceled by chance? If you're not sure, I can go find it. Figured to ask!
I'd recommend reading through this: https://stripe.com/docs/billing/subscriptions/overview#how-payments-work-subscriptions
There are a number of other things that status could be
Understood, thank you for your time ๐