OI Payments Docs
API ReferenceInvoices

Download Pdf

GET
/api/v1/invoices/{id}/pdf

Authorization

AppApiKey AppApiSecret
X-Api-Key<token>

Per-app API key. Sent together with the X-Api-Secret header. The key's mode (TEST or LIVE) selects the data partition — it is never taken from the request body.

In: header

X-Api-Secret<token>

Per-app API secret that pairs with X-Api-Key. Both headers are required on every app-facing call.

In: header

Path Parameters

id*integer

Response Body

application/pdf

curl -X GET "https://example.com/api/v1/invoices/0/pdf"
"string"