Skip to content

Move cash

POST/admin/v1/stores/{store_id}/pos/sessions/{session_id}/cash
  • Idempotency-Key supported

Puts cash in the drawer or takes it out, with a reason. 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

  • kindstringrequired

    paid_in or paid_out.

  • amountintegerrequired
  • reasonenum · or null

    Why cash moved.

    • paid_supplier
    • owner_took
    • bank_change
    • cash_refund
    • other
  • notestring · or null
  • approvalsarray of strings

Returns

200 Recorded: the session.

Errors

  • 409The session is closed.