invoice.get
Retrieve an agent-to-agent invoice by ID. Returns status (OPEN/PAID/EXPIRED), amount, currency pair, and payUrl. Use before calling invoice.pay to confirm the invoice is still OPEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | Invoice UUID returned by invoice.create |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| amount | No | ||
| payUrl | No | ||
| status | No | ||
| currency | No | ||
| expiresAt | No |