Create a Stripe Checkout link to pay a failed renewal by hand (plan status past_due); nothing is charged from this call

For a plan whose last renewal failed (status: "past_due"): creates a Stripe Checkout link that charges the renewal amount once and saves a new card; the new period starts from the payment. Nothing is charged from here, a HUMAN pays on the Stripe page. A plan that is not past due has nothing to pay and returns invalid_state. Supports Idempotency-Key.

post/v1/subscription/pay

Request

  • Base URL: https://volai.cz
  • URL: https://volai.cz/v1/subscription/pay
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Optional key for one logical request. Its scope is global to this API key, independent of the HTTP method, path, or body: use a new value for every distinct logical action across all endpoints and request bodies, and reuse it only to retry the exact same logical request. Reusing a non-blank key within 24 hours returns the stored response; a concurrent request with the same key returns 409 idempotency_in_progress. A missing or whitespace-only value disables idempotency.

Response

Checkout URL

checkoutUrlstring required

Changes

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