Retrieve an invoice (synchronous API)

Download the invoice PDF of the order

get

Download the invoice PDF file of an order.

Authorizations
Path parameters
orderIdstringRequired

The identifier of the Order.

receiptIdstringRequired

The receipt identifier of the invoice.

Responses
200
Successful response with PDF file.
application/pdf
Responsestring · binary
get
GET /v1/orders/{orderId}/invoices/{receiptId} HTTP/1.1
Host: api.digitalriver.com
Authorization: Basic username:password
Accept: */*
binary

Get the invoice download information of an order

get

Get the invoice data of an order in the response which includes invoice's type and download URL.

Authorizations
Path parameters
orderIdstringRequired

The identifier of the Order.

Responses
200
Successful response.
application/json
get
GET /v1/orders/{orderId}/invoices HTTP/1.1
Host: api.digitalriver.com
Authorization: Basic username:password
Accept: */*
{
  "invoices": []
}

Last updated