Quote an AI service invoice
quote_invoiceAnswers what a specific OpenRouter top-up or other AI service invoice charges, whether it can still be paid through Rozo Checkout, and which coins can pay it. Takes the payment link URL and returns the merchant, invoice amount, callerPays (the total USD charged: invoice plus the Rozo service fee; also callerPaysAtomicUsdc in 6-decimal units), the breakdown original (invoice face value), serviceFee and feeBps (fee rate in basis points, 100 = 1%), the link expiry, payability and supportedSources: the coins THIS invoice can be paid with. The exact amount to send in a given coin, which adds bridge and network fees, or the FX spread on a native coin, on top of callerPays, comes from create_deposit_order. Offer a native coin (ETH, BNB, POL, SOL) only when it appears in supportedSources. Creates nothing and moves no funds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "quote_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Payment link: https://payments.coinbase.com/payment-links/pl_... or https://payments.coinbase.com/payment-sessions/paymentSession_... |