Get authorized invoice

Get invoice data associated with an authorized_invoice_id. This endpoint accepts either read_invoice or read_invoices scope.

Securitytilia_auth
Request
path Parameters
authorized_invoice_id
required
string (InvoiceId) <= 36 characters

ID that was returned after authorizing an invoice.

Example: inv_2V2XDLW6zogChdShdFh8WKOhHii
Responses
200

Successfully retrieved authorized invoice.

400

Validation errors

401

Unauthorized access.

404

The authorized_invoice_id is no longer valid

500

Service unavailable or server error.

get/v2/authorize/invoice/{authorized_invoice_id}
Request samples
Response samples
application/json
{
  • "line_items": [
    ],
  • "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": {
    },
  • "is_escrow": false,
  • "is_virtual": false
}