Manually transition a quote out of theDocumentation Index
Fetch the complete documentation index at: https://docs.spherepay.co/llms.txt
Use this file to discover all available pages before exploring further.
active state. Most quote transitions happen automatically — a quote becomes used when redeemed by Create Transfer, and becomes expired when its expiresAt timestamp passes. Use this endpoint when you need to explicitly void a quote (e.g. customer abandoned the flow) or mark it consumed by a downstream system that doesn’t redeem through /v2/transfer.
Endpoint
Authentication
All requests require a Bearer token in theAuthorization header.
Path parameter
The quote ID. Matches
^quote_[a-z0-9]+$.Request body
The new status. One of
used or expired. You cannot set status back to active.Response fields
Returns the updated quote object. Same shape as Get Quote, withstatus reflecting the new value and updated set to the current timestamp.
Error codes
| Status | Code | Description |
|---|---|---|
404 | resource/not-found | No quote exists with the supplied ID. |
422 | validation/failed | The quote is no longer active, or status is not one of used / expired. |

