Billing

post/v1/workspaces/{workspaceId}/billing/checkout/reconcile

Request

  • Base URL: https://api.atlas-compiler.com
  • URL: https://api.atlas-compiler.com/v1/workspaces/{workspaceId}/billing/checkout/reconcile
  • Auth: HTTP bearer

Path parameters

workspaceIdstring required

Headers

idempotency-keystring required

Deduplicates only after current authentication and authorization succeed. Demotion or revocation can make replay unavailable.

Request body

intentIdstring

Atlas checkout intent ID

paymentIdstring

Provider payment ID

sessionIdstring

Provider checkout session ID

Response

Success

boostCodestring

The topup boost pack code (e.g. 5k)

planCodestring required

The resulting plan code (e.g. pro)

planVersioninteger required

The plan version

reconciledboolean required

Whether reconciliation succeeded and entitlement was confirmed

status'active' | 'pending' | 'failed' | 'canceled' | 'past_due' | 'succeeded' | 'paid' required

Current status of the subscription or payment

topupCreditsinteger

Number of credits granted if topup

type'subscription' | 'topup'

The type of checkout purchase

Changes

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