Skip to main content
GET
/
api
/
v1
/
workspaces
/
{workspace_id}
/
billing
/
payment-info
Get Payment Info
curl --request GET \
  --url https://api.example.com/api/v1/workspaces/{workspace_id}/billing/payment-info \
  --header 'X-API-Key: <api-key>'
{
  "invoices": [
    {
      "amount_paid": 123,
      "currency": "<string>",
      "date": "2023-11-07T05:31:56Z",
      "hosted_invoice_url": "<string>",
      "id": "<string>",
      "invoice_pdf": "<string>",
      "status": "<string>"
    }
  ],
  "payment_method": {
    "brand": "<string>",
    "exp_month": 123,
    "exp_year": 123,
    "last4": "<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

Cookies

riftmap_access
string | null

Response

Successful Response

invoices
InvoiceInfo · object[]
required
payment_method
PaymentMethodInfo · object
required