Transactions
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.
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
}
]
}
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: 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 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"
}
Last updated
Was this helpful?