changedInput schema / properties / action / description
Previous value: -"request = the user approves a card for one purchase; wait = hold until they answer (grant_id) or until a checkout is settled (confirmation_id); checkout = pause at the order button for the user's confirmation, then Writ places the order; fill = type an approved virtual card early; list = the user's payment methods as handles."New value: +"request | wait | checkout | fill | list."
removedInput schema / properties / automation_id
Removed value: -{
- "description": "request: the automation the card is for, when the purchase is a saved automation.",
- "type": "integer"
-}
changedInput schema / properties / commit_selector / description
Previous value: -"checkout (required): CSS selector of the button that places the order. Writ clicks it after the user confirms."New value: +"checkout: the place-order button."
removedInput schema / properties / confirmation_id / description
Removed value: -"wait: the confirmation_id action='checkout' returned."
removedInput schema / properties / currency
Removed value: -{
- "description": "request / checkout: the store's currency, three-letter ISO code ('eur', 'usd', 'gbp'); max_amount is in it. Omitted: the user's card currency on request, the currency the page total shows on checkout. A card pays only in its own currency.",
- "type": "string"
-}
removedInput schema / properties / fields
Removed value: -{
- "additionalProperties": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "properties": {
- "frame_url": {
- "type": "string"
- },
- "selector": {
- "type": "string"
- }
- },
- "required": [
- "selector"
- ],
- "type": "object"
- }
- ]
- },
- "description": "request, for live browsing: card field -> CSS selector on the checkout page (writ_browser_context reads them), or {selector, frame_url} for a field inside a payment provider's frame (frame_url = part of the frame's URL, e.g. 'js.stripe.com'). Keys: number, exp (MM/YY), exp_month, exp_year, exp_year2, cvc, name, zip. Writ types into exactly these.",
- "type": "object"
-}
removedInput schema / properties / grant_id / description
Removed value: -"wait / fill / checkout: the grant_id action='request' returned."
changedInput schema / properties / max_amount / description
Previous value: -"request / checkout: the most this purchase may charge, tax and shipping included (e.g. 129.99). checkout without grant_id needs it."New value: +"The most it may charge."
removedInput schema / properties / payment_method_id
Removed value: -{
- "description": "request: a handle id from action='list' to pre-select that card; the user still approves.",
- "type": "string"
-}
changedInput schema / properties / purpose / description
Previous value: -"request: one line the user reads when approving, e.g. 'Buy Nike Dunk Low, size 10'."New value: +"One line the user reads."
changedInput schema / properties / session / description
Previous value: -"checkout / fill (required) / request: the session_id of the writ_browser_use session on the checkout page."New value: +"The browser session on the checkout page."
changedInput schema / properties / site / description
Previous value: -"request: the store's domain, e.g. 'store.example.com'. The card is typed only on this site and its payment frames."New value: +"request: the store's domain."
removedInput schema / properties / steps
Removed value: -{
- "description": "checkout: steps Writ runs after confirmation, before the order button, e.g. [{\"type\":\"fill_card\"}, {\"type\":\"click\",\"selector\":\"#continue\"}, {\"type\":\"wait\",\"seconds\":2}] for a card page followed by a review page. Default: fill the granted card, then the order button.",
- "items": {
- "type": "object"
- },
- "type": "array"
-}
removedInput schema / properties / summary
Removed value: -{
- "description": "checkout: one line the user reads when confirming, e.g. '1 x Nike Dunk Low, size 10, shipped to home'.",
- "type": "string"
-}
removedInput schema / properties / total_selector
Removed value: -{
- "description": "request / checkout: CSS selector of the order total on the checkout page. Writ reads it and never clicks on when it is above the maximum. Needed for an auto-confirm rule to apply.",
- "type": "string"
-}