Skip to main content
Update Quote Status
curl --request PUT \
  --url https://api.spherepay.co/v2/quote/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "used"
}
'
{
  "id": "quote_d243ab2b1de4447d8a046d87fefe58cf",
  "status": "used",
  "type": "off_ramp",
  "customerId": "customer_3faa484998f44cfead9668608b9ee1f5",
  "fees": {
    "integratorFee": {
      "fixedAmount": "0.00",
      "bpsRate": "20",
      "bpsAmount": "0.20",
      "totalAmount": "0.20",
      "currency": "usdc"
    },
    "platformFee": {
      "fixedAmount": "0.00",
      "bpsRate": "20",
      "bpsAmount": "0.20",
      "totalAmount": "0.20",
      "currency": "usdc"
    }
  },
  "source": {
    "currency": "usdc",
    "network": "polygon",
    "amount": "100.00"
  },
  "destination": {
    "currency": "brl",
    "network": "pix",
    "amount": "545.50",
    "exchangeRate": "5.455"
  },
  "expiresAt": "2025-01-01T00:01:00.000Z",
  "created": "2025-01-01T00:00:00.000Z",
  "updated": "2025-01-01T00:00:30.000Z"
}
Manually transition a quote out of the 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.
Only quotes with status active can be updated. Attempting to update a quote that’s already used or expired returns a 422 validation error.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The unique quote ID.

Pattern: ^quote_[a-z0-9]+$
Example:

"quote_d243ab2b1de4447d8a046d87fefe58cf"

Body

application/json
status
enum<string>
required

The new status for the quote. Only active quotes can be updated.

Available options:
used,
expired
Example:

"used"

Response

id
string
required

A unique identifier for the quote.

Pattern: ^quote_[a-z0-9]+$
Example:

"quote_d243ab2b1de4447d8a046d87fefe58cf"

status
enum<string>
required

The current status of the quote.

Available options:
active,
used,
expired
Example:

"active"

type
enum<string>
required

The transfer type this quote is for.

Available options:
on_ramp,
off_ramp
Example:

"off_ramp"

customerId
string
required

The customer ID.

Example:

"customer_d243ab2b1de4447d8a046d87fefe58cf"

fees
object
required
source
object
required
destination
object
required
expiresAt
string<date-time>
required

The datetime when this quote expires.

Example:

"2025-01-01T00:01:00.000Z"

created
string<date-time>
required

The datetime the quote was created.

Example:

"2025-01-01T00:00:00.000Z"

updated
string<date-time>
required

The datetime the quote was last updated.

Example:

"2025-01-01T00:00:30.000Z"

Last modified on June 18, 2026