Credits

Handle successful credit top-up (callback)

Callback after successful payment. Returns JSON or redirects when Accept includes text/html. Requires authentication; the session must belong to the caller.

get/payments/credits/top-up/success

Request

  • Base URL: https://api.tinyhumans.ai
  • URL: https://api.tinyhumans.ai/payments/credits/top-up/success
  • Auth: HTTP bearer

Query parameters

session_idstring required

Stripe checkout session ID

Response

Success result (JSON) or redirect

successboolean
dataobject

Changes

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