Langsung ke konten utama
GET
/
workspaces
/
{workspaceId}
/
billing-accounts
Daftar akun penagihan
curl --request GET \
  --url https://api.altostrat.io/workspaces/{workspaceId}/billing-accounts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "cus_a1b2c3d4e5f6g7h8",
      "workspace_id": "ws_a1b2c3d4e5f6g7h8",
      "name": "Penagihan ACME Corp",
      "email": "billing@acme.com",
      "phone": "+15551234567",
      "description": "Untuk operasi yang berbasis di AS",
      "currency": "usd",
      "address": {
        "country": "US",
        "line1": "123 Main Street",
        "line2": "Suite 456",
        "city": "San Francisco",
        "state": "CA",
        "postal_code": "94105"
      },
      "created_at": "2025-10-29T00:40:06.000000Z",
      "updated_at": "2025-10-29T00:40:06.000000Z"
    }
  ],
  "has_more": false
}

Authorizations

Authorization
string
header
required

Masukkan JWT Anda dalam format: Bearer {token}

Path Parameters

workspaceId
string
required

ID dari workspace.

Example:

"ws_a1b2c3d4e5f6g7h8"

Response

Sebuah daftar objek akun penagihan.

data
object[]
has_more
boolean
Example:

false