Create Stripe Checkout session for SSL certificate purchase
Validates SSL certificate availability, calculates pricing, and creates a one-time Stripe Checkout session for the selected product.
/api/v1/billing/checkout/certificatesThe source export uses a local development server. Examples use the configured Dashio API origin.
The export references authentication schemes without supplying their definitions.
Authentication
bearerAuth
Understand authenticationPath parameters
None declared in this export.
Query parameters
None declared in this export.
Header parameters
None declared in this export.
Request body
application/json · Required
productIdintegerRequiredNo field description supplied.
periodintegerRequiredCertificate validity period in years.
contactobjectRequiredNo field description supplied.
successUrlstring (uri)RequiredNo field description supplied.
cancelUrlstring (uri)RequiredNo field description supplied.
Responses
200
Stripe Checkout session created.
sessionIdstringOptionalNo field description supplied.
checkoutUrlstring (uri)OptionalNo field description supplied.
productFamilystringRequiredAllowed values: "certificates".
400
Invalid certificate identifier, period, or contact information.
No response body schema supplied.
401
Unauthenticated.
No response body schema supplied.
403
Forbidden. User is not owner or admin of the space.
No response body schema supplied.
404
Certificate not found.
No response body schema supplied.
500
Failed to create Stripe checkout session.
No response body schema supplied.
Was this helpful?