switching

Record the rival this organization is switching from, before its first top-up.

Once per organization, and only before its first top-up is paid. It records where the organization came from; the reward is the welcome match: credit added within 30 days of signing up is matched, up to $1,000 in total, as each payment settles, and a referral, which matches the same payments and is never less, applies instead, never both. A refund or chargeback of a payment takes back that payment's match. Recording the same provider again answers the same summary; a different one is refused with 409.

post/v1/switching

Request

  • Base URL: https://api.withruntime.com
  • URL: https://api.withruntime.com/v1/switching
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Replaying the same key with the same request within 24 hours returns the first result and never repeats the effect. A refusal is not kept: a request refused before it ran (no_capacity, busy, a limit) runs afresh when sent again with its key. The SDKs send one automatically; the server makes one when absent and returns it in the idempotency-key response header.

Request body

provider'e2b' | 'daytona' | 'vercel' | 'modal' | 'cloudflare' | 'fly' | 'blaxel' required

Response

Success

enabledboolean required

False while the programme is paused.

maxMicrosstring required

The most the organization's payments are matched to, in total. Integer microdollars, as a string (1,000,000 = $1).

providersstring[] required
eligibleboolean required

Whether this organization can record a switch now: none recorded yet, and no top-up paid yet.

Changes

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