Pular para o conteúdo principal
List Quotes
curl --request GET \
  --url https://api.spherepay.co/v2/quote \
  --header 'Authorization: Bearer <token>'
{
  "page": 1,
  "limit": 10,
  "total": 1,
  "data": [
    {
      "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"
    }
  ]
}
Recupere uma lista paginada de todas as cotações criadas pela sua aplicação. Útil para auditar bloqueios de taxa anteriores, construir uma visualização de histórico na sua interface ou encontrar a cotação ativa mais recente para um cliente.

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de consulta

page
string
padrão:1
obrigatório

Page number of the list (default: 1)

Exemplo:

1

limit
string
padrão:10
obrigatório

Number of items per page (default: 10)

Exemplo:

10

customerId
string

Filter quotes by customer ID.

Pattern: ^customer_[a-z0-9]+$
Exemplo:

"customer_3faa484998f44cfead9668608b9ee1f5"

status
enum<string>

Filter quotes by status.

Opções disponíveis:
active,
used,
expired
Exemplo:

"active"

Resposta

page
number
obrigatório

Current page number

Exemplo:

1

limit
number
obrigatório

Number of items per page

Intervalo obrigatório: 1 < x < 100
Exemplo:

10

total
number
obrigatório

Total number of items

Exemplo:

1

totalPages
number
obrigatório

Total number of pages

Exemplo:

1

hasNext
boolean
obrigatório

Whether there is a next page

Exemplo:

false

hasPrevious
boolean
obrigatório

Whether there is a previous page

Exemplo:

false

data
object[]
obrigatório

The list of quotes for the current page.

Última modificação em 18 de junho de 2026