wallet

Create Topup Checkout

Create a Stripe Checkout session for wallet top-up (one-time payment).

Wallet-model (grandfathered) accounts only. On seats accounts the hosting balance buys nothing — every charge is a Stripe subscription invoice — so accepting a top-up here would take real money for a balance no code path can ever spend (the UI stopped offering it; the SDK and raw API had not).

post/api/wallet/topup

Request

  • Base URL
    https://api.maritime.sh (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maritime.sh/api/wallet/topup
  • Auth
    HTTP bearer

Request body

amount_centsinteger required

Amount in cents, minimum $5 (500)

return_pathstring nullable

Path to redirect to after checkout (e.g. /enterprise)

Response

Successful Response

unknown required

Changes

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