Skip to main content
GET
Get Google Ads billing status

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

app_id
string
required

ID of the app whose Google Ads campaigns to manage.

Response

Whether the workspace can be charged, and the card on file.

Whether the workspace can be charged for ad spend.

Omits stripe_customer_id, which the response also carries. It is Base44's own billing-system identifier and has no caller use.

has_payment_method
boolean
required

true when a usable card is on file. Read it together with stripe_unavailable, which changes what a false means.

Example:

true

stripe_unavailable
boolean
required

true when Base44 could not reach the payment provider. has_payment_method then reports false because the check fails closed, not because the card is missing. Retry rather than telling someone to add a card.

Example:

false

payment_method_brand
string
required

Card brand, for display. Empty when no card is on file.

Example:

"visa"

currency_code
string | null

Currency the workspace is billed in, as an ISO 4217 code. null before a card is on file.

Example:

"EUR"

payment_method_last4
string | null

Last four digits of the card, for display. null when no card is on file.

Example:

"4242"