v2-gtm

Claim Credits

Create (or reuse) the Stripe customer and hand back an intent to confirm.

With deposits on that is a PaymentIntent for the chosen amount; with them off it is the old SetupIntent, which charges nothing. Either way the browser gets a client secret and confirms it, and /api/v2/app/activate reads the result back from Stripe rather than trusting what the browser reports.

post/api/v2/gtm/claim

Request

  • Base URL: https://api.getle.ad (the document declares no server; this is the origin it was published from)
  • URL: https://api.getle.ad/api/v2/gtm/claim
  • Auth: none declared

Request body

emailstring required
domainstring required
session_idstring nullable
amount_centsinteger nullable

Response

Successful Response

unknown required

Changes

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