mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* Use formance-sdk-go/v3 to in connector uninstall e2e test * Compile API docs from openapi spec * Generate go SDK locally for use in integration tests * Get rid of unnecessary redirect in e2e tests now that SDK is generated * Omit generated SDK code from codecoverage checks * Add flake and envrc for nix * Run Dirty and Tests CI steps with nix * Run pre-commit using nix * Remove duplicated steps from Earthfile * Fixes for linter * Add go generate to Justfile pre-commit * Still run Deploy on ubuntu-latest * Address coderabbit feedback
12 KiB
12 KiB
GetAccountBalancesRequest
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
AccountID |
string | ✔️ | The account ID. | XXX |
Limit |
*int64 | ➖ | The maximum number of results to return per page. | |
Asset |
*string | ➖ | Filter balances by currency. If not specified, all account's balances will be returned. |
|
From |
*time.Time | ➖ | Filter balances by date. If not specified, all account's balances will be returned. |
|
To |
*time.Time | ➖ | Filter balances by date. If not specified, default will be set to now. |
|
PageSize |
*int64 | ➖ | The maximum number of results to return per page. |
100 |
Cursor |
*string | ➖ | Parameter used in pagination requests. Maximum page size is set to 15. Set to the value of next for the next page of results. Set to the value of previous for the previous page of results. No other parameters can be set when this parameter is set. |
aHR0cHM6Ly9nLnBhZ2UvTmVrby1SYW1lbj9zaGFyZQ== |
Sort |
[]string | ➖ | Fields used to sort payments (default is date:desc). | [ "date:asc", "status:desc" ] |