Billing

Resume a billing checkout

Returns the browser-safe checkout configuration only when the attempt belongs to the signed-in user.

get/billing/checkout/{attempt_id}

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/billing/checkout/{attempt_id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

attempt_idstring required

Opaque OpenPost checkout attempt ID

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

billing_periodstring

Selected billing period

client_tokenstring

Browser-safe Paddle.js client token

customer_emailstring

Authenticated customer's checkout email

environmentstring

Explicit Paddle.js environment: sandbox or production

idstring

OpenPost checkout attempt or Paddle portal session ID

plan_idstring

OpenPost plan ID

price_idsobject

Paddle price IDs for localized previews in the selected billing period

provider_price_idstring

Paddle price ID for the selected plan and period

purposestring

Requested Paddle portal destination

return_urlstring

OpenPost URL used after Paddle checkout completes

trial_ends_atstring

Expected end of the 14-day trial

urlstring

OpenPost checkout URL or short-lived Paddle customer portal URL

used_generic_fallbackboolean

Whether Paddle omitted the purpose-specific link and OpenPost returned the generic portal

workspace_idstring

Workspace bound to this checkout attempt

Example response

{
  "$schema": "https://example.com/api/v1/schemas/BillingURLResponse.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.