Skip to main content
POST
Create embedded Google Ads payment setup

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

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"