Skip to main content
POST
/
api
/
v1
/
billing
/
grant-free-prepaid-credits
Grant free prepaid credits (super_admin)
curl --request POST \
  --url https://api.callaro.ai/api/v1/billing/grant-free-prepaid-credits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accountable_type": "Partner",
  "accountable_id": "<string>",
  "amount": 123,
  "description": "<string>",
  "issue_zero_value_invoice": true
}
'
{
  "data": {},
  "message": "<string>",
  "meta": {},
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
accountable_type
enum<string>
required
Available options:
Partner,
Tenant
accountable_id
string
required
amount
number
required
description
string
issue_zero_value_invoice
boolean

Response

Granted

data
object
message
string | null
meta
object
request_id
string | null