Skip to main content
GET
Get billing info

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Query Parameters

include_all_provider_invoices
boolean
default:false

true adds the invoices from every other billing provider the workspace has used, except drafts and voided invoices. Defaults to false.

Response

The workspace's invoices, payment methods and billing contact.

The workspace's invoices, payment methods and billing contact.

invoices
BillingInvoice · object[]
required

The workspace's invoices, newest first.

Example:
payment_methods
BillingPaymentMethod · object[]
required

Saved payment methods.

Example:
billing_information
BillingContact · object | null
required

Billing contact and address, or null when the provider has none.

default_card_payment_method_id
string | null
required

ID of the card Stripe charges by default, or null when the default isn't a card. Always null on Wix-billed workspaces.

Example:

"pm_1QZk4LDr56L89dkK2c9sXy0b"