Accept in-person card payments and QR payments using the wifi card reader
07139
.Parameter | Description | Example |
---|---|---|
amount | The amount related to the payment | 2500.00 |
payment_methods[] | Indicate that the request is for in-person payments using a wifi card reader | wifi_card_reader |
currency | In-Person payments only support the home currency of your business | SGD |
wifi_terminal_id | The reader ID can be found in your dashboard under “POS > Terminals” | tmr_123123123 |
webhook | URL, where the HitPay server will POST a request after payment is completed | https://example.com/webhook |
payment_methods[]
set to wifi_card_reader
payment_methods[]
set to any supported QR payment method and generate_qr
set to true
Parameter | Description | Example |
---|---|---|
amount | The amount related to the payment | 2500.00 |
payment_methods[] | One of the supported QR payment methods (e.g., paynow_online) | paynow_online |
currency | In-Person payments only support the home currency of your business | SGD |
wifi_terminal_id | The reader ID can be found in your dashboard under “POS > Terminals” | tmr_123123123 |
generate_qr | Set to true to generate QR code data | true |
webhook | URL, where the HitPay server will POST a request after payment is completed | https://example.com/webhook |
qr_code_data
object, which contains the data to be converted into a scannable QR code (qr_code
).
Example Response for QR Payment Request
Parameter | Description | |
---|---|---|
payment_id | Payment ID | |
payment_request_id | Payment request ID | |
phone | Buyer’s phone number | |
amount | Amount related to the payment | |
currency | Currency related to the payment | |
status | Payment status (completed / failed) | |
reference_number | Arbitrary reference number mapped during payment request creation | |
hmac | Message Authentication code of this webhook request |
Can I test the APIs in a sandbox using a test card or simulator?
Does the in-person payments API support the Wisepad3 reader?
Can I connect a Bluetooth printer to my Wi-Fi terminal?
How does the card reader know whether to show QR code or accept card payment?
Which QR payment methods are supported?