Treasury
List top-ups
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
limit?integer
Range
1 <= value <= 200Default
50skip?integer
Range
0 <= valueDefault
0Response Body
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.treasury.listTopups();console.log(data);{ "topups": [ { "id": "string", "method": "card", "purpose": "balance", "payoutBatch": { "id": "string", "campaignId": "string" }, "feeCoveredByZernio": true, "amountCents": 0, "stripeFeeCents": 0, "netCents": 0, "status": "pending", "createdAt": "2019-08-24T14:15:22Z", "succeededAt": "2019-08-24T14:15:22Z" } ]}Was this page helpful?