Skip to main content
POST
/
api
/
v4
/
main-account
/
smart-flex
/
investments
/
payment-history
Get Flex Payment History
curl --request POST \
  --url https://whitebit.com/api/v4/main-account/smart-flex/investments/payment-history \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "limit": 50,
  "offset": 0,
  "plan": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
  "investment": "inv_123",
  "transaction": "tx_456",
  "dateFrom": 1640995200,
  "dateTo": 1641081600,
  "request": "{{request}}",
  "nonce": "{{nonce}}"
}
'
{
  "data": [
    {
      "createdAt": 1640995200,
      "planId": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
      "investmentId": "inv_7e2d9c3b-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
      "currency": "USDT",
      "amount": "15.75",
      "transactionId": "tx_9f3e0d4c-2b5c-4d3e-8f6g-7a8b9c0d1e2f",
      "actionType": 4
    }
  ],
  "limit": 50,
  "offset": 0
}
This endpoint automatically filters to show ONLY DAILY_EARNING operations (type 4)

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
request
string
required

Request signature

nonce
string
required

Unique request identifier

limit
integer
default:50

Pagination limit.

offset
integer
default:0

Pagination offset.

plan
string

Filter by plan ID (UUID).

investment
string

Filter by investment ID.

transaction
string

Filter by transaction ID.

dateFrom
integer

Filter from date (timestamp).

dateTo
integer

Filter to date (timestamp).

Response

Successful response

data
object[]
limit
integer
offset
integer