> ## Documentation Index
> Fetch the complete documentation index at: https://developers-docs.easyorders.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List wallet transactions

> **Scope:** none. Every app can call it.

The moves of your app's wallet on the store: the merchant's top-ups,
your debits, and the return of the balance when the app was removed.
Oldest first unless `sort=created_at,DESC`.

Filter with `filter=type||$op||value` (repeatable, all must match):

| Field | Operators |
|---|---|
| `type` | `$eq`, `$in` |

`$in` takes comma-separated values, up to 50. Works while the
subscription is `suspended`.




## OpenAPI

````yaml /openapi.json get /billing/wallet/transactions
openapi: 3.1.0
info:
  title: EasyOrders Admin API
  version: v1
  summary: Read and write a merchant's store data from your app.
  description: |
    The EasyOrders Admin API lets an installed app work with one merchant's
    store: its orders, shipping settings and shipping areas, within the
    scopes the merchant approved.

    - Every request needs an access token (`Authorization: Bearer eo_at_...`)
      from the OAuth flow. A token works on one store only.
    - Request and response bodies are JSON. Unknown fields and query
      parameters are refused.
    - Errors share one shape: `{"error": {"code", "message", "details"}}`.
    - `v1` is stable: new fields and endpoints are added to it; a breaking
      change ships as a new version.
  contact:
    name: EasyOrders developers
    url: https://easyorders.eg
servers:
  - url: https://api.easy-orders.net/api/partners-apps/v1
    description: Production
security:
  - accessToken: []
tags:
  - name: Article categories
    description: >-
      The categories of the store's blog, which articles name in their
      `category_ids`.
  - name: Articles
    description: The articles of the store's blog, with HTML content, tags and categories.
  - name: Billing
    description: >-
      Your app's plan subscription and usage wallet on the store, and debiting
      the wallet by usage.
  - name: Categories
    description: The store's product categories and subcategories.
  - name: Checkout fields
    description: >-
      The fields of the store's checkout form, their labels, order, and whether
      they show and are required.
  - name: Coupons
    description: >-
      The store's coupons, by code or automatic, and the products, variants and
      categories they apply to.
  - name: Labels
    description: >-
      Your app's short colored words on orders and products, shown in the
      merchant's orders and products tables.
  - name: Missed orders
    description: >-
      Checkouts the shopper started and did not finish, to follow up and
      recover.
  - name: Orders
    description: The store's orders, their status, payment status and notes.
  - name: Pages
    description: >-
      The store's pages, such as About us or the return policy, with HTML
      content.
  - name: Products
    description: The store's products, their options, variants and stock.
  - name: Reviews
    description: >-
      The reviews of the store's products, and which of them the product page
      shows.
  - name: Shipping
    description: The store's shipping settings and shipping areas (governorates).
  - name: Store
    description: >-
      The store the access token belongs to, its addresses, currency, language
      and plan.
paths:
  /billing/wallet/transactions:
    get:
      tags:
        - Billing
      summary: List wallet transactions
      description: |
        **Scope:** none. Every app can call it.

        The moves of your app's wallet on the store: the merchant's top-ups,
        your debits, and the return of the balance when the app was removed.
        Oldest first unless `sort=created_at,DESC`.

        Filter with `filter=type||$op||value` (repeatable, all must match):

        | Field | Operators |
        |---|---|
        | `type` | `$eq`, `$in` |

        `$in` takes comma-separated values, up to 50. Works while the
        subscription is `suspended`.
      operationId: listBillingWalletTransactions
      parameters:
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Cursor'
        - $ref: '#/components/parameters/Sort'
        - $ref: '#/components/parameters/CreatedSince'
        - name: filter
          in: query
          description: A filter, `field||$op||value`. Repeat it to combine filters.
          schema:
            type: array
            items:
              type: string
          style: form
          explode: true
          example:
            - type||$eq||wallet_debit
      responses:
        '200':
          description: A page of transactions.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - next_cursor
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/BillingWalletTransaction'
                  next_cursor:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Pass it as `cursor` for the next page; `null` on the last
                      page.
              example:
                data:
                  - id: 2b7e9c1d-4f3a-4e8b-9a6c-5d0e1f2a3b40
                    type: wallet_topup
                    amount: '20.00'
                    balance_after: '20.00'
                    description: شحن محفظة تطبيق SMS Notify
                    created_at: '2026-12-01T09:00:00Z'
                  - id: 7c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f
                    type: wallet_debit
                    amount: '0.05'
                    balance_after: '19.95'
                    description: 'خصم من محفظة تطبيق SMS Notify: SMS for order 1043'
                    created_at: '2026-12-03T10:00:00Z'
                next_cursor: null
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
      x-codeSamples:
        - lang: bash
          label: cURL
          source: >-
            curl -G
            "https://api.easy-orders.net/api/partners-apps/v1/billing/wallet/transactions"
            \
              --data-urlencode "limit=20" \
              --data-urlencode "filter=type||\$eq||wallet_debit" \
              -H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN"
        - lang: typescript
          label: TypeScript
          source: >-
            const params = new URLSearchParams([
              ['limit', '20'],
              ['filter', 'type||$eq||wallet_debit'],
            ])

            const url =
            'https://api.easy-orders.net/api/partners-apps/v1/billing/wallet/transactions?'
            + params


            const response = await fetch(url, {
              method: 'GET',
              headers: {
                Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
              },
            })


            const json = await response.json()

            if (!response.ok) {
              throw new Error(`${json.error.code}: ${json.error.message}`)
            }

            const { data } = json
        - lang: go
          label: Go
          source: "package main\n\nimport (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"net/url\"\n\t\"os\"\n)\n\nfunc main() {\n\tquery := url.Values{}\n\tquery.Add(\"limit\", \"20\")\n\tquery.Add(\"filter\", \"type||$eq||wallet_debit\")\n\n\treq, err := http.NewRequest(\"GET\", \"https://api.easy-orders.net/api/partners-apps/v1/billing/wallet/transactions?\"+query.Encode(), nil)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\treq.Header.Set(\"Authorization\", \"Bearer \"+os.Getenv(\"EASYORDERS_ACCESS_TOKEN\"))\n\n\tres, err := http.DefaultClient.Do(req)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer res.Body.Close()\n\n\tvar answer map[string]any\n\tif err := json.NewDecoder(res.Body).Decode(&answer); err != nil {\n\t\tpanic(err)\n\t}\n\tif res.StatusCode >= 300 {\n\t\tpanic(fmt.Sprint(res.Status, answer[\"error\"]))\n\t}\n\tfmt.Println(answer[\"data\"])\n}"
        - lang: php
          label: PHP
          source: >-
            <?php


            $query = http_build_query([
                'limit' => '20',
                'filter' => 'type||$eq||wallet_debit',
            ]);

            $ch =
            curl_init('https://api.easy-orders.net/api/partners-apps/v1/billing/wallet/transactions?'
            . $query);

            curl_setopt_array($ch, [
                CURLOPT_CUSTOMREQUEST => 'GET',
                CURLOPT_RETURNTRANSFER => true,
                CURLOPT_HTTPHEADER => [
                    'Authorization: Bearer ' . getenv('EASYORDERS_ACCESS_TOKEN'),
                ],
            ]);


            $answer = json_decode(curl_exec($ch), true);

            $status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

            curl_close($ch);


            if ($status >= 300) {
                throw new RuntimeException($answer['error']['code'] . ': ' . $answer['error']['message']);
            }

            $data = $answer['data'];
        - lang: python
          label: Python
          source: |-
            import os

            import requests

            response = requests.get(
                "https://api.easy-orders.net/api/partners-apps/v1/billing/wallet/transactions",
                headers={
                    "Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
                },
                params=[
                    ("limit", "20"),
                    ("filter", "type||$eq||wallet_debit"),
                ],
                timeout=30,
            )
            answer = response.json()
            if not response.ok:
                raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
            data = answer["data"]
