Billing
Org balance + recent transactions
Authorization
apiKey AuthorizationBearer <token>
OpenRelay API key. Send it as Authorization: Bearer vl_….
In: header
Path Parameters
orgId*string
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/orgs/string/billing/balance"{
"balanceCents": 0,
"availableCents": 0,
"accruedUsageCents": 0,
"transactions": [
{
"id": "string",
"type": "string",
"source": "string",
"amountCents": 0,
"description": "string",
"createdAt": "string"
}
]
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}