Zernio
APIFor you
Zernio
APIFor you
API Reference

Treasury

List payeesGETList top-upsGETList transfersGETCreate a payee onboarding linkPOSTCreate a top-upPOSTCreate a transferPOSTGet balanceGETGet a payout batchGETGet a top-up receiptGETGet a transferGETCancel an unpaid payout batchPOST
Dashboard
OverviewPlatformsAPI ReferenceResources
Treasury

Get a top-up receipt

The receipt for a paid top-up or creator payout payment (purpose: payout_batch). format: pdf is the Stripe invoice PDF; format: page is Stripe's receipt page, for payments that have no invoice. The link is short-lived, so fetch it when you need it. A profile-scoped key answers 403.


GET
/v1/balance/top-ups/{topupId}/receipt

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

topupId*string

Response Body

application/json

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.getTopupReceipt({  path: {    topupId: 'topup_abc123',  },});console.log(data);
{  "url": "http://example.com",  "format": "pdf"}
Was this page helpful?

Get a payout batch

One payout batch with its status and each creator's item. Poll it after the card payment to see when every creator is paid.

Get a transfer

Next Page