LogoLogo
Go ToJoin the Community
  • Getting Started
    • Introduction
    • How it Works
    • Onboarding
  • Examples
    • Tutorials
      • Hello, World!
      • Image Generation w/ Stable Diffusion
  • CREATE WITH BYTENITE
    • Building Blocks
      • Apps
      • Job Templates
  • SDK
    • ByteNite Dev CLI
  • Launch with ByteNite
    • Data Sources
      • AWS S3
      • Google Cloud Storage
      • Storj
      • HTTP
      • File Upload
      • Temporary Bucket
    • Jobs
  • API Reference
    • Customer API
      • Jobs
        • Create
        • Read
        • Update
        • Manage
        • Other
      • Logs
      • Data Sources
      • Templates
      • Events
    • Authentication API
      • Access Token
      • API Keys
      • Secrets
      • User
    • Developer API
      • Apps
        • Metadata
        • Push
        • Manage
        • Pull
      • Engines
        • Metadata
        • Push
        • Manage
        • Pull
      • Templates
    • Wallet API
      • Balance
      • Transactions
      • Exchange Rate
      • Redeem Coupon
  • GUI
  • Other
    • Glossary
    • Feature Requests
    • Status
Powered by GitBook

© 2025 ByteNite Inc.

On this page

Was this helpful?

Export as PDF
  1. API Reference
  2. Wallet API

Transactions

PreviousBalanceNextExchange Rate

Last updated 11 days ago

Was this helpful?




Get transaction history

get

Get paginated list of transactions

Authorizations
Query parameters
pagination.limitanyOptional

Results per page

pagination.offsetanyOptional

The number of items to skip before starting to collect the result set

orderByanyOptional
Responses
200
A successful response.
400
Returned when the users sends a malformed request.
401
Returned when the user is not authenticated.
403
Returned when the user does not have permission to access the resource.
404
Returned when the resource does not exist.
500
Returned when an error on the server occurred.
503
Returned when the resource is temporarily unavailable.
default
An unexpected error 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 as CSV

get

Get CSV of all transactions

Authorizations
Responses
200
A successful response.
400
Returned when the users sends a malformed request.
401
Returned when the user is not authenticated.
403
Returned when the user does not have permission to access the resource.
404
Returned when the resource does not exist.
500
Returned when an error on the server occurred.
503
Returned when the resource is temporarily unavailable.
default
An unexpected error response.
get
GET /v1/wallet/transactions/csv HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "csv": "text"
}
  • GETGet transaction history
  • POSTGet transaction history with filters
  • GETGet transaction history as CSV

Get transaction history with filters

post

post paginated list of transactions with filters

Authorizations
Body
orderBystringOptional
Responses
200
A successful response.
400
Returned when the users sends a malformed request.
401
Returned when the user is not authenticated.
403
Returned when the user does not have permission to access the resource.
404
Returned when the resource does not exist.
500
Returned when an error on the server occurred.
503
Returned when the resource is temporarily unavailable.
default
An unexpected error 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: 217

{
  "pagination": {
    "limit": 1,
    "offset": 1
  },
  "filters": [
    {
      "field": "text",
      "condition": "FILTER_CONDITION_EQ",
      "value": {
        "@type": "type.googleapis.com/google.protobuf.Value",
        "value": "vaulue 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
    }
  ]
}