List Organization Billing History
$ nirvana organizations:billing history
GET/v1/organizations/{organization_id}/billing/history
List the organization’s billing history: prepaid credits, top-ups, and manual adjustments, newest first. Paginated with an opaque cursor.
List Organization Billing History
nirvana organizations:billing history \
--api-key 'My API Key' \
--organization-id organization_id{
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"amount": "-69125",
"created_at": "2025-01-01T00:00:00Z",
"currency": "USD",
"type": "grant",
"description": "Refund adjustment",
"purpose": "auto_recharge",
"receipt_url": "https://pay.stripe.com/receipts/..."
}
],
"pagination": {
"next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
"previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
"total_count": 125
}
}Returns Examples
{
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"amount": "-69125",
"created_at": "2025-01-01T00:00:00Z",
"currency": "USD",
"type": "grant",
"description": "Refund adjustment",
"purpose": "auto_recharge",
"receipt_url": "https://pay.stripe.com/receipts/..."
}
],
"pagination": {
"next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
"previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
"total_count": 125
}
}