payway_generate_qr
Generate a payment QR code for KHQR, WeChat, or Alipay with string, PNG image, and ABA deeplink, enabling direct payments without a hosted checkout page.
Instructions
Generate a KHQR / WeChat / Alipay QR code (string + PNG image + ABA deeplink) for a payment, without a hosted checkout page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| items | No | ||
| phone | No | ||
| amount | Yes | ||
| payout | No | ||
| tran_id | Yes | ||
| currency | Yes | ||
| lifetime | No | ||
| last_name | No | ||
| first_name | No | ||
| callback_url | No | Plain URL; base64-encoded automatically | |
| custom_fields | No | ||
| purchase_type | No | ||
| return_params | No | ||
| payment_option | Yes | ||
| return_deeplink | No | ||
| qr_image_template | No | template3_color |