Get All Funding Transactions

GET https://api.sfox.com/v1/post-trade-settlement/interest/history

Retrieve a list funding transactions that have accrued to positions in your account.

Query Parameters

Name
Type
Description

limit

int

Limit on the number of results to return. Default: 100.

before

int

Pagination parameter. Return results that occurred before (older) than the specified ID (id from response body).

after

int

Pagination parameter. Return results that occurred after (newer) than the specified ID (id from response body).

start_date

timestamp

Search by minimum specified date time. Unix timestamp in ms.

end_date

timestamp

Search by maximum specified date time. Unix timestamp in ms.

Response Body

Name
Type
Description

id

int

sFOX-generated ID for the transaction. Use for before / after pagination.

currency

string

The currency of the transaction.

amount

number

Amount of the currency charged.

amount_usd

number

USD value of the amount at the time of the transaction.

date_added

datetime

Date the transaction was created.

date_updated

datetime

Date the transaction was last updated.

position_id

int

sFOX-generated ID of the PTS position that this transaction accrued to.

next_cursor

int

Newest transaction id of the results. Paginate to the next, newer page of results specifying after = this value.

prev_cursor

int

Oldest transaction id of the results. Paginate to the next, older page of results specifying before = this value.

Responses

200
400: Bad Request
401: Unauthorized
403: Forbidden

Example Requests

Last updated