List static wallet deposits
Paginated list of the deposits received by a static wallet, newest first.
GET
/v1/static-wallets/{staticWalletId}/depositsAPI keyPath parameters
| Field | Type | Description |
|---|---|---|
staticWalletIdrequired | string | Static wallet ID |
Query parameters
| Field | Type | Description |
|---|---|---|
orderoptional | string | Sort order (asc/desc) |
| ||
limitoptional | integer | Limit (default 20, max 100) |
lastIdoptional | string | Last ID for pagination |
Response
200 OK
| Field | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
hasMoreoptional | boolean | True when more deposits exist beyond this page. To fetch the next page, pass the last item's id as the lastId query parameter. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
itemsoptional | StaticDepositResponse[] | Page of static-wallet deposits, ordered per the request's order parameter. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field | Type | Description |
|---|---|---|
acceptedAtoptional | integer | Unix-milliseconds timestamp when the deposit reached the accepted (safe confirmations) tier. Null before acceptance. |
addressoptional | string | On-chain address that received the deposit (the static wallet's address). |
amountoptional | string | Gross deposited amount, an integer string in the asset's smallest unit (see CreatePaymentRequest.amount). |
assetoptional | AssetID | Asset of the deposit, as an asset id-string (see GET /v1/assets). |
| ||
confirmedAtoptional | integer | Unix-milliseconds timestamp when the deposit reached finality (confirmed). Null before confirmation. |
createdAtoptional | integer | Unix-milliseconds timestamp when the deposit record was created. |
detectedAtoptional | integer | Unix-milliseconds timestamp when the deposit was first detected on-chain. |
externalIdoptional | string | ExternalID is the static wallet's externalId, denormalized onto the deposit. |
feeoptional | string | Platform fee on this deposit, integer string in the asset's smallest unit: max(0.4% of the amount, $1 equivalent). The $1 floor is 0 for assets without a published USD price. |
idoptional | string | Unique Suward identifier of the deposit. |
invalidatedAtoptional | integer | Unix-milliseconds timestamp when the deposit was invalidated (e.g. dropped by a chain reorg). Null unless invalidated. |
netAmountoptional | string | Amount credited to the merchant after fees (amount - fee - networkFee), integer string in the asset's smallest unit. |
networkFeeoptional | string | Estimated on-chain (gas) cost deducted from the deposit, integer string in the asset's smallest unit. |
projectIdoptional | string | Identifier of the project that owns this deposit. |
staticWalletIdoptional | string | Identifier of the static wallet that received this deposit. |
statusoptional | string | Deposit lifecycle status. detected: seen on-chain, awaiting confirmations. accepted: safe confirmations reached, credited (non-final). confirmed: finalized (terminal). ignored: the asset is not on the wallet's allow-list, so the deposit is not credited. invalidated: dropped after detection, e.g. by a chain reorg. |
| ||
transferIndexoptional | string | Index of this transfer within its transaction, as a string-encoded integer. Distinguishes multiple transfers to the same address in one transaction. |
txHashoptional | string | On-chain transaction hash of the deposit. |
updatedAtoptional | integer | Unix-milliseconds timestamp when the deposit was last updated. |
Errors
404 Not Found— each returns { errorCode, message, args? }. Codes, retries and limits: Errors & limits
Request
curl https://api.suward.com/v1/static-wallets/<static_wallet_id>/deposits \ -H "X-Api-Key: $SUWARD_API_KEY"const response = await fetch('https://api.suward.com/v1/static-wallets/<static_wallet_id>/deposits', { method: 'GET', headers: { 'X-Api-Key': process.env.SUWARD_API_KEY, },});const data = await response.json();package main import ( "fmt" "io" "net/http" "os") func main() { req, _ := http.NewRequest("GET", "https://api.suward.com/v1/static-wallets/<static_wallet_id>/deposits", nil) req.Header.Set("X-Api-Key", os.Getenv("SUWARD_API_KEY")) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() data, _ := io.ReadAll(res.Body) fmt.Println(string(data))}import requests, os response = requests.get( 'https://api.suward.com/v1/static-wallets/<static_wallet_id>/deposits', headers={'X-Api-Key': os.environ['SUWARD_API_KEY']},)data = response.json()Response · 200 OK
{ "hasMore": false, "items": []}Illustrative values. Every field, type and status on this page is generated from the OpenAPI specification.
Something unclear? payments@suward.com — we treat every integration question as a documentation defect.