curl --request GET \
--url https://api.modelhunter.ai/api/v1/balance \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"balance": 45.00,
"billingMode": "prepaid",
"monthlySpendLimit": null,
"autoTopUpEnabled": false,
"autoTopUpThreshold": null,
"autoTopUpAmount": null
}
}
Retrieve your current account balance and billing details.
curl --request GET \
--url https://api.modelhunter.ai/api/v1/balance \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"balance": 45.00,
"billingMode": "prepaid",
"monthlySpendLimit": null,
"autoTopUpEnabled": false,
"autoTopUpThreshold": null,
"autoTopUpAmount": null
}
}
Show data properties
45.00).prepaid (top-up balance), postpaid (card on file, invoiced monthly).null if not set.null if not configured.null if not configured.{
"success": true,
"data": {
"balance": 45.00,
"billingMode": "prepaid",
"monthlySpendLimit": null,
"autoTopUpEnabled": false,
"autoTopUpThreshold": null,
"autoTopUpAmount": null
}
}