Buhgalter: Payment API for Fintech Startups

buhgalterapp Avatar
6 minutes

Posted by the Buhgalter team. This is our own product, described by the people who build it.

Every fintech founder hits the same wall early. The idea is a wallet, a marketplace, a top-up flow or a payroll tool, yet before any of it ships, somebody has to plug in the plumbing that moves real money. Buhgalter (https://buhgalter.app) offers a payment API for fintech startups that serve Russian users: your product requests a payment and gets SBP details, an NSPK QR, a card number for transfer or a crypto invoice, the status updates on its own, and balances leave as rubles or USDT payouts. You keep building features while the money rails already work.

Why early teams stall on payments

A two-person team can design a beautiful app in a month. Then the questions pile up. How do users top up from a Russian bank app? Who matches incoming transfers to accounts? How do partners get paid out at night? What happens when a request is sent twice because the mobile connection dropped? Each answer is a small project, and together they eat the runway.

Our view is simple: one call creates one payment with its own ID and status, and the rest is events your backend reacts to.

The payment API for fintech startups, endpoint by endpoint

  • POST /api/payments creates a payment from 1 to 100,000,000 RUB. The response carries ready payment details or a QR.
  • Sync or async. Wait for the details for up to 60 seconds in one call, or take an async response and receive the result by webhook.
  • Idempotency. Send an Idempotency-Key header, or repeat the same reference, and a retried request never turns into a double charge.
  • Webhooks arrive with an X-Buhgalter-Secret header and an HMAC-SHA256 signature in X-Buhgalter-Signature. Missed ones are retried eight times across roughly thirteen hours, every attempt is visible in the delivery log, and any event can be resent by hand.
  • POST /api/payouts sends money to a card, a phone number or a bank account. That is how auto payouts to partners, sellers or users work without an operator.
  • GET /api/fx returns the USDT/RUB rate, handy for showing a quote in your interface.
  • Test mode with the X-Buhgalter-Test header: up to 200 trial payments a day, no real funds involved.

The docs ship examples in cURL, PHP, Python, Node.js and Java. Our PDF for engineers estimates the first QR at about ten minutes of work and a production setup with webhook verification at about an hour.

Methods your users will see

  • SBP, paid inside the user’s own banking app.
  • NSPK QR, from 100 RUB, which suits micro top-ups.
  • Card number transfer, the familiar fallback.
  • Crypto invoices in USDT, BTC, ETH or TON, with the coin and the network pinned to each request.

If you do not want to build UI yet, use the hosted payment page with your logo, colour, heading and return addresses, or drop in the widget. A link expires after 30 minutes by default, adjustable from one minute to one day. Ops staff can also issue a QR for up to 1,000,000 RUB from the “Create payment” button without touching code.

Balances, currencies and settlement

Your merchant balance runs in USDT unless you choose rubles, and the conversion rate is frozen when each payment is created, so treasury math does not shift between collection and withdrawal. Settle to a bank card or account in rubles, or take USDT payouts to a TRC-20 wallet. The hold period is negotiated with your manager and can be as short as T+0.

Running several products, for instance a consumer app and a B2B pilot? Each can live as its own storefront (store_id) under a single account, with revenue separated in reports.

Pricing logic

  • A fee below the market level, taken from successful payments only.
  • Larger tickets pay a smaller percentage; teams with steady flow can request individual or VIP terms.
  • Expired, cancelled and unpaid requests are not billed.
  • Full or partial refunds go through without a platform fee.
  • Many business categories are accepted; describe your model during onboarding.

Ask for a quote based on your projected volume after registering at https://buhgalter.app.

Identity confirmation for high-value flows

Fintech products sometimes face large first payments from brand-new users. For such flows Buhgalter has a payment method with payer identity confirmation via KYCAID and NeuroVision, two secure verification providers. The payer passes the check once per payment and an employee reviews the result, which cuts down on later disputes. Turn it on selectively, for the amounts where it pays off, and keep the default flow fast for everyone else.

Data for finance and investors

Founders need tidy numbers for the board and for the accountant. Buhgalter exports Excel files, CSV that imports into 1C, and a printable reconciliation act with opening and closing balances, turnover and entries. The payments report breaks down created and paid requests, conversion, turnover, fees, credited amounts and refunds by Moscow days. The dashboard is protected with two-factor login.

Good fits

  • wallets and top-up services that need ruble inflows;
  • marketplaces paying out to sellers or performers;
  • payroll, bonus and cashback tools built on payouts;
  • crypto-friendly apps that settle in USDT;
  • SaaS products adding in-app payments for Russian customers.

From signup to production

  1. Register at https://buhgalter.app as a “Store” and outline your product and expected monthly volume.
  2. Pass the shop review and fix the rate, hold and balance currency with your personal manager.
  3. Generate an API key (bk_live_…) and run your flows in test mode.
  4. Choose the front end: hosted link, widget, your own screen or pure API.
  5. Flip to live traffic and withdraw to a card, an account or a USDT TRC-20 wallet.

Prefer to read code first? Open the docs after signing up at https://buhgalter.app and fire a test payment from your terminal.

Developer FAQ

How do I avoid duplicate payments on retries?
Pass an Idempotency-Key, or reuse the same reference; the API returns the existing payment instead of creating a new one.

How do I verify that a webhook is genuine?
Check the X-Buhgalter-Secret header and validate the HMAC-SHA256 signature in X-Buhgalter-Signature.

Can I pay users out automatically?
Yes. Call POST /api/payouts to send funds to a card, a phone number or a bank account from your balance.

Can I settle in crypto?
Yes. Keep the balance in USDT and withdraw through USDT payouts to a TRC-20 wallet.

Is there a sandbox?
Yes, test mode allows up to 200 trial payments per day.

Contacts

Website: https://buhgalter.app
Telegram, connection manager: @buhgalter_tech

Tell the manager what you are building and your expected volume. We will propose terms for your stage and stay with your team until the first live payment clears.

Leave a Reply