novinzodevelopers
ResellersReferenceReseller API

Get Ledger

GET/storefront-public/api/v1/ledger

Each entry's amount is in its own currency, the store's when it was written: entries from before the store changed its currency keep the one they were written in, so never add amounts of different currencies.

Authorization

bearer
AuthorizationBearer <token>

In: header

Query Parameters

cursor?|null
page?|null
limit?|null

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/storefront-public/api/v1/ledger"
{  "items": [    {      "id": "string",      "kind": "topup",      "amountMinor": -9007199254740991,      "currency": "AED",      "ref": "string",      "memo": "string",      "actor": "string",      "actorName": "string",      "createdAt": "string",      "purchase": {        "id": "string",        "status": "pending_approval",        "keys": -9007199254740991,        "products": [          "string"        ],        "buyer": {          "membershipId": "string",          "displayName": "string"        }      }    }  ],  "nextCursor": "string",  "total": 0}