Skip to main content
GET
List funding payments

Authorizations

X-Monaco-Signature
string
header
required

Ed25519 session-key request signing. Every authenticated request carries three headers: X-Monaco-PublicKey (64-char lowercase-hex session public key), X-Monaco-Timestamp (Unix milliseconds, within 30s of server time), and X-Monaco-Signature (hex ed25519 signature). The signature is over METHOD\npath?query\ntimestamp_ms\nSHA256_hex(body), where the body hash is the SHA-256 of the empty byte string when there is no body. Obtain the session keypair from POST /api/v1/auth/challenge followed by POST /api/v1/auth/verify.

Query Parameters

tradingPairId
string<uuid>

Trading pair identifier (UUID)

Minimum string length: 1
positionId
string
marginAccountId
string
pageSize
integer<uint32>
default:20

Items per page (max 1000)

Required range: 1 <= x <= 1000
pageToken
string

Pagination cursor with two states:

  • Omitted or empty string (""): start a cursor walk with no prior position, from the newest payment.
  • Non-empty: an opaque cursor from a previous response's nextPageToken; results resume immediately after that position.

The walk seeks on (created_at, id) descending. Not period_end, which the removed page-number mode led its sort with: that column is nullable and the risk engine leaves it unset when a payment carries no window, while created_at is always stamped (it falls back to the settlement instant). The id tie-break is new — the removed order had none, so a page boundary inside one funding window could already repeat or drop a payment.

total and totalPages are populated — bounded by the server count ceiling, see totalCapped. Filters must match the request that produced the token, or the request is rejected 400.

Response

OK

records
object[] | null
total
integer<uint32> | null

Number of funding payments matching the filter, bounded by the server ceiling — a lower bound when totalCapped is true.

Example:

2

pageSize
integer<uint32> | null

Items per page

Example:

20

totalPages
integer<uint32> | null

Number of pages at this pageSize, bounded by the server ceiling — a lower bound when totalCapped is true.

Example:

1

nextPageToken
string | null

Cursor for the next page, minted from the last row of an over-fetched page: this listing is one ordered read, so a page shorter than pageSize proves the walk is exhausted and this is empty.

totalCapped
boolean | null

True when more than the server ceiling of payments matched, so the count stopped at the ceiling and total/totalPages are a lower bound.

Example:

false