Quote
List Quotes
List quotes for the authenticated application.
Authorization
bearer AuthorizationBearer <token>
In: header
Query Parameters
page*string
Page number of the list (default: 1)
Default
"1"limit*string
Number of items per page (default: 10)
Default
"10"customerId?string
Filter quotes by customer ID.
Match
^customer_[a-z0-9]+$status?string
Filter quotes by status.
Value in
"active" | "used" | "expired"Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.spherepay.co/v2/quote?page=1&limit=10"{
"page": 1,
"limit": 10,
"total": 1,
"totalPages": 1,
"hasNext": false,
"hasPrevious": false,
"data": [
{
"id": "quote_d243ab2b1de4447d8a046d87fefe58cf",
"status": "active",
"type": "off_ramp",
"customerId": "customer_d243ab2b1de4447d8a046d87fefe58cf",
"fees": {
"integratorFee": {
"fixedAmount": "0.00",
"bpsRate": "0",
"totalAmount": "0.00",
"currency": "usdc"
},
"platformFee": {
"fixedAmount": "0.00",
"bpsRate": "20",
"totalAmount": "2.00",
"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"
}
]
}{
"status": 400,
"detail": "Invalid request parameters",
"code": "address/invalid",
"correlationId": "28c61e885c6e5eaa78c1a2183a9b883c"
}{
"status": 404,
"detail": "Resource not found",
"code": "resource/not-found",
"correlationId": "28c61e885c6e5eaa78c1a2183a9b883c"
}{
"status": 422,
"detail": "Validation failed",
"code": "validation/failed",
"correlationId": "28c61e885c6e5eaa78c1a2183a9b883c",
"errors": [
{
"detail": "Invalid email format",
"pointer": "/email"
},
{
"detail": "Name is required",
"pointer": "/name"
}
]
}Last updated on