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 be signed with a Kashier-Hash header or it is rejected with 403. The generated payment link is created in EGP.
Authorization
secretKey Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).
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
Relays a JSON message to one of your POS terminals. Kashier authenticates you as the merchant, confirms the terminal belongs to your account, and forwards the message to the terminal in real time o…
List a terminal's transactions GET
Retrieves the card-present transactions processed on one of your POS terminals. The gateway passes the request through to the transaction manager unchanged, so the rows carry the same fields as the…