Transactions
Get paginated list of transactions
Number of rows to return per page.
Number of rows to skip before starting to collect the result set.
A successful response.
Returned when the users sends a malformed request.
Returned when the user is not authenticated.
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
Returned when an error on the server occurred.
Returned when the resource is temporarily unavailable.
An unexpected error response.
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
A successful response.
Returned when the users sends a malformed request.
Returned when the user is not authenticated.
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
Returned when an error on the server occurred.
Returned when the resource is temporarily unavailable.
An unexpected error response.
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
A successful response.
Returned when the users sends a malformed request.
Returned when the user is not authenticated.
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
Returned when an error on the server occurred.
Returned when the resource is temporarily unavailable.
An unexpected error response.
GET /v1/wallet/transactions/csv HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
"csv": "text"
}
Last updated
Was this helpful?