Confirm Credit Purchase Endpoint

Confirm a Stripe checkout session and apply purchased credits.

This is a fallback for environments where webhooks may be delayed or unavailable. The operation is idempotent and safe to call multiple times.

post/api/billing/credits/confirm

Request body

checkoutSessionIdstring required

Response

Successful Response

successboolean
appliedboolean required
alreadyProcessedboolean required
creditedCentsinteger required
newBalanceCentsinteger required
newBalanceDollarsnumber required

Changes

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