Billing
post/v1/applications/{application_id}/billing/checkout-sessions

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/applications/{application_id}/billing/checkout-sessions
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Request body

price_idstring uuid required
provider_idstring uuid
subject_type'user' | 'workspace'
subject_idstring uuid
payment_methodsstring[]
success_uristring uri required
cancel_uristring uri required
external_referencestring

Response

Provider checkout created

idstring uuid required
status'open' | 'complete' | 'expired' required
checkout_uristring uri nullable
provider_session_idstring nullable
subject_type'user' | 'workspace'
subject_idstring uuid
external_referencestring nullable
created_atstring date-time
expires_atstring date-time nullable

Changes

    • info

      added the new optional request property

    • info

      added the media type application/json for the response with the status