Get invoice data associated with an authorized_invoice_id.
This endpoint accepts either read_invoice
or read_invoices
scope.
read_invoices
read_invoice
) Successfully retrieved authorized invoice.
Validation errors
Unauthorized access.
The authorized_invoice_id
is no longer valid
Service unavailable or server error.
curl -i -X GET \ https://invoicing.tilia-inc.com/v2/authorize/invoice/:authorized_invoice_id \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "line_items": [
- {
- "line_item_id": "12175ea1-5a52-4c8a-a027-0e7421ca613f",
- "amount": 155,
- "currency": "string",
- "transaction_type": "user_to_integrator",
- "product_sku": "SKU-123-A",
- "product_code": "code-123-A",
- "reference_type": "Acme catalog ID",
- "reference_id": "7245480",
- "description": "In-game digital bundle",
- "metadata": {
- "key1": {
- "key2": 3
}
}, - "recipients": [
- {
- "amount": "100",
- "reference_type": "string",
- "reference_id": "string",
- "description": "string",
- "metadata": {
- "key1": {
- "key2": 3
}
}, - "source_wallet_id": "wal_2V2cKKqYoaj018K0EXBauwcurbd",
- "destination_account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "destination_wallet_id": "wal_2V2cKKqYoaj018K0EXBauwcurbd",
- "fee_percentage": 0,
- "fee_description": "string"
}
]
}
], - "line_items_total": 100,
- "line_items_currency": "USD",
- "display_amount": "USD 1.00",
- "reference_type": "Acme order number",
- "reference_id": "8987749",
- "description": "Digital product order",
- "metadata": {
- "key1": {
- "key2": 3
}
}, - "is_escrow": false,
- "is_virtual": false
}