Skip to content

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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • session_idstringrequired

    The session's ID, like pses_01k8qs5s….

Headers

  • x-pos-clerkstringrequired

    The clerk's unlock

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • sale_idstringrequired
  • amountintegerrequired

    Minor units.

Returns

201 Started.

Errors

  • 409No Paymob account (phone_payments_off).