This PR fixes several type issues in the SubscriptionData interface.
The createdAt property is actually not optional. (see docs)
The canceledAt property of subscriptions is optional. (see docs) Note: This option currently is lacking the "OPTIONAL" flag in the docs. This should be fixed in the docs.
This PR fixes several type issues in the
SubscriptionData
interface.createdAt
property is actually not optional. (see docs)canceledAt
property of subscriptions is optional. (see docs) Note: This option currently is lacking the "OPTIONAL" flag in the docs. This should be fixed in the docs.method
can bestring
ornull
(see docs)applicationFee
property was missing completely.