Skip to content

List account transactions

GET/accounts/{id}/transactions

Path parameters

NameTypeDescriptionRequired
id
string
Id of the target account

Query parameters

NameTypeDescriptionRequired
cursor
string
Optional cursor to get next pages (based on the next key on query response)

Response schema

{
// Next page cursor
next: string | null;
// Array of results
results: Array<
|
|
|
|
|
|
|
|
|
|
|
|
|
>
;
}

Examples

bash
curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {jwt}" \
  "$API_BASE_URL/accounts/{id}/transactions"
ts
const url = "<base-url>/accounts/{id}/transactions";

const headers = {
  "Content-Type": "application/json",
  Authorization: "Bearer <jwt>"
};

fetch(url, { headers }).then(res => {
  console.log(res)
});
python
import requests

url = "<base-url>/accounts/{id}/transactions"

headers = {
  "Content-Type": "application/json",
  "Authorization": "Bearer <jwt>"
}

print(requests.get(url, headers=headers))