Apply funding payments
Upsert historical funding payments and advance the funding watermark
x-api-key<token>
In: header
Header Parameters
X-Trade-Account-Id*string
UUID of the trade account the request acts on. Must belong to the authenticated user.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/sync/funding/create" \ -H "X-Trade-Account-Id: 3fa85f64-5717-4562-b3fc-2c963f66afa6" \ -H "Content-Type: application/json" \ -d '{ "payments": [ { "connector": "hyperliquid", "instrumentId": "BTC", "fundingRate": "-12.34", "notional": "-12.34", "fundingPerUnit": "-12.34", "timestamp": 1 } ], "meta": { "externalMaxTs": 0 } }'{}Retrieve funding sync since value POST
Returns effective since value for historical funding-payment synchronization
Apply funding payments from a gzipped JSON file POST
Same payload as POST /sync/funding/create, uploaded as a gzipped JSON file in the "file" multipart field. Forwarded to the worker, which decompresses and validates it off the shared core API.