Get Checkout invoice
get_invoiceRetrieve an invoice by its ID to check payment status, access the hosted payment URL, and review amounts.
Instructions
Look up a known FinCobra Checkout invoice by id. Returns status, hosted payment URL, and amounts.
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": {
"invoiceId": "<invoiceId>"
},
"name": "get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | Invoice id returned by create_invoice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | Yes | ||
| amountUsd | Yes | ||
| paymentUrl | Yes | ||
| productName | Yes | ||
| paymentCoverage | Yes | ||
| merchantReference | Yes | ||
| receivedAmountUsd | Yes | ||
| confirmedAmountUsd | Yes | ||
| remainingAmountUsd | Yes |