merce.STACK
merce.STACK
Skip to content
PricingDevelopersSecurityAbout
Log inRequest access
{}Developers
GuidesAPI referenceChangelogGet API keys →
  • Get started

    • Quickstart
    • Keys & authentication
  • Storefront

    • Products & catalog
    • Carts
    • Checkout & payment
    • Customer accounts
    • Digital products
    • Without a build step
  • Server API

    • Server API
    • Customers
    • Payment links & transactions
    • Balance & payouts
    • Classes & students
    • Node SDK
  • Events & errors

    • Webhooks
    • Errors
  • Reference

    • API reference
    • Changelog

Server API

Balance & payouts

What Mercestack holds for you, and what has been paid to your bank.

New collections settle into the platform's Bachs balance. Mercestack's append-only workspace ledger tracks what is owed after provider and platform fees. Money is pending for the settlement hold, then available. The workspace owner requests a payout in Payments → Payouts; an administrator reviews it and Bachs sends it to the registered bank destination.

Payouts settle asynchronously

An accepted payout is still processing. Treat payout.paid as confirmation; a failed payout returns the reserved amount to the workspace ledger.

Get your balance

GET/v1/balance
Secret keypayouts:read

One row per currency.

curl https://api.mercestack.com/v1/balance \
  -H "Authorization: Bearer sk_test_…"
Response
{
  "object": "balance",
  "balances": [
    {
      "currency": "NGN",
      "available": "124500.00",
      "availableMinor": "12450000",
      "pending": "18000.00",
      "pendingMinor": "1800000",
      "paidOut": "820000.00"
    }
  ]
}

List payouts

GET/v1/payouts
Secret keypayouts:read

requested → processing → paid, or rejected / failed (the amount goes back to your balance).

curl https://api.mercestack.com/v1/payouts \
  -H "Authorization: Bearer sk_test_…"
Response
{
  "object": "list",
  "data": [
    {
      "id": "p_91…",
      "amount": "450000.00",
      "currency": "NGN",
      "status": "paid",
      "account": { "bankName": "GTBank", "accountName": "ACME LTD", "accountNumberMasked": "••••6789" },
      "paidAt": "2026-09-20T09:00:00.000Z",
      "createdAt": "2026-09-19T15:00:00.000Z"
    }
  ],
  "hasMore": false,
  "nextCursor": null
}
← PreviousPayment links & transactionsNext →Classes & students

On this page

  • GETGet your balance
  • GETList payouts
Request accessTalk to usPricing

Mercestack is the business operating system — your team, customers, store, classes and payouts in one place.

Request access

Platform

  • Overview
  • Organization & work
  • Customers, support & messaging
  • Payments, store & classes
  • Flow, AI & Marverse
  • Analytics, growth & files

Developers

  • Quickstart
  • Server API
  • Customer accounts
  • Payment links
  • Webhooks
  • Changelog

Company

  • About
  • Pricing
  • Security
  • Contact
  • Report a vulnerability

Legal

  • Privacy
  • Terms
  • Cookie policy
  • GDPR
  • Privacy contact

© 2026 Mercestack. All rights reserved.

Mercestack StructureOS

mercestack