Skip to content

Glossary

View as Markdown

Invoice

A request for money for one order. It has an amount, a status and one or more payment intents.

PaymentIntent

One attempt to collect the amount of an invoice. An invoice can have several intents, for example when the first one expires.

Payment

The result of a payment intent that the customer paid. It records the amount, the fee and the net amount you receive.

Checkout session

A page where your customer pays. You create it from your server, and it creates the invoice and the payment intent for you.

Sandbox

A separate environment with its own keys where you can test without moving real money. Webhooks are sent as in production.

Production

The live environment where real customers pay and real money moves. It uses keys that start with sk_live_ and pk_live_.

Secret key

The API key for your server, which starts with sk_. Never put it in a browser or a mobile app.

Publishable key

The API key for a browser, which starts with pk_. It can only be used by the TapPay checkout script.

Scope

A permission on an API key, such as checkout:write. A request to an operation that needs a scope the key lacks is rejected.

Idempotency key

A unique value you send in the Idempotency-Key header of a POST request. If you repeat the request with the same key, TapPay does the work once.

TapPay-Version

A request header with an API version date, such as 2026-09-27. It keeps your integration on the behavior you built it for.

Event

A record that something happened, such as payment.succeeded. It has an id, a type and the objectId it is about.

Webhook endpoint

A URL on your server that TapPay calls when an event happens. You choose which events it receives.

Webhook secret

The secret that signs the webhooks of one endpoint. It starts with whsec_ and is shown once when you create the endpoint.

Signature (HMAC)

A value that proves a request or a webhook came from TapPay and was not changed. TapPay computes it with HMAC-SHA256 over the request.

Simulator

A sandbox tool that acts as the customer, the bank or the card network. It lets you test a paid, declined or timed-out payment.

Partial payment

Paying one invoice in several parts. The invoice partialMode is NONE, AMOUNT or LINES, and each part is its own payment intent.

Channel

The way a customer pays an intent: QPAY, NODE_QR, WECHAT, CARD or R2P. You can show a channel with the present operation.

Presentation

The QR, deeplink or page of the channel chosen for a payment intent. It is created when the customer picks a channel or you present it.

MPM

A QR code that the merchant shows, on paper or on a screen, and the customer scans with a wallet app.

CPM

A QR code that the customer app shows and the cashier scans. It is used once and its number starts with NK.

Static QR

A printed QR code of the merchant with no amount. Its number starts with SQR-, and each scan after the customer says the amount creates a new invoice.

Dynamic QR

A QR code shown on a screen together with its amount. Its number starts with NQ, and an intent has one live QR.

A stable link of a payment intent, such as https://pay.tappay.mn/q/{intentId}. It stays the same when a dynamic QR is replaced.

Pre-auth

A payment with authorizationType: PREAUTH. The customer is charged first, and you set the final amount later with finalize.

Finalize

The one call that sets the final amount of a pre-auth, which is at most the paid amount. If you do not call it in time, TapPay finalizes the full amount.

Customer

A person or company in your own records, with your own customerId. It holds the payment methods and subscriptions that you save for it.

Payment method

A way to pay that you saved for a customer. Its kind is CARD for a card token or WALLET_MANDATE for a wallet consent.

CIT

A payment that the customer starts and confirms, such as the first payment that saves a card.

MIT

A payment that you start with a saved payment method, without the customer present, such as a subscription cycle.

A link between your merchant and a wallet user, created when the user first pays you. R2P requests and bills use it.

R2P

A request to pay. You ask a wallet user who has a payer link with you to pay an invoice.

Refund

A return of money from one payment. A payment can have several partial refunds, and their sum cannot be more than the paid amount.

Overpaid

A second successful payment of the same QR. It is marked OVERPAID and returned automatically, with no fee and no netting.

Split

Dividing the net amount of a payment between several merchants by percent. It is set on the invoice or by the merchant rules.

Beneficiary

A registered merchant with KYC that receives a share of a split. It must be ACTIVE, which means that it accepted.

Receipt (eBarimt)

The tax receipt of a payment. TapPay issues it or you send your own, depending on the receipt issuer.

Receipt issuer

Who issues the tax receipt: MERCHANT, NODE or NONE. It is set on the merchant, and an invoice can override it.

Fulfillment

The progress of your service after payment. It is separate from the payment status, and you write its stage and message.

Payout

A transfer of your available balance from the settlement account to your own bank account, by the schedule of your payout policy.

Settlement

The cycle that brings the money of payments to the settlement account (SA). A payout can use the money only after it arrives there.

Terminal

The logical terminal ID of a merchant. It always has a settlement account (SA).

Order line

One line of an invoice with a name, a quantity and a unit price. You send the lines in lines[].

Sticker

A sticker with an NFC chip and a static QR code, printed by TapPay or your bank. You link it to a terminal with the SN on its front. The payments it creates belong to the branch of that terminal.

Subscription

A repeating charge of a customer by a billing plan. Each cycle creates an invoice, an intent and an MIT payment.

Billing plan

The plan that subscriptions follow. A subscription charges the customer once for every cycle of its plan.

Report

A file that you request from TapPay, such as a settlement, payout or ledger report. It is created in the background and has its own status.

Terminal key

An API key limited to one terminal. A key without this limit must pass terminalId in the request.

Test card

A card number that works only in the sandbox simulator. Some succeed and others decline, so you can test both results.

A link to the TapPay checkout page that you share with customers, without writing code.

API version

The date in the TapPay-Version header, such as 2026-09-27. A breaking change gets a new date.

Error code

A code such as AUTH-018 in an error response. Each code has a cause and a fix on the Errors page.

Mandate

The consent of a wallet user that lets you charge them later, up to a maximum amount and by a frequency. It is a payment method of kind WALLET_MANDATE.

Dispute

A claim by a payer about a payment, for example that the goods did not arrive or the amount is wrong.