Skip to main content
GET
/
api
/
v1
/
billing-configs
/
{id}
Get billing config by ID
curl --request GET \
  --url https://dev-billing-api.iqraa.ai/api/v1/api/v1/billing-configs/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-admin-api-key: <x-admin-api-key>'
{
  "configKey": "timing_policy",
  "configValue": "immediate",
  "configCategory": "upgrade",
  "status": "active",
  "description": "Immediate Upgrade"
}

Authorizations

Authorization
string
header
required

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

Headers

x-admin-api-key
string
required

The API key to access the admin API

Path Parameters

id
string
required

The id of the billing config

Response

Returns the billing config

configKey
required

Config key - either a type or plan code

Available options:
timing_policy
configValue
required

Config value - either a type or grace period days

Available options:
immediate,
next_cycle
configCategory
string
required

Config key type (e.g. upgrade, downgrade, terminate)

Example:

"upgrade"

status
string
required

Status Type (e.g. active)

Example:

"active"

description
string
required

Description of the billing config

Example:

"Immediate Upgrade"