List payments
Returns your payments, newest first, with their fee and net amount, filtered by terminalId or a date range (from, to). Payments taken at a terminal without an invoice are included. Each item has the same fields as Retrieve a payment. Continue with cursor while hasMore is true.
A key limited to one terminal sees only that terminal’s payments. A key without a terminal limit passes terminalId to filter by terminal.
Changes in 2026-09-27This operation is not available in this version.
GET /api/v1/paymentsSince 2026-09-27
Authentication
Secret key (Bearer)
Headers
| Name | Type | Required | Values | Description |
|---|---|---|---|---|
TapPay-Version | string | no | ||
TapPay-Timestamp | string | no | ||
TapPay-Nonce | string | no | ||
TapPay-Signature | string | no |
Query parameters
| Name | Type | Required | Values | Description |
|---|---|---|---|---|
cursor | string | no | ||
limit | integer | no | ||
terminalId | string (uuid) | no | ||
from | string | no | created_at огноо (YYYY-MM-DD) = Улаанбаатарын (UTC+8) хуанлийн өдөр; `to` өдөр бүтнээрээ орно | |
to | string | no | created_at огноо (YYYY-MM-DD) = Улаанбаатарын (UTC+8) хуанлийн өдөр; `to` өдөр бүтнээрээ орно |
Response 200
| Name | Type | Required | Values | Description |
|---|---|---|---|---|
success | boolean | yes | true | |
data | object | yes | ||
data.data | array<object> | yes | ||
data.data[].id | string | yes | ||
data.data[].intentId | string | yes | ||
data.data[].invoiceId | string | null | yes | ||
data.data[].status | string | yes | PROCESSING, SUCCEEDED, FAILED, OVERPAID, AUTHORIZED, CANCELLED | |
data.data[].amount | number | yes | ||
data.data[].currency | string | yes | ||
data.data[].channel | string | yes | QPAY, NODE_QR, WECHAT, CARD, R2P | |
data.data[].payerWallet | object | null | yes | ||
data.data[].payerWallet.code | string | yes | ||
data.data[].payerWallet.name | string | yes | ||
data.data[].payerWallet.logoUrl | string | null | yes | ||
data.data[].payerWallet.type | string | yes | APP, WEB, WECHAT | |
data.data[].sticker | object | null | yes | ||
data.data[].sticker.serialNo | string | null | yes | ||
data.data[].sticker.sqrRef | string | yes | ||
data.data[].sticker.name | string | null | yes | ||
data.data[].feeAmount | number | null | yes | ||
data.data[].merchantNet | number | null | yes | ||
data.data[].serviceFeeMerchant | number | yes | ||
data.data[].serviceFeeCustomer | number | yes | ||
data.data[].succeededAt | string | null | yes | ||
data.data[].createdAt | string | yes | ||
data.data[].fulfillment | object | null | yes | ||
data.data[].fulfillment.status | string | yes | PENDING, IN_PROGRESS, COMPLETED, FAILED, CANCELLED | |
data.data[].fulfillment.stage | string | null | yes | ||
data.data[].fulfillment.message | string | null | yes | ||
data.data[].fulfillment.updatedAt | string (date-time) | yes | ||
data.data[].receipt | object | null | yes | ||
data.data[].receipt.receipt | object | yes | ||
data.data[].receipt.receipt.id | string (uuid) | yes | ||
data.data[].receipt.receipt.status | string | yes | PENDING, REGISTERED, FAILED, RETURNED | |
data.data[].receipt.receipt.issuer | string | yes | MERCHANT, NODE | |
data.data[].receipt.receipt.receiptType | string | null | yes | B2C, B2B, SALES, null | |
data.data[].receipt.receipt.ddtd | string | null | yes | ||
data.data[].receipt.receipt.lottery | string | null | yes | ||
data.data[].receipt.receipt.qrData | string | null | yes | ||
data.data[].receipt.receipt.url | string | null | yes | ||
data.data[].receipt.receipt.merchantReceiptNo | string | null | yes | ||
data.data[].receipt.receipt.amount | string | null | yes | ||
data.data[].receipt.receipt.vat | string | null | yes | ||
data.data[].receipt.receipt.cityTax | string | null | yes | ||
data.data[].receipt.receipt.issuedAt | string | null | yes | ||
data.data[].receipt.receipt.returnedAt | string | null | yes | ||
data.data[].receipt.receipt.failureReason | string | null | yes | ||
data.data[].receipt.receipt.lines | array | null | yes | ||
data.data[].receipt.receipt.attempts | integer | yes | ||
data.data[].receipt.receipt.nextAttemptAt | string | null | yes | ||
data.data[].receipt.receipt.recipientFallback | boolean | yes | ||
data.data[].receipt.receipt.parts | array | null | yes | ||
data.data[].receipt.history | array<object> | yes | ||
data.data[].receipt.history[].id | string (uuid) | yes | ||
data.data[].receipt.history[].status | string | yes | PENDING, REGISTERED, FAILED, RETURNED | |
data.data[].receipt.history[].issuer | string | yes | MERCHANT, NODE | |
data.data[].receipt.history[].receiptType | string | null | yes | B2C, B2B, SALES, null | |
data.data[].receipt.history[].ddtd | string | null | yes | ||
data.data[].receipt.history[].lottery | string | null | yes | ||
data.data[].receipt.history[].qrData | string | null | yes | ||
data.data[].receipt.history[].url | string | null | yes | ||
data.data[].receipt.history[].merchantReceiptNo | string | null | yes | ||
data.data[].receipt.history[].amount | string | null | yes | ||
data.data[].receipt.history[].vat | string | null | yes | ||
data.data[].receipt.history[].cityTax | string | null | yes | ||
data.data[].receipt.history[].issuedAt | string | null | yes | ||
data.data[].receipt.history[].returnedAt | string | null | yes | ||
data.data[].receipt.history[].failureReason | string | null | yes | ||
data.data[].receipt.history[].lines | array | null | yes | ||
data.data[].receipt.history[].attempts | integer | yes | ||
data.data[].receipt.history[].nextAttemptAt | string | null | yes | ||
data.data[].receipt.history[].recipientFallback | boolean | yes | ||
data.data[].receipt.history[].parts | array | null | yes | ||
data.data[].ebarimt | object | null | yes | ||
data.data[].ebarimt.id | string (uuid) | yes | ||
data.data[].ebarimt.status | string | yes | PENDING, REGISTERED, FAILED, RETURNED | |
data.data[].ebarimt.issuer | string | yes | MERCHANT, NODE | |
data.data[].ebarimt.receiptType | string | null | yes | B2C, B2B, SALES, null | |
data.data[].ebarimt.ddtd | string | null | yes | ||
data.data[].ebarimt.lottery | string | null | yes | ||
data.data[].ebarimt.qrData | string | null | yes | ||
data.data[].ebarimt.url | string | null | yes | ||
data.data[].ebarimt.merchantReceiptNo | string | null | yes | ||
data.data[].ebarimt.amount | string | null | yes | ||
data.data[].ebarimt.vat | string | null | yes | ||
data.data[].ebarimt.cityTax | string | null | yes | ||
data.data[].ebarimt.issuedAt | string | null | yes | ||
data.data[].ebarimt.returnedAt | string | null | yes | ||
data.data[].ebarimt.failureReason | string | null | yes | ||
data.data[].ebarimt.lines | array | null | yes | ||
data.data[].ebarimt.attempts | integer | yes | ||
data.data[].ebarimt.nextAttemptAt | string | null | yes | ||
data.data[].ebarimt.recipientFallback | boolean | yes | ||
data.data[].ebarimt.parts | array | null | yes | ||
data.data[].authorizationType | string | yes | FINAL, PREAUTH | |
data.data[].preauthMode | string | null | yes | CHARGE_REFUND, HOLD, null | |
data.data[].preauthStatus | string | null | yes | OPEN, FINALIZED, AUTO_FINALIZED, null | |
data.data[].finalAmount | string | null | yes | ||
data.data[].finalizeDueAt | string | null | yes | ||
data.data[].authorizedAt | string | null | yes | ||
data.data[].preauthRefundId | string | null | yes | ||
data.data[].paymentMethodId | string | no | ||
data.data[].customer | string | no | ||
data.data[].failureCode | string | null | no | ||
data.data[].declineRetryable | boolean | no | ||
data.data[].ebarimtRecipient | object | null | yes | ||
data.data[].ebarimtRecipient.type | string | yes | CITIZEN, ORG, NONE | |
data.data[].ebarimtRecipient.register | string | null | yes | ||
data.data[].ebarimtRecipient.tin | string | null | yes | ||
data.data[].ebarimtRecipient.email | string | null | yes | ||
data.data[].settlement | object | null | yes | ||
data.data[].settlement.cycleId | string (uuid) | yes | ||
data.data[].settlement.businessDate | string | yes | ||
data.data[].settlement.seq | integer | yes | ||
data.data[].settlement.status | string | yes | OPEN, RUNNING, CLOSED, CARRIED | |
data.data[].settlement.credited | boolean | yes | ||
data.data[].promotions | array<object> | no | ||
data.data[].promotions[].promotionId | string (uuid) | yes | ||
data.data[].promotions[].kind | string | yes | ||
data.data[].promotions[].amount | number | yes | ||
data.hasMore | boolean | yes | ||
data.nextCursor | string | null | yes |
Errors
| Code | Status | Message |
|---|---|---|
AUTH-001 | 401 | The API key is missing, invalid or revoked. |
EVT-206 | 401 | Production keys are not accepted in the sandbox. Use a sandbox key (sk_test_/pk_test_). |
EVT-207 | 401 | Sandbox keys are not accepted in production. Use a production key (sk_live_/pk_live_). |
AUTH-018 | 403 | The request came from an IP address that is not on the key's allowlist. |
AUTH-058 | 403 | The API key does not have the scope this operation requires. |
SIG-002 | 401 | The request timestamp is outside the allowed time window. |
SIG-003 | 401 | The request signature is missing or does not match. |
SIG-005 | 409 | This request nonce was already used. |
VAL-014 | 400 | The TapPay-Version header is not a known API version. |
BIZ-004 | 403 | The terminal is not active. |
BIZ-005 | 403 | The merchant account is not in a state that allows this request. |
VAL-001 | 400 | The request failed validation. |
BIZ-013 | 404 | The terminal was not found. |
curl -sS "https://api.tappay.mn/api/v1/payments?limit=10" \
-H "Authorization: Bearer sk_test_YOUR_SECRET_KEY" \
-H "TapPay-Version: 2026-09-27"import { TapPay } from '@tappay-mn/node';
const tappay = new TapPay({ apiKey: 'sk_test_YOUR_SECRET_KEY' });
const page = await tappay.payments.list({ query: { limit: 10 } }).firstPage();
console.log(JSON.stringify(page));<?php
require 'vendor/autoload.php';
use TapPay\TapPay;
$tappay = new TapPay(['apiKey' => 'sk_test_YOUR_SECRET_KEY']);
$page = $tappay->payments->list(['query' => ['limit' => 10]])->firstPage();
echo json_encode(['data' => $page->data, 'hasMore' => $page->hasMore, 'nextCursor' => $page->nextCursor]);import json
import tappay
client = tappay.TapPay("sk_test_YOUR_SECRET_KEY")
page = client.payments.list({"limit": 10}).first_page()
print(json.dumps({"data": page.data, "has_more": page.has_more, "next_cursor": page.next_cursor})){
"success": true,
"data": {
"data": [
{
"id": "0192f8a4-1b2c-7d3e-8f40-5a6b7c8d9e04",
"intentId": "0192f8a4-1b2c-7d3e-8f40-5a6b7c8d9e03",
"invoiceId": "0192f8a4-1b2c-7d3e-8f40-5a6b7c8d9e01",
"status": "SUCCEEDED",
"amount": 1000,
"currency": "MNT",
"channel": "CARD",
"payerWallet": null,
"sticker": null,
"feeAmount": 15,
"merchantNet": 985,
"serviceFeeMerchant": 0,
"serviceFeeCustomer": 0,
"succeededAt": "2026-10-03T08:16:12.000Z",
"createdAt": "2026-10-03T08:16:12.000Z",
"fulfillment": null,
"receipt": null,
"ebarimt": null,
"authorizationType": "FINAL",
"preauthMode": null,
"preauthStatus": null,
"finalAmount": null,
"finalizeDueAt": null,
"authorizedAt": null,
"preauthRefundId": null,
"ebarimtRecipient": null,
"settlement": {
"cycleId": "0192f8a4-1b2c-7d3e-8f40-5a6b7c8d9e30",
"businessDate": "2026-10-03",
"seq": 2,
"status": "CLOSED",
"credited": true
}
}
],
"hasMore": false,
"nextCursor": null
}
}
For the full flow, read the guide.