Skip to main content
GET
/
accounting
/
transactions
Get Transactions
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/accounting/transactions \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {}
  ],
  "total": 123,
  "page": 123,
  "size": 123
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/accounting/transactions', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Query Parameters

q
string

Search query

page
integer
default:1

Page number

size
integer
default:10

Items per page

sort
string
default:createdAt

Sort field

order
enum<string>
default:desc

Sort order

Available options:
asc,
desc
type
string

Transaction type filter

status
string

Transaction status filter

Response

Transactions retrieved successfully

success
boolean
data
object[]
total
integer
page
integer
size
integer