Generates a QR code for an invoice, by ID. The QR code is a PNG image in Base64-encoded format that corresponds to the invoice ID. You can generate a QR code for an invoice and add it to a paper or PDF invoice. When customers use their mobile devices to scan the QR code, they are redirected to the PayPal mobile payment flow where they can view the invoice and pay online with PayPal or a credit card. Before you get a QR code, you must create an invoice and send an invoice to move the invoice from a draft to payable state. Do not include an email address if you do not want the invoice emailed.
Oauth 2.0 authentication
The ID of the draft invoice to delete.
2147483647Optional configuration parameters to adjust QR code width, height and the encoded URL.
The configuration for a QR code.
The width, in pixels, of the QR code image. Value is from 150 to 500.
150 <= x <= 500The height, in pixels, of the QR code image. Value is from 150 to 500.
150 <= x <= 500The type of URL for which to generate a QR code. Valid values are pay and details.
7A successful request returns the HTTP 200 OK status code and a JSON response body that shows the QR code as a PNG image.