Generate QR code
POST/api/v4/payments/qr/:point_of_sale
Generate QR tramma that will be added to an image
All payload fields are optional. If no item is specified, a QR code will be generated without the amount included in the payload.
When the Prefer header is used to request PDF generation, the response will include additional headers:
- Preference-Applied: return=pdf-base64 (when PDF generation is successful)
- Preference-Not-Applied: return=pdf-base64; reason=not-enabled (when PDF generation is not supported)
Request
Responses
- 200
Successful response
Response Headers
Preference-Applied
Indicates that the client preference was successfully applied.
Preference-Not-Applied
Indicates that the client preference could not be applied, with reason.