getSubscriptionOrNull

open suspend override fun getSubscriptionOrNull(skuId: Snowflake, subscriptionId: Snowflake): Subscription?(source)

Requests a Subscription by its id. Returns null if it wasn't found.

Throws

RequestException

if something went wrong during the request.