Paywall Topup Choice

Changed on

Stamp the paywall door onto the pending SetupIntent (prepay-match test).

Called by the checkout form right before confirmSetup so the setup_intent.succeeded webhook — the single grant boundary — sees the final choice. Metadata updates merge, so device_id / domain stay. A stale SI (decline → refreshAfterDecline) is re-stamped on the next submit because the form calls this on every attempt.

post/api/payment/paywall-topup

Request

  • Base URL: https://api.explee.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.explee.com/api/payment/paywall-topup
  • Auth: none declared

Request body

device_idstring required
topup_usdinteger required

Response

Successful Response

unknown required

Changes