API reference

Transactions & statement

5 endpoints. Every call is POST https://api.useburj.com/v1/<path> with a JSON body.

Balance movements (filters + pagination)

POST
/transactions

Every change to the balance, newest first: ORDER (negative), TOPUP, CREDIT (added by Burj), REFUND, ADJUSTMENT (sandbox only).

Body

  • limitinteger
    optional

    1–200, default 50

  • cursorstring
    optional

    From the previous page

  • kindstring
    optional

    ORDER, TOPUP, CREDIT, REFUND, ADJUSTMENT

  • fromstring
    optional

    YYYY-MM-DD

  • tostring
    optional

    YYYY-MM-DD

Errors

Like every authenticated endpoint, it can also return AUTH_UNAUTHORIZED (401), RATE_LIMITED (429) and INTERNAL_ERROR (500). See all error codes.

Export movements as CSV

POST
/transactions/export
CSV

Same filters as /transactions, every row as CSV.

Body

Send an empty JSON object: {}

Answers with a UTF-8 CSV file (with BOM), up to 50,000 rows. X-Truncated: true means there were more: narrow the filters.

Errors

Like every authenticated endpoint, it can also return AUTH_UNAUTHORIZED (401), RATE_LIMITED (429) and INTERNAL_ERROR (500). See all error codes.

Months with a statement

POST
/statement/months

Newest first, from the first month with activity.

Body

Send an empty JSON object: {}

Errors

Like every authenticated endpoint, it can also return AUTH_UNAUTHORIZED (401), RATE_LIMITED (429) and INTERNAL_ERROR (500). See all error codes.

Monthly statement

POST
/statement

Opening balance, totals by kind, closing balance and every movement of the month (oldest first, paginated). Opening + movements = closing.

Body

  • monthstring
    optional

    YYYY-MM, default this month

  • limitinteger
    optional

    Lines per page, default 200, max 1000

  • cursorstring
    optional

    From the previous page

Errors

Like every authenticated endpoint, it can also return AUTH_UNAUTHORIZED (401), RATE_LIMITED (429) and INTERNAL_ERROR (500). See all error codes.

Monthly statement as CSV

POST
/statement/export
CSV

The summary block, then every line.

Body

  • monthstring
    optional

    YYYY-MM

Answers with a UTF-8 CSV file (with BOM), up to 50,000 rows. X-Truncated: true means there were more: narrow the filters.

Errors

Like every authenticated endpoint, it can also return AUTH_UNAUTHORIZED (401), RATE_LIMITED (429) and INTERNAL_ERROR (500). See all error codes.