Deposits and balancesGet a balance change

Get a balance change

Fetch one balance change.

curl -X GET "https://sandbox.rasto.co/api/balance_changes/bch_03567fRSUWeusnKTYvIEoe" \
  -H "Content-Type: application/json" \
  -H "Api-Version: 2026-08-01" \
  -H "Api-Key: YOUR_API_KEY"
{
  "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"
}
GET
/api/balance_changes/{resource_id}
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.
path
resource_idstring
Required

The balance change's id (bch_...).

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.

Path Parameters

resource_idstring
Required

The balance change's id (bch_...).

Example:
bch_03567fRSUWeusnKTYvIEoe

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

amountstring

The signed change to the customer's funds, as a decimal string: a credit is positive, a debit negative.

chainstring

The stablecoin's chain. null for fiat.

created_atstring

When the object was created, as an ISO 8601 timestamp.

currencystring

The currency that moved in the customer's funds.

customer_idstring

The customer the object belongs to.

deposit_idstring

The deposit that caused the change. null when a transaction caused it.

descriptionstring

A short human-readable label for the change, for example Partner fee. Can be null.

idstring

The object's unique identifier. Its prefix names the object kind, for example cus_ for a customer.

kindstring

What moved the funds: deposit, funding, fee, partner_fee or transaction.

networkstring

Which network the chain is on: mainnet in live, testnet in sandbox. null wherever chain is null.

objectstring

The kind of object this is, for example customer or transaction. Every object the API returns carries it.

statusstring

The balance change's display status, fixed by its kind: received (deposit, funding), charged (fee, partner_fee) or completed (transaction).

transaction_idstring

The transaction that caused the change. null when a deposit caused it.