Card payments from any POS, with one curl command
Your cash register sends the amount. Your Android phone takes the card with Tap to Pay. The answer comes back to the register. No payment terminal and no integration project.
Sign up or open your merchant pageHow it works
- Sign up and finish onboarding with Stripe. Your money goes straight to your own Stripe account.
- Install the mPay app on an Android 13+ phone with NFC and pair it under a name, such as
till-1. - Add one line to your POS. It waits for the tap and returns one line.
The one line
curl https://pay.mreceipt.online -u <POS key>: -d amount=12.50 -d device=till-1
Optional: -d currency=eur and -d reference=R-1042, your receipt number. Sending the same reference again (for example after a timeout) returns the same payment, so the card is never charged twice.
| Answer | HTTP | Meaning |
|---|---|---|
APPROVED mp_… 12.50 EUR visa 4242 | 200 | Paid. |
DECLINED mp_… 12.50 EUR card_declined: … | 402 | Not paid. Send a new payment to try another card. |
CANCELED mp_… 12.50 EUR … | 409 | Canceled on the phone or by the POS, or not tapped in 5 minutes. |
PENDING mp_… 12.50 EUR collecting | 202 | No answer within 2 minutes. Ask again with the id below. |
ERROR code message | 4xx/5xx | Nothing was charged. |
curl "https://pay.mreceipt.online/p/mp_…?wait=60" -u <POS key>: # the payment's result curl -X POST https://pay.mreceipt.online/p/mp_…/cancel -u <POS key>: # call it off before the tap
curl ships with Windows 10 and later, Linux, macOS and Android, so the same line works on any cash register.
Price
Stripe's own card fees, paid from your Stripe account, plus 0.04 EUR per completed payment for mPay. Nothing for declined or canceled payments, no monthly fee.
Where
Pilot in Slovakia, 2027. Tap to Pay on Android in Slovakia is in Stripe's public preview.