Skip to main content
POST
Create embedded Google Ads payment setup

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.

Path Parameters

app_id
string
required

ID of the app whose Google Ads campaigns to manage.

Response

The token for mounting Stripe's embedded checkout.

A Stripe Checkout session for saving a card inside your own page.

client_secret
string
required

Token that mounts Stripe's embedded checkout in a browser. It is meant for client-side use and is scoped to this one session, so it is not a secret key, but it does let whoever holds it complete this card setup.

Example:

"cs_live_a1B2c3D4e5_secret_f6G7h8I9j0"

session_id
string
required

Stripe's ID for the session.

Example:

"cs_live_a1B2c3D4e5"

publishable_key
string
required

Base44's Stripe publishable key, which the embedded checkout needs. It is public by design.

Example:

"pk_live_51H8xY2eZvKYlo2C"