Read billing state for private or pooled-sync work.
GET
/v1/api/billing/jobs/{job_id}
Authentication
API Key (header: X-B3IQ-Customer-ID) API Key (header: X-B3IQ-Customer-Token)
Path Parameters
job_id
string
required
path
Responses
200
Authenticated billing status without encrypted request/response bodies.
application/jsonjob_id
string
work_type
string
node_id
string
model_id
string
status
string
error
string | null
A string value or null.
Any of:
Option 1string
Option 2null
receipt_hash
string | null
A string value or null.
Any of:
Option 1string
Option 2null
billing
object | null
Metering record for the job, or null when the row carries no customer.
One of:
Option 1
customer_id
string
policy_version
string
quoted_price_wei
string
reserved_price_wei
string
payout_price_wei
string
status
string
Option 2null
webhook
object | null
One of:
Option 1
url
string (uri)
status
string | null
A string value or null.
Any of:
Option 1string
Option 2null
attempts
integer
last_error
string | null
A string value or null.
Any of:
Option 1string
Option 2null
next_attempt_at
string | null
A string value or null.
Any of:
Option 1string
Option 2null
last_attempt_at
string | null
A string value or null.
Any of:
Option 1string
Option 2null
delivered_at
string | null
A string value or null.
Any of:
Option 1string
Option 2null
Option 2null
created_at
string (date-time)
claimed_at
string | null
A string value or null.
Any of:
Option 1string
Option 2null
completed_at
string | null
A string value or null.
Any of:
Option 1string
Option 2null
default
B3IQ-native problem response.
curl -X GET 'https://b3iq.org/v1/api/billing/jobs/string' \ -H 'X-B3IQ-Customer-ID: YOUR_API_KEY'
const response = await fetch('https://b3iq.org/v1/api/billing/jobs/string', { method: 'GET', headers: { "X-B3IQ-Customer-ID": "YOUR_API_KEY" }});const data = await response.json();console.log(data);
200
Response
{ "job_id": "<string>", "work_type": "<string>", "node_id": "<string>", "model_id": "<string>", "status": "<string>", "error": "<string>", "receipt_hash": "<string>", "billing": { "customer_id": "<string>", "policy_version": "<string>", "quoted_price_wei": "<string>", "reserved_price_wei": "<string>", "payout_price_wei": "<string>", "status": "<string>" }, "webhook": { "url": "<uri>", "status": "<string>", "attempts": 123, "last_error": "<string>", "next_attempt_at": "<string>", "last_attempt_at": "<string>", "delivered_at": "<string>" }, "created_at": "2024-01-01T00:00:00Z", "claimed_at": "<string>", "completed_at": "<string>"}
API Playground
Try this endpoint
GET
/v1/api/billing/jobs/{job_id}

