Skip to Content
CallMitraDocs
Errors

payment_required

Your account does not have enough balance or an active plan for this request.

HTTP statusTypeCode
402billing_errorpayment_required

What it means

The workspace is out of credit or its plan does not cover this action. Top up the balance or upgrade the plan, then retry.

How to handle it

Top up the workspace balance or change the plan in the console, then retry.

Example response

{
  "detail": "Your account does not have enough balance or an active plan for this request.",
  "error": {
    "type": "billing_error",
    "code": "payment_required",
    "message": "Your account does not have enough balance or an active plan for this request.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/payment_required",
    "requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
  }
}

Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.

Returned by

  • POST /api/v1/leads/{lead_id}/call-now — Call a lead now
  • POST /api/v1/instant/call-now — Call a lead in a campaign now
  • POST /api/v1/agents/ — Create an agent
  • POST /api/v1/calls/ — Place a call
  • POST /api/v1/campaigns/ — Create an empty campaign
  • POST /api/v1/campaigns/create-with-leads — Create a campaign with its leads
  • POST /api/v1/agents/import — Import an agent from another platform
  • POST /api/v1/campaigns/{campaign_id}/start — Start a campaign
  • POST /api/v1/agents/{agent_id}/test-call — Place a test call
  • PUT /api/v1/campaigns/{campaign_id} — Update a campaign

On this page