Skip to main content
GET /v1/organizations/{organizationId}/billing/credit Returns the credit the selected organization holds: on credit notes, such as the unused time of a plan an upgrade replaced or the unused days of a prorated fixed charge it released, and in its wallet: the credit Photon granted it, such as a new account’s first organization’s welcome credit, and any prepaid credit it bought. It offsets that organization’s invoices of any kind except one-off invoices, credit notes first. Reading it does not apply or change credit.
TypeScript

Parameters

string
required

Returns

200 The organization’s credit balance. GetOrganizationCreditResponse
integer
required
Credit left to offset the organization’s next invoices, in cents: on credit notes, and in its wallet, granted to it or purchased. Zero when none is left.
string
required
ISO currency code.