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
}
The 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

Example:

"{{request}}"

nonce
string
required

Unique request identifier

Example:

"{{nonce}}"

limit
integer
default:50

Pagination limit.

Example:

50

offset
integer
default:0

Pagination offset.

Example:

0

plan
string

Filter by plan ID (UUID).

Example:

"8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f"

investment
string

Filter by investment ID.

Example:

"inv_7e2d9c3b-1a4b-4c2d-9e5f-6a7b8c9d0e1f"

transaction
string

Filter by transaction ID.

Example:

"tx_9f3e0d4c-2b5c-4d3e-8f6g-7a8b9c0d1e2f"

dateFrom
integer

Filter from date (timestamp).

Example:

1640995200

dateTo
integer

Filter to date (timestamp).

Example:

1641081600

Response

Successful response

data
object[]
limit
integer
offset
integer