Skip to Content
Grail Network
API reference

Read the statement of a day

The totals of your lines recorded on one closed UTC day, from 00:00 UTC, included, to 00:00 UTC of the next day. They equal the sum of the report lines of that day, at every read. Errors: - 400 `VALIDATION_FAILED` at `day`: not a day such as 2026-11-23. - 409 `PARTNER_STATEMENT_DAY_NOT_CLOSED`: the day is not closed yet.

GET
/partner/statements/{day}

The totals of your lines recorded on one closed UTC day, from 00:00 UTC, included, to 00:00 UTC of the next day. They equal the sum of the report lines of that day, at every read.

Errors:

  • 400 VALIDATION_FAILED at day: not a day such as 2026-11-23.
  • 409 PARTNER_STATEMENT_DAY_NOT_CLOSED: the day is not closed yet.

Authorization

partnerApiKey
headerAuthorizationBearer <token>

The partner's API key.

Path Parameters

day*string

The UTC day, such as "2026-11-23". It must be closed

Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Formatdate

Response Body

application/json
  1. response
data*
Example Request
curl -X GET 'https://api-stg.grailnetwork.com/partner/statements/2019-08-24'
Example Response
{  "data": {    "day": "2019-08-24",    "lineCount": 0,    "salesCount": 0,    "salesTotal": {      "amountAtomic": "string",      "currency": "string"    },    "poolSharesCount": 0,    "poolSharesTotal": {      "amountAtomic": "string",      "currency": "string"    },    "total": {      "amountAtomic": "string",      "currency": "string"    }  }}