generate_payment_qr
Generate QR codes for existing cryptocurrency payments with customizable size, style, and type (address, payment URI, or gateway URL).
Instructions
Generate QR codes for payment address and/or payment URI from an existing payment. USE THIS WHEN: User wants QR in different size/style than original, User wants only address QR or only payment URI QR (not both), User created payment without QR (include_qr=false) and now needs it, User wants QR for gateway URL (for redirect payments). EXAMPLES: "Generate bigger QR", "Create QR without branding", "I need QR of 500px", "Generate QR for the payment link"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | Payment identifier from create_payment response | |
| qr_type | No | Type of QR to generate: "address": Only crypto address (customer must enter amount manually), "payment_uri": Address + amount included (recommended for specific amounts), "both": Generate both types (recommended), "gateway_url": QR of the payment gateway URL (only for redirect payments) | both |
| size | No | QR code size in pixels. Recommended: 512 for mobile/desktop, 800-1200 for print, 1600-2000 for high-quality print | |
| style | No | QR code style: "basic": Plain black and white QR, "branded": Includes cryptocurrency logo in center (more professional) | branded |
| branding | No | Include Bitnovo Pay branding at bottom of QR code | |
| gateway_environment | No | Environment for gateway URL generation (auto-detected if not specified) |