Skip to main content
GET
Get Company Credit Account

Authorizations

Authorization
string
header
required

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

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Response

OK

Company credit account

companyCreditAccountId
string<uuid>
required
organizationId
string<uuid>
required
companyId
string<uuid>
required
purchasedAmount
integer
required
allocatedAmount
integer
required
availableAmount
integer
required
status
enum<string>
required
Available options:
ACTIVE,
SUSPENDED,
CLOSED
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
createdBy
string<uuid> | null
updatedBy
string<uuid> | null