Public
Billing

Returns a public Sandbox key for optional Stripe.js factory warmup, scoped to the request Product and selected Plan. Requires a trusted Product Website Origin. Does not authenticate a customer, read private credentials, contact Stripe, or create a checkout. The later Checkout Session response remains authoritative.

get/api/v1/public/hosted-checkout-configuration

Request

  • Base URL: https://api.expertschat.net
  • URL: https://api.expertschat.net/api/v1/public/hosted-checkout-configuration
  • Auth: none declared

Query parameters

offerReferencestring
planSlugstring required

Response

A non-cacheable public key for optional browser warmup.

publishableKeystring required

Changes

    • info

      added the new optional query request parameter offerReference

    • info

      the response's property pattern was changed from ^pk_test_[A-Za-z0-9]+$ to ^pk_(test|live)_[A-Za-z0-9]+$ for the status