Balance change history

Request

curl -X POST https://api.bitsby.app/billing/history \
  -H "Authorization: Token MSvL2ltaDZdWVjmZURURMVWhqSJLT2NURjhL2Fla1Z1T1IxQTltKs1T3Ay"
  	-F "offset=0" \
	-F "limit=10"

Request parameters

Parameter
Data type
Description
Example
Mandatory?
Default

offset

Integer

Number of the initial record from which the data output will begin

0

no

0

limit

Integer

The number of records you want to retrieve

50

no

10

Example answer

{
    "result": "success",
    "data": {
        {
            "datetime": "2024-11-30 18:02:41",
            "event": "other",
            "target": "internal",
            "amount": "5.00",
            "comment": "welcome bonus 5"
        }
    }
}

Answer parameters

Parameter
Description

datetime

Event date and time

event

Event type

target

Type of balance that has been changed

amount

Amount by which the balance was changed

comment

Event comment

Last updated