curl --request GET \
--url https://api.example.com/creditsGet your organization’s credit balance.
curl --request GET \
--url https://api.example.com/creditscurl -X GET "https://api.mosaic.so/credits" \
-H "Authorization: Bearer mk_your_api_key"
{
"organization_id": "d808af70-fc57-4f90-95ca-186a9cbf2ef7",
"credits": {
"balance": 1840,
"unlimited": false,
"usage": 660,
"included_usage": 2500,
"next_reset_at": null
},
"plan": "creator"
}
Was this page helpful?