components:
  parameters:
    Limit:
      name: limit
      in: query
      description: How many items a page holds.
      schema:
        type: integer
        minimum: 1
        maximum: 50
        default: 20
    Cursor:
      name: cursor
      in: query
      description: >-
        The `next_cursor` of the previous page. Keep the same `sort` while
        paging.
      schema:
        type: string
    Sort:
      name: sort
      in: query
      description: '`created_at,ASC` (the default) or `created_at,DESC`.'
      schema:
        type: string
        enum:
          - created_at,ASC
          - created_at,DESC
    CreatedSince:
      name: created_since
      in: query
      description: >-
        Only items created at or after this time (RFC 3339), e.g.
        `2026-12-01T00:00:00Z`. Use it with `sort` to sync.
      schema:
        type: string
        format: date-time
  headers:
    X-RateLimit-Limit:
      description: Requests allowed per minute (600).
      schema:
        type: integer
    X-RateLimit-Remaining:
      description: Requests left in the current minute.
      schema:
        type: integer
    X-RateLimit-Reset:
      description: When the current minute ends, in Unix seconds.
      schema:
        type: integer
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  schemas:
    BillingWalletTransaction:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
            - wallet_topup
            - wallet_debit
            - wallet_return
          description: >
            `wallet_topup`: the merchant added to the wallet.

            `wallet_debit`: your app took from it.

            `wallet_return`: the balance went back to the merchant when your app
            was removed.
        amount:
          type: string
          description: US dollars, always positive; `type` gives the direction.
        balance_after:
          type:
            - string
            - 'null'
          description: The wallet's balance right after this move.
        description:
          type: string
          description: >-
            What the merchant reads, in Arabic, naming your app (and, for a
            debit, your `description` after it).
        created_at:
          type: string
          format: date-time
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: A stable, snake_case code. Branch on it, not on the message.
            message:
              type: string
              description: A human-readable explanation. It may change.
            details:
              description: More about the error, shaped per code.
    FieldError:
      type: object
      required:
        - field
        - rule
      properties:
        field:
          type: string
          description: The JSON path of the input, e.g. `items[0].quantity`.
        rule:
          type: string
          description: The rule that failed, e.g. `required`, `between` or `in`.
        param:
          type: string
          description: The rule's parameter, e.g. `1,10000` for `between`.
  responses:
    Unauthenticated:
      description: The access token is missing, invalid or expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: unauthenticated
              message: Missing or invalid access token
    ValidationFailed:
      description: The request broke one or more rules; `details.fields` lists every one.
      content:
        application/json:
          schema:
            allOf:
              - $ref: '#/components/schemas/Error'
              - type: object
                properties:
                  error:
                    type: object
                    properties:
                      details:
                        type: object
                        properties:
                          fields:
                            type: array
                            items:
                              $ref: '#/components/schemas/FieldError'
          example:
            error:
              code: validation_failed
              message: Validation failed
              details:
                fields:
                  - field: items[0].quantity
                    rule: between
                    param: 1,10000
    RateLimited:
      description: More than 600 requests in a minute from your app on this store.
      headers:
        Retry-After:
          $ref: '#/components/headers/Retry-After'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: too_many_requests
              message: Rate limit exceeded
  securitySchemes:
    accessToken:
      type: http
      scheme: bearer
      description: >
        An access token from the OAuth flow (`eo_at_...`). It lasts one hour;

        refresh it with the refresh token. See
        [Authentication](/authentication).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.