Get $1 free credits and try all models with one API
cURL
curl --request GET \ --url https://api.us.babysea.ai/v1/billing \ --header 'Authorization: Bearer <token>'
{ "status": "success", "request_id": "<string>", "message": "<string>", "timestamp": "2023-11-07T05:31:56Z", "data": { "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "billing_credit_balance": 123, "billing_plan": "<string>", "billing_subscription_status": "active", "billing_cancel_at_period_end": true, "billing_currency": "<string>", "billing_period_starts_at": "2023-11-07T05:31:56Z", "billing_period_ends_at": "2023-11-07T05:31:56Z", "billing_created_at": "2023-11-07T05:31:56Z", "billing_updated_at": "2023-11-07T05:31:56Z" } }
BabySea API key - prefix bye_ followed by a random string
Billing data retrieved successfully
Response envelope
Always success
success
Unique request identifier (UUID v4)
Success message
Response timestamp (ISO 8601)
Show child attributes
Was this page helpful?