change_renewal_rail
Change how a subscription's renewals are paid: CARD or CRYPTO (stablecoins). A payment due now comes back as a link the person opens. Needs a recent email-code sign-in. Tier recent: the API key and X-TweetStream-Setup-Proof from an email code verified in the last 30 minutes. The MCP tool of the same name needs the tweetstream:billing scope.
POST
/api/agent/actions/change_renewal_railAuthorization
AuthorizationstringheaderrequiredBearer authentication with your TweetStream API key:Bearer <key>.
Headers
X-TweetStream-Setup-ProofstringheaderrequiredThe setupProof returned by email verification. It lasts 30 minutes; after that, verify a new email code.
Body
familyenum<string>requiredpaymentRailenum<string>required
Response fields
outcomeenum<string>requiredpaymentRailenum<string>required
Responses
- 200Success
- 400The input does not match the action's schema (INVALID_REQUEST)
- 401Missing or invalid API key, or the setup proof is missing or expired (REVERIFY_EMAIL)
- 403The request carried a foreign Origin
- 429Rate limit reached (RATE_LIMITED); retry after retryAfterSeconds
- 503Temporarily unavailable; retry later