WalletD developers
Merchants

List settlement account entries

The merchant's settlement entries, newest first.

GET/v1/merchants/{merchantId}/statement

The merchant's settlement entries, newest first. Settlement is sharded across several accounts, so the statement is the merchant's owner history filtered to the settlement purpose rather than one account's rows; no single account is the statement. since bounds it and limit is clamped to 1-100. Requires merchants:read; an unknown id gives merchant_not_found (404). A merchant that has never moved money returns an empty list, which is the honest answer rather than an error.

Authorization

bearerAuth
AuthorizationBearer <token>

A tenant API key (sk_{env}_{id}_{secret}), a wallet user token, or an IdP access token. Which principal the credential resolves to decides the scopes it carries; see the authentication guide.

In: header

Path Parameters

merchantId*string
Formatuuid

Query Parameters

since?string
Formatdate-time
limit?integer
Range1 <= value <= 100
Default50

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/merchants/497f6eca-6276-4993-bfeb-53cbbbba6f08/statement"
[  {    "txn_id": "3dd6ecc9-94bf-4fc7-98ae-cdbe5b6f62e4",    "txn_type": "string",    "direction": "debit",    "amount": 0,    "commodity": "string",    "created_at": "2019-08-24T14:15:22Z"  }]