Skip to main content
Checkouts2026.8.0

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.

POST/api/v1/billing/checkout/certificates

The 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 authentication

Path 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

productIdintegerRequired

No field description supplied.

periodintegerRequired

Certificate validity period in years.

contactobjectRequired

No field description supplied.

successUrlstring (uri)Required

No field description supplied.

cancelUrlstring (uri)Required

No field description supplied.

Responses

200

Stripe Checkout session created.

sessionIdstringOptional

No field description supplied.

checkoutUrlstring (uri)Optional

No field description supplied.

productFamilystringRequired

Allowed 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?