Retrieve an invoice (synchronous API)
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
400
* Bad request.
application/json
401
* Please verify your API key and secret (if applicable) is correct.
404
* Receipt was not found.
application/json
get
GET /v1/orders/{orderId}/invoices/{receiptId} HTTP/1.1
Host: api.digitalriver.com
Authorization: Basic username:password
Accept: */*
binary
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
400
* Bad request.
application/json
401
* Please verify your API key and secret (if applicable) is correct.
404
* Order was not found or not transferred or in open state.
application/json
get
GET /v1/orders/{orderId}/invoices HTTP/1.1
Host: api.digitalriver.com
Authorization: Basic username:password
Accept: */*
{
"invoices": []
}
Last updated