Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.msgflash.com/llms.txt

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

Endpoint

GET /api/v1/billing/payments

Parameters query

NomTypeRequiredDescription
pageintegernoDéfaut 1
limitintegernoDéfaut 20, max 100

Success response 200

{
  "data": {
    "payments": [
      {
        "id": "pay_uuid",
        "provider": "dodo",
        "planCode": "starter",
        "planName": "Starter",
        "amount": 900,
        "currency": "EUR",
        "status": "succeeded",
        "periodStart": "2026-04-01T09:43:13.737Z",
        "periodEnd": "2026-05-01T09:43:13.737Z",
        "createdAt": "2026-04-01T09:43:13.745Z"
      }
    ],
    "total": 1,
    "page": 1,
    "totalPages": 1
  }
}

Workspace rules

This endpoint returns the personal payment history of the key owner. It requires a personal API key (msgf_live_…). A team API key is rejected with 403 and code TEAM_KEY_NOT_ALLOWED. Team payment history is only available to the team owner from the console under GET /api/billing/payments with X-Team-Id.