agent

Purchase credit pack via Stripe

Create a Stripe Checkout session for a one-time credit pack purchase.

Returns a redirect URL — send the user or agent operator to this URL to complete payment. Credits are added to the account automatically after successful payment.

Available packs: 20 or 100 (in GBP).

Rate limit: 10/minute

post/api/v1/agent/credits/purchase

Request

  • Base URL: https://api.trueight.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trueight.com/api/v1/agent/credits/purchase
  • Auth: none declared

Request body

packstring required

Credit pack size: '20' (£3.00) or '100' (£15.00)

Response

Stripe Checkout session URL

sessionIdstring required

Stripe Checkout session ID

urlstring required

Redirect URL — send the user here to complete payment

Changes

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