Pay Google Ads workspace debt
Charges the workspace’s card on file to settle its outstanding Google Ads balance.
Read status rather than the HTTP status. Only paid, already_settled and paid_recovery_incomplete mean the balance is dealt with; every other value comes back under a 200 having charged nothing, and summary tells you why.
Retrying is safe. Base44 serializes the charge per account against the specific invoice, so two calls racing each other cannot double-charge, and a repeat call once a charge is in flight reports pending_payment instead of starting another.
The body takes no fields. Send an empty object, since anything else is rejected.
Settling clears the hold that stops campaigns serving, so a campaign paused for non-payment can resume afterwards. The summary in the response reports whether the account actually came back, which is what paid_recovery_incomplete distinguishes.
Authorizations
Personal API key.
Path Parameters
ID of the app whose Google Ads campaigns to manage.
Body
The body is of type PayWorkspaceDebt · object.
Response
What happened, and the balance afterwards.
The outcome of settling the workspace's ad-spend balance.
What happened. paid means the card was charged and the balance is settled. pending_payment means a charge was already in flight, so nothing new was attempted. already_settled means the invoice turned out to be paid and the account is back to normal, and paid_recovery_incomplete means it is paid but the account is still held. Anything else is the state from the summary, meaning no charge was attempted: no_debt, not_recoverable, requires_payment_method, requires_payment_refresh, or unavailable. Read this rather than the HTTP status, which is 200 for every one of them.
"paid"
The balance as it stands after the attempt, in the same shape Get Google Ads workspace debt returns. Read it back to confirm what actually changed.