API
ReferenceAccount

Balance history

GET
/public/v1/transactions

Every movement of your balance, newest first, optionally filtered by action (DEPOSIT, WITHDRAWAL, WITHDRAWAL_REFUND, INSTANT_SELL_PAYOUT, PURCHASE, SALE, BALANCE_ADJUSTMENT). amount is signed in cents, negative when money left the account; balance is the resulting balance after that movement, so a page of rows reconciles without adding anything up yourself. message is a human-readable note such as the order or withdrawal it belongs to.

AuthorizationBearer <token>

API key generated from your account settings on the website. Send as Authorization: Bearer csd_....

In: header

Query Parameters

page*string
Match^[1-9]\d*$
limit*string

Value in

  • "5"
  • "10"
  • "25"
  • "30"
  • "50"
  • "100"
action?string

Value in

  • "DEPOSIT"
  • "WITHDRAWAL"
  • "WITHDRAWAL_REFUND"
  • "INSTANT_SELL_PAYOUT"
  • "PURCHASE"
  • "SALE"
  • "BALANCE_ADJUSTMENT"

Response Body

application/json

curl -X GET "https://example.com/public/v1/transactions?page=string&limit=5"
{  "transactions": [    {      "id": 1,      "action": "DEPOSIT",      "amount": -9007199254740991,      "balance": -9007199254740991,      "message": "string",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "metadata": {    "total_pages": -9007199254740991,    "total_items": -9007199254740991,    "current_page": -9007199254740991,    "current_limit": -9007199254740991  }}