topup_card_mode_absent: The credit card rail is not configured here

A top-up funds a credit card authorization-backed budget, so it needs the credit card rail. This deployment does not run it. Two places answer this code:

On the multi-tenant hosted tier, live keys run Control Mode only, so a top-up created with a live key always answers this code. Use a test key.

What to do

On the wire

HTTP 409, error type state_error. POST /owner/v1/topups answers JSON:

{
  "error": "state",
  "errorDetail": {
    "type": "state_error",
    "code": "topup_card_mode_absent",
    "message": "the credit card rail is not configured on this deployment, so a top-up cannot run (fail closed)",
    "param": null,
    "doc_url": "…/developers/topup.md#topup-card-mode-absent",
    "fix": "configure the credit card rail (Stripe TEST keys) on this deployment"
  }
}

The top-up page answers a short HTML page naming the code, or the same JSON shape to a client that sends Accept: application/json (and not text/html). See all error codes.