PlanewardPlaneward Docs
PlanewardPlaneward Docs
Welcome

Developers

REST APIAuthenticationWebhooksMCPMCP journeyTask description contentDeveloper hub

API

Get a balance GETList balance entries GETCredit a balance POSTDebit a balance POSTTransfer between balances POST
Balances

List balance entries

One account's entries, newest first.

GET
/balances/entries

One account's entries, newest first.

Authorization

x-api-key<token>

In: header

Query Parameters

kind*string

Value in

  • "treasury"
  • "workspace_member"
  • "community_member"
  • "customer"
id?string

Workspace membership id, community membership id, or customer id. Required unless kind is treasury.

limit?integer
Rangevalue <= 100
Default50
offset?integer
Range0 <= value
Default0

Response Body

application/json

curl -X GET "https://example.com/balances/entries?kind=treasury"
{  "data": [    {      "id": "string",      "accountId": "string",      "amount": 0,      "direction": "CREDIT",      "type": "SHARE",      "description": "string",      "source": "MANUAL",      "reference": "string",      "availableAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "meta": {    "total": 0,    "limit": 0,    "offset": 0  }}

Get a balance GET

Previous Page

Credit a balance POST

Settled at once; the recipient is notified (never the treasury). Crediting an active customer opens their wallet.