get_subscription_details
Type: query
The type of subscription for the Monarch Money account.
Signature
async def get_subscription_details(
# No parameters
) -> Dict[str, Any]
Example
from monarchmoney import MonarchMoney
mm = MonarchMoney()
await mm.login(email, password)
result = await mm.get_subscription_details()
print(result)
GraphQL Operation
Operation Name: GetSubscriptionDetails
GraphQL Query
query GetSubscriptionDetails {
subscription {
id
paymentSource
referralCode
isOnFreeTrial
hasPremiumEntitlement
__typename
}
}
Try It Out
To test this API method locally:
- Install the package:
pip install monarchmoney - Create a Python script with the example code above
- Replace
emailandpasswordwith your Monarch Money credentials - Run the script
See the Authentication Guide for details on logging in.