Saltar al contenido principal
Get a Quote
curl --request GET \
  --url https://api.spherepay.co/v2/quote/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "quote_d243ab2b1de4447d8a046d87fefe58cf",
  "status": "active",
  "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:00.000Z"
}
Obtén el estado actual de una cotización individual. Útil para consultar cambios de estado (activeused o activeexpired) antes de activar lógica posterior en tu aplicación.

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

id
string
requerido

The unique quote ID.

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

"quote_d243ab2b1de4447d8a046d87fefe58cf"

Respuesta

id
string
requerido

A unique identifier for the quote.

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

"quote_d243ab2b1de4447d8a046d87fefe58cf"

status
enum<string>
requerido

The current status of the quote.

Opciones disponibles:
active,
used,
expired
Ejemplo:

"active"

type
enum<string>
requerido

The transfer type this quote is for.

Opciones disponibles:
on_ramp,
off_ramp
Ejemplo:

"off_ramp"

customerId
string
requerido

The customer ID.

Ejemplo:

"customer_d243ab2b1de4447d8a046d87fefe58cf"

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

The datetime when this quote expires.

Ejemplo:

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

created
string<date-time>
requerido

The datetime the quote was created.

Ejemplo:

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

updated
string<date-time>
requerido

The datetime the quote was last updated.

Ejemplo:

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

Última modificación el 18 de junio de 2026