Payment Quotes
GET
/v2/payment_intents/{intent_id}/payment_quotesAuth requiredList payment quotes
Returns every quote raised against a payment intent, in any status.
List entries do not include expires_in. To show a countdown, use Get a payment quote or the response from creating or refreshing the quote.
Requires Bearer token authentication. Include Authorization: Bearer YOUR_API_KEY in the request header.
Path Parameters
intent_idstringrequiredID of the payment intent
Responses
intent_idpath · stringrequiredID of the payment intent
Response will appear here
Request
curl -X GET \
"https://www.blockonomics.co/api/v2/payment_intents/d5e88bd4-2964-4554-9a81-ab64c391d174/payment_quotes" \
-H "Authorization: Bearer YOUR_API_KEY"const response = await fetch('https://www.blockonomics.co/api/v2/payment_intents/d5e88bd4-2964-4554-9a81-ab64c391d174/payment_quotes', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
})
const data = await response.json()
console.log(data)import requests
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
response = requests.get(
"https://www.blockonomics.co/api/v2/payment_intents/d5e88bd4-2964-4554-9a81-ab64c391d174/payment_quotes",
headers=headers
)
print(response.json())Response
{
"data": [
{
"id": "5d5b245f-41d9-4917-b720-60ba67a34e0b",
"payment_intent_id": "d5e88bd4-2964-4554-9a81-ab64c391d174",
"amount": 5000000,
"paid_amount": 5000000,
"crypto": "USDT",
"address": "0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE",
"status": "confirmed",
"txid": "0x712f876339d877e7558f25b4c0b684c5e1d1a11472d407a175c231894b280714",
"paid_timestamp": 1790219553
},
{
"id": "d81111b2-0165-4831-bd12-7a09011d4aa6",
"payment_intent_id": "d5e88bd4-2964-4554-9a81-ab64c391d174",
"amount": 11982,
"paid_amount": 0,
"crypto": "BTC",
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"status": "pending",
"txid": null,
"paid_timestamp": null
}
]
}