Add prepaid credit
Create a hosted Stripe checkout link to add prepaid credit. amount is
in the currency’s major unit (e.g. 100 = $100.00). The returned
transactionId moves to COMPLETED/FAILED once Stripe’s checkout
webhook fires — poll statusEndpoint, not this call, for the outcome.
Authorizations
Bearer token obtained from POST /api/v1.1/auth/token.
Headers
Any string unique to this logical request. On a retry with the same key
and the same request body, the original response is replayed verbatim
(with an Idempotency-Replayed: true response header) instead of the
action repeating. Reusing the key with a different body or on a
different route returns 409 IDEMPOTENCY_KEY_REUSED. A replay attempted
while the original call is still in flight returns 409 CONFLICT.
Optional — omit it and the endpoint behaves exactly as it would otherwise.
"a1b2c3d4-idem-key-001"
Body
Major currency unit, must be > 0.
100
ISO-4217 3-letter code, case-insensitive.
"usd"
Used as both the success and cancel URL. Defaults to https://app.spenza.com/account.
Response
Checkout link created.

