Skip to main content
GET
/
api
/
v1
/
workspaces
/
{workspace_id}
/
billing
/
history
Get Billing History
curl --request GET \
  --url https://api.example.com/api/v1/workspaces/{workspace_id}/billing/history \
  --header 'X-API-Key: <api-key>'
{
  "events": [
    {
      "amount": 123,
      "created": "2023-11-07T05:31:56Z",
      "currency": "<string>",
      "description": "<string>",
      "hosted_url": "<string>",
      "id": "<string>",
      "pdf_url": "<string>",
      "status": "<string>",
      "type": "invoice"
    }
  ],
  "has_more": true,
  "next_credit_note_cursor": "<string>",
  "next_invoice_cursor": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.riftmap.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Headers

X-Workspace-Id
string | null

Path Parameters

workspace_id
string<uuid>
required

Query Parameters

invoice_cursor
string | null
credit_note_cursor
string | null

Cookies

riftmap_access
string | null

Response

Successful Response

events
BillingHistoryEvent · object[]
required
has_more
boolean
required
next_credit_note_cursor
string | null
next_invoice_cursor
string | null