cancel_pending_payment
Prepare to cancel a family's open stablecoin payment, Scale's scheduled limit change, or Ultra Speed's open checkout. Nothing changes until confirm_action runs it with the code emailed to the person. Tier confirm: the call only holds the change and returns it. request_confirmation_code emails the person a code; confirm_action runs the change once they read it back. The MCP tool of the same name needs the tweetstream:billing scope.
POST
/api/agent/actions/cancel_pending_paymentAuthorization
AuthorizationstringheaderrequiredBearer authentication with your TweetStream API key:Bearer <key>.
Body
familyenum<string>requiredtargetenum<string>requiredopen_payment: the family's open stablecoin payment request. scale_limit_change: Scale's scheduled limit change. open_checkout: Ultra Speed's open checkout.
Response fields
nextobjectrequiredactionenum<string>requiredmessagestringrequirednamestringrequiredwhoenum<string>required
pendingActionobjectrequiredactionstringrequiredexpiresAtstringrequireda string to be decoded into a DateidstringrequiredquoteobjectrequiredamountDueCentsintegerrequiredan integereffectiveAtstringrequireda string to be decoded into a DaterenewalobjectrequiredamountCentsintegerrequiredan integeratstringrequireda string to be decoded into a DatetermMonthsintegerrequiredan integer
saveOfferobjectrequireddescriptionstringrequiredofferobjectrequired
summarystringrequired
statusenum<string>required
Responses
- 200Success
- 400The input does not match the action's schema (INVALID_REQUEST)
- 401Missing or invalid API key
- 403The request carried a foreign Origin
- 409Nothing to change, or the change is not offered (ACTION_REFUSED with reason)
- 429Rate limit reached (RATE_LIMITED); retry after retryAfterSeconds
- 503Temporarily unavailable; retry later