Services purchase
services_purchaseBuy a fixed-price service in one call: validates the scope, computes the deterministic price, creates the quote thread directly in accepted, and charges immediately — no human seller round-trip. Same delegation/envelope enforcement as services_accept_quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Scope-of-work values; must conform to the listing's scope_schema. The metered field drives the computed price. | |
| payment_method_id | No | UUID of a saved payment method to charge. Omitted = envelope-bound card, else the principal's default. | |
| requested_summary | No | Free-text description of the work being requested. | |
| confirmation_token | No | Token from the confirmation_required kickback; must match to complete the charge. | |
| service_listing_id | Yes | UUID of the fixed-price service listing to buy. | |
| __outcomeForTesting | No | Test-only: force a simulated card outcome. Never set in production. | |
| acknowledged_confirmation | Yes | Set true when retrying after a confirmation_required kickback, together with confirmation_token. |