plan_status
Read-only (key scope billing:read or billing:write). Return the state of a plan_set request (request: checkout / approval_required / started / pending_payment / action_required / applied / failed / denied / expired / superseded / stale) and of the site's contract (contract: no_contract / contract_exists / pending_payment / action_required / applied). Without request, the site's latest request. Once applied, you can deploy. On action_required, hand recovery_url (the payment page) to the user. It does not wait: call again after a while if needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site ID (the id from list_sites, e.g. "my-shop") | |
| request | No | The request_id plan_set returned (default: the site's latest request) |