---
title: "List operations"
method: GET
path: "operations"
tags: ["Operations"]
---

# List operations

`GET operations`

## Request

- Base URL: `https://payments.air-pay.io`
- URL: `https://payments.air-pay.io/operations`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/airtm/apis/airtm-enterprise-api-v1/docs/operations/get.ts> (a function with typed inputs; its response is checked against the schema)

An operation is an abstraction of the more specific entities: purchase
and payout. Operations are used when referring to all of the
transactions within an account. This schema also applies to the other
responses under `/operations`.

## Response `200`

OK

- object
  - `currentPage` number: Page currently displayed.
  - `lastPage` number: Number of pages available.
  - `perPage` number: Number of items per page displayed in the response.
  - `total` number: Total operations retrieved.
  - `from` number: Number of first operation retrieved.
  - `to` number: Number of last operation retrieved.
  - `data` object[]: An array of items retrieved, contains all operations available requested, limited by the 'perPage' parameter.
    - `id` string
    - `status` string
    - `amount` string
    - `description` string
    - `confirmation_uri` string
    - `cancel_uri` unknown
    - `code` unknown
    - `airtm_operation_id` unknown
    - `created_at` string
    - `updated_at` string
    - `airtm_user_id` string
    - `airtm_user_email` string
    - `operation_type` string
    - `failure_uri` string
    - `failure_reason` unknown
    - `callback_uri` unknown
    - `airtm_operation_hash` unknown
    - `partner_id` string: ID of the partner that created the operation.

## Other responses

- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v1.md) - [All operations](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v1/revisions/4e8326a04343?raw)
