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

  • Base URL: https://api.latted.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.latted.com/api/billing/credits/confirm
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

checkoutSessionIdstring required

Response

Successful Response

successboolean
appliedboolean required
alreadyProcessedboolean required
creditedCentsinteger required
newBalanceCentsinteger required
newBalanceDollarsnumber required

Changes

No recorded changes to this operation across all 20 revisions of this API.