Start phone payment
POST
/ admin/ v1/ stores/ {store_id}/ pos/ sessions/ {session_id}/ phone-payments- Idempotency-Key supported
Starts a payment on the customer's phone for the sale on the store's Paymob account; show its checkout_url as a QR code. Requires the clerk's unlock.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.session_idstringrequiredThe session's ID, like
pses_01k8qs5s….
Headers
x-pos-clerkstringrequiredThe clerk's unlock
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
sale_idstringrequiredamountintegerrequiredMinor units.
Returns
201 Started.
Errors
- 409No Paymob account (
phone_payments_off).