Transactions


Get transaction history

get

Get paginated list of transactions

Authorizations
Query parameters
pagination.limitanyOptional

Number of rows to return per page.

pagination.offsetanyOptional

Number of rows to skip before starting to collect the result set.

orderByanyOptional
Responses
200
A successful response.
get
GET /v1/wallet/transactions HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "pagination": {
    "total": 1,
    "offset": 1,
    "hasPrevious": true,
    "hasNext": true
  },
  "data": [
    {
      "id": "18bea1a1-85c9-4652-a32f-4bad10c45d2b",
      "createdAt": "2024-12-12T06:59:38.653263Z",
      "accountFrom": "a946a5f3-f430-4f1d-ac58-165190436c7c",
      "accountTo": "stripe-main",
      "amount": 0.00022723,
      "transactionType": "payment",
      "relatedEntity": {
        "type": "text",
        "id": "text",
        "name": "text"
      },
      "notes": "",
      "transactionData": "",
      "hash": "863078c0dcab8b7eea27ed1ec4ba19109208442147fb97050d71527591c035ce",
      "relatedEntityData": {
        "type": "payment",
        "id": "33e247f5-5000-4476-8fb4-8fb34d733083",
        "name": "",
        "jobName": "Job 4ce85f9a-92ec-447a-8622-5ad684dcb880",
        "jobId": "4ce85f9a-92ec-447a-8622-5ad684dcb880",
        "description": "Top-up for Job 4ce85f9a-92ec-447a-8622-5ad684dcb880",
        "currency": "USD",
        "currencyAmount": 1000,
        "exchangeRate": 1,
        "couponCode": "COUPONCODE",
        "jobTemplate": "4ce85f9a-92ec-447a-8622-5ad684dcb880"
      },
      "description": "Job 4ce85f9a-92ec-447a-8622-5ad684dcb880",
      "balance": 0
    }
  ]
}


Get transaction history with filters

post

post paginated list of transactions with filters

Authorizations
Body
orderBystringOptional
Responses
200
A successful response.
post
POST /v1/wallet/transactions/filter HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 216

{
  "pagination": {
    "limit": 1,
    "offset": 1
  },
  "filters": [
    {
      "field": "text",
      "condition": "FILTER_CONDITION_EQ",
      "value": {
        "@type": "type.googleapis.com/google.protobuf.Value",
        "value": "value to filter (any type)"
      }
    }
  ],
  "orderBy": "text"
}
{
  "pagination": {
    "total": 1,
    "offset": 1,
    "hasPrevious": true,
    "hasNext": true
  },
  "data": [
    {
      "id": "18bea1a1-85c9-4652-a32f-4bad10c45d2b",
      "createdAt": "2024-12-12T06:59:38.653263Z",
      "accountFrom": "a946a5f3-f430-4f1d-ac58-165190436c7c",
      "accountTo": "stripe-main",
      "amount": 0.00022723,
      "transactionType": "payment",
      "relatedEntity": {
        "type": "text",
        "id": "text",
        "name": "text"
      },
      "notes": "",
      "transactionData": "",
      "hash": "863078c0dcab8b7eea27ed1ec4ba19109208442147fb97050d71527591c035ce",
      "relatedEntityData": {
        "type": "payment",
        "id": "33e247f5-5000-4476-8fb4-8fb34d733083",
        "name": "",
        "jobName": "Job 4ce85f9a-92ec-447a-8622-5ad684dcb880",
        "jobId": "4ce85f9a-92ec-447a-8622-5ad684dcb880",
        "description": "Top-up for Job 4ce85f9a-92ec-447a-8622-5ad684dcb880",
        "currency": "USD",
        "currencyAmount": 1000,
        "exchangeRate": 1,
        "couponCode": "COUPONCODE",
        "jobTemplate": "4ce85f9a-92ec-447a-8622-5ad684dcb880"
      },
      "description": "Job 4ce85f9a-92ec-447a-8622-5ad684dcb880",
      "balance": 0
    }
  ]
}


Get transaction history as CSV

get

Get CSV of all transactions

Authorizations
Responses
200
A successful response.
get
GET /v1/wallet/transactions/csv HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "csv": "text"
}

Last updated

Was this helpful?