Generate a POS payment QR code
curl -X POST "https://test-api.kashier.io/v3/payment/pos/qr" \ -H "Kashier-Hash: string" \ -H "Content-Type: application/json" \ -d '{ "paymentMethod": { "type": "card" }, "order": { "reference": "ORD123456", "amount": "100.00" }, "merchantId": "YOUR_MID", "posTerminal": "YOUR_TERMINAL_ID", "metaData": {}, "newPaymentUI": true }'{ "qrUrl": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA…", "status": "SUCCESS", "message": "Successfully performed"}Generates a QR code that a customer scans with their phone to open a Kashier hosted payment page for the order, instead of presenting a card at the terminal. The response carries the QR image as a data URI. The request must carry a Kashier-Hash header. The generated payment link is created in EGP.
Authorization
secretKey Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
In: header
Header Parameters
Order hash generated from your backend using the HMAC SHA256 crypto mechanism, as described in the Kashier hashing documentation.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Order to generate a POS payment QR code for.
Response Body
application/json
application/json
application/json
application/json
application/json
Send a message to a POS terminal POST
Sends a JSON message to one of your POS terminals. Two events are used by merchant backends: - sale — start a card-present payment on the terminal. - details — pull the details of a transaction you…
List a terminal's transactions GET
Retrieves the card-present transactions processed on one of your POS terminals.