Operations

List operations

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.

getoperations

Request

Response

OK

currentPagenumber

Page currently displayed.

lastPagenumber

Number of pages available.

perPagenumber

Number of items per page displayed in the response.

totalnumber

Total operations retrieved.

fromnumber

Number of first operation retrieved.

tonumber

Number of last operation retrieved.

Example response

{
  "currentPage": 1,
  "lastPage": 5,
  "perPage": 10,
  "total": 25,
  "from": 1,
  "to": 10,
  "data": [
    {
      "id": "57f384ac-c5f7-492a-aaf7-daa928de9b40",
      "status": "created",
      "amount": "1.00",
      "description": "Payout test",
      "confirmation_uri": "https://your.site/success",
      "created_at": "2019-03-05T18:48:07.000Z",
      "updated_at": "2019-03-05T18:48:07.000Z",
      "airtm_user_id": "d2f17c25-4aa2-46c2-aecb-498ffdd23aa2",
      "airtm_user_email": "john.doe@gmail.com",
      "operation_type": "payout",
      "failure_uri": "https://your.site/failure",
      "partner_id": "2abf29df-4c6d-4de4-ae55-d26556ac5475"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.