Skip to content

Money activity

GET/admin/v1/stores/{store_id}/money/activity
  • money:read

Every movement of the store's money on store-local days, newest first, 100 a page, with the window's sums on the first page.

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.

Query parameters

  • fromstringrequired

    First store-local day, YYYY-MM-DD.

  • tostringrequired

    Last store-local day (included), at most 366 days on.

  • holder_kindenum

    What kind of holder.

    • payment_account
    • carrier
    • shipping_balance
    • driver
  • holder_idstring
  • kindenum

    What a movement was.

    • collected
    • refunded
    • charged
    • paid_out
    • fee
    • top_up
    • adjustment
  • beforestring

    The previous page's next_before.

  • languagestring

    Exports only: en or ar (default: the store's language).

Headers

  • shop-api-versionYYYY-MM

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

Returns

200 A page of movements.

Errors

  • 403forbiddenMissing permission.
  • 422validation_failedInvalid days, holder or cursor.