Learn how to query an account's app monetization status using the monday.com platform API
The monday.com framework utilizes apps monetization to accept and process payments within the platform itself.
Queries
Querying apps_monetization_status
will return metadata about whether or not an account supports monetization. This method does not accept any arguments and returns a boolean.
You can only query apps_monetization_status
directly at the root, so it can't be nested within another query.
query {
apps_monetization_status {
is_supported
}
}
let query = "query { apps_monetization_status { is_supported } }";
fetch ("https://api.monday.com/v2", {
method: 'post',
headers: {
'Content-Type': 'application/json',
'Authorization' : 'YOUR_API_KEY_HERE'
},
body: JSON.stringify({
query : query
})
})
.then(res => res.json())
.then(res => console.log(JSON.stringify(res, null, 2)));
Fields
You can use the following field(s) to specify what information your apps_monetization_status
query will return.
Field | Description |
---|---|
is_supported Boolean! | Returns true if the account supports app monetization. |
Join our developer community!
We've created a community specifically for our devs where you can search through previous topics to find solutions, ask new questions, hear about new features and updates, and learn tips and tricks from other devs. Come join in on the fun! 😎