Deposits and balancesList balance changes

List balance changes

List balance changes, newest first, optionally filtered.

curl -X GET "https://sandbox.rasto.co/api/balance_changes?limit=2&cursor=MjAyNi0xMS0yOVQxNzo1OTo0NC4zNjU4MTMrMDA6MDB8YmNoXzAzNTY3ZjBJdWQxanhvaG16NFpmRGM%3D&customer_id=cus_03567dbmmINi56C3sJCM7O&virtual_account_id=va_03567eKJhjscfQ4jUTOaS1&created_after=2024-12-25T10%3A00%3A00Z&created_before=2024-12-25T10%3A00%3A00Z" \
  -H "Content-Type: application/json" \
  -H "Api-Version: 2026-08-01" \
  -H "Api-Key: YOUR_API_KEY"
{
  "data": [
    {
      "amount": "-99",
      "chain": null,
      "created_at": "2026-11-29T18:00:06.136809+00:00",
      "currency": "usd",
      "customer_id": "cus_03567dbmmINi56C3sJCM7O",
      "deposit_id": null,
      "description": "99 usdc to 7xKXtg2CW87d…",
      "id": "bch_03567fRSUWeusnKTYvIEoe",
      "kind": "transaction",
      "network": null,
      "object": "balance_change",
      "status": "completed",
      "transaction_id": "txn_03567etEw3G83yU31K5a5y"
    },
    {
      "amount": "-1",
      "chain": null,
      "created_at": "2026-11-29T17:59:44.365813+00:00",
      "currency": "usd",
      "customer_id": "cus_03567dbmmINi56C3sJCM7O",
      "deposit_id": null,
      "description": "Partner fee",
      "id": "bch_03567f0Iud1jxohmz4ZfDc",
      "kind": "partner_fee",
      "network": null,
      "object": "balance_change",
      "status": "charged",
      "transaction_id": "txn_03567etEw3G83yU31K5a5y"
    }
  ],
  "has_more": true,
  "next_cursor": "MjAyNi0xMS0yOVQxNzo1OTo0NC4zNjU4MTMrMDA6MDB8YmNoXzAzNTY3ZjBJdWQxanhvaG16NFpmRGM="
}
GET
/api/balance_changes
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: Api-Key)
Api-Keystring
Required

Your secret API key, sent in the Api-Key header on every request. Create keys on the dashboard. A sandbox key starts with sk_test_ and works only on https://sandbox.rasto.co; a live key starts with sk_live_ and works only on https://api.rasto.co. A read-only key can call every GET and is refused on anything that changes state. Keep keys on your server: never ship one in a browser or mobile app.

Your secret API key, sent in the Api-Key header on every request. Create keys on the dashboard. A sandbox key starts with sk_test_ and works only on https://sandbox.rasto.co; a live key starts with sk_live_ and works only on https://api.rasto.co. A read-only key can call every GET and is refused on anything that changes state. Keep keys on your server: never ship one in a browser or mobile app.
query
limitinteger

How many to return, from 1 to 100. Defaults to 25.

Min: 1 • Max: 100
query
cursorstring

Where to continue: the next_cursor of the previous page. Omit for the first page.

query
customer_idstring

Only those belonging to this customer.

query
virtual_account_idstring

Only those that came through this virtual account.

query
created_afterstring

Only those created at or after this instant: ISO 8601 with its offset, such as 2026-11-01T00:00:00Z.

query
created_beforestring

Only those created before this instant: ISO 8601 with its offset. Not included itself, so back-to-back windows never overlap.

header
Api-Versionstring

The API version to use for this request, as a date (YYYY-MM-DD). Optional: without it you get version 2026-08-01, and that never changes. A later breaking change reaches you only when you send its newer date. Supported: 2026-08-01.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Api-Keystring
Required

API Key for authentication. Your secret API key, sent in the Api-Key header on every request. Create keys on the dashboard. A sandbox key starts with sk_test_ and works only on https://sandbox.rasto.co; a live key starts with sk_live_ and works only on https://api.rasto.co. A read-only key can call every GET and is refused on anything that changes state. Keep keys on your server: never ship one in a browser or mobile app.

Query Parameters

limitinteger

How many to return, from 1 to 100. Defaults to 25.

Example:
2
cursorstring

Where to continue: the next_cursor of the previous page. Omit for the first page.

Example:
MjAyNi0xMS0yOVQxNzo1OTo0NC4zNjU4MTMrMDA6MDB8YmNoXzAzNTY3ZjBJdWQxanhvaG16NFpmRGM=
customer_idstring

Only those belonging to this customer.

Example:
cus_03567dbmmINi56C3sJCM7O
virtual_account_idstring

Only those that came through this virtual account.

Example:
va_03567eKJhjscfQ4jUTOaS1
created_afterstring

Only those created at or after this instant: ISO 8601 with its offset, such as 2026-11-01T00:00:00Z.

created_beforestring

Only those created before this instant: ISO 8601 with its offset. Not included itself, so back-to-back windows never overlap.

Headers

Api-Versionstring

The API version to use for this request, as a date (YYYY-MM-DD). Optional: without it you get version 2026-08-01, and that never changes. A later breaking change reaches you only when you send its newer date. Supported: 2026-08-01.

Example:
2026-08-01

Responses

dataarray

The objects on this page of the list.

has_moreboolean

Whether more results follow this page. To fetch them, pass next_cursor as the cursor query parameter.

next_cursorstring

The opaque cursor for the next page. null when there are no more results.