Authentication
Billing

Creates a provider checkout for a Product-scoped Plan. Both application/json and text/plain (optionally charset=utf-8) carry the same UTF-8 JSON request and require a trusted Product Website Origin. The text/plain encoding permits credentialed browser requests without a CORS preflight. Card data is collected only by the selected payment provider; account and Membership fulfillment wait for a verified provider webhook.

post/api/v1/billing/hosted-checkout

Request

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

Request body

OR
OR
OR
OR

Response

An integrated checkout or a previously hosted Session is ready.

OR

Changes

    • breaking

      removed subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 from the request body anyOf list (media type: application/json)

    • breaking

      removed subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 from the request body anyOf list (media type: text/plain)

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 to the request body anyOf list (media type: application/json)

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 to the request body anyOf list (media type: text/plain)

    • info

      the / response's property pattern was changed from ^cs_test_[A-Za-z0-9]+_secret_\S+$ to ^cs_(test|live)_[A-Za-z0-9]+_secret_\S+$ for the status

    • 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