List bank terminals
Returns the bank terminals that you synced and how each one matches a TapPay merchant.
Changes in 2026-09-27This operation is not available in this version.
GET /api/pos/v1/bank-terminals
Authentication
Secret key (Bearer)
Headers
| Name | Type | Required | Values | Description |
|---|---|---|---|---|
X-TapPay-Request-Timestamp | string | yes | ||
X-TapPay-Request-Signature | string | yes |
Query parameters
| Name | Type | Required | Values | Description |
|---|---|---|---|---|
tid | string | no | ||
match | string | no | INACTIVE, BOUND, MATCHED, UNMATCHED |
Response 200
| Name | Type | Required | Values | Description |
|---|---|---|---|---|
data | array<object> | yes | ||
data[].tid | string | yes | ||
data[].mid | string | yes | ||
data[].register_no | string | yes | ||
data[].name | string | null | yes | ||
data[].address | string | null | yes | ||
data[].status | string | yes | ACTIVE, INACTIVE | |
data[].match | string | yes | INACTIVE, BOUND, MATCHED, UNMATCHED | |
data[].synced_at | string | yes | ||
data[].merchants | array<object> | yes | ||
data[].merchants[].name | string | yes | ||
data[].merchants[].register_no | string | null | yes | ||
data[].merchants[].status | string | yes | MATCHED, BOUND, DETACHED |
Errors
| Code | Status | Message |
|---|---|---|
POS-002 | 401 | The POS access token is missing, invalid or expired. |
POS-003 | 401 | The POS API key is invalid or revoked. |
POS-004 | 401 | The request timestamp is outside the allowed time window. |
POS-005 | 401 | The request signature is invalid. |
POS-006 | 401 | This request signature was already used. |
AUTH-055 | 403 | The caller's scope does not allow this operation. |
POS-007 | 401 | A client certificate is required for this request. |
POS-091 | 403 | The terminal push flow is not enabled for this POS client. |
TOKEN=$(curl -sS -X POST "https://sandbox-api.tappay.mn/api/pos/v1/auth/token" -H "Content-Type: application/json" -d '{"grant_type":"client_credentials","client_id":"YOUR_POS_CLIENT_ID","client_secret":"YOUR_POS_CLIENT_SECRET"}' | sed -E 's/.*"access_token":"([^"]+)".*/\1/')
BODY=''
TS=$(date -u +%Y-%m-%dT%H:%M:%SZ)
SIG=$(printf '%s\n%s\n%s\n%s' 'GET' '/api/pos/v1/bank-terminals?tid=TID00001' "$TS" "$BODY" | openssl dgst -sha256 -hmac 'YOUR_POS_SIGNING_SECRET' | sed 's/^.* //')
curl -sS "https://sandbox-api.tappay.mn/api/pos/v1/bank-terminals?tid=TID00001" \
-H "Authorization: Bearer $TOKEN" \
-H "X-API-Key: YOUR_POS_API_KEY" \
-H "X-TapPay-Request-Timestamp: $TS" \
-H "X-TapPay-Request-Signature: sha256=$SIG"import { PosClient } from '@tappay-mn/node';
const pos = new PosClient({
clientId: 'YOUR_POS_CLIENT_ID',
clientSecret: 'YOUR_POS_CLIENT_SECRET',
apiKey: 'YOUR_POS_API_KEY',
signingSecret: 'YOUR_POS_SIGNING_SECRET',
environment: 'sandbox',
baseUrl: 'https://sandbox-api.tappay.mn',
});
const bankTerminal = await pos.bankTerminals.list({ query: { tid: 'TID00001' } });
console.log(JSON.stringify(bankTerminal));<?php
require 'vendor/autoload.php';
use TapPay\Pos\PosClient;
$pos = new PosClient([
'clientId' => 'YOUR_POS_CLIENT_ID',
'clientSecret' => 'YOUR_POS_CLIENT_SECRET',
'apiKey' => 'YOUR_POS_API_KEY',
'signingSecret' => 'YOUR_POS_SIGNING_SECRET',
'environment' => 'sandbox',
'baseUrl' => 'https://sandbox-api.tappay.mn',
]);
$bankTerminal = $pos->bankTerminals->list(['query' => ['tid' => 'TID00001']]);
echo json_encode($bankTerminal);import json
import tappay
pos = tappay.PosClient(
client_id="YOUR_POS_CLIENT_ID",
client_secret="YOUR_POS_CLIENT_SECRET",
api_key="YOUR_POS_API_KEY",
signing_secret="YOUR_POS_SIGNING_SECRET",
environment="sandbox",
base_url="https://sandbox-api.tappay.mn",
)
bank_terminal = pos.bank_terminals.list({"tid": "TID00001"})
print(json.dumps(bank_terminal)){
"data": [
{
"tid": "TID00001",
"mid": "MID000123",
"register_no": "5123456",
"name": "Sandbox Cafe counter",
"address": "Peace Avenue 1, Ulaanbaatar",
"status": "ACTIVE",
"match": "BOUND",
"synced_at": "2026-10-03T08:15:00.000Z",
"merchants": [
{
"name": "Sandbox Cafe",
"register_no": "5123456",
"status": "BOUND"
}
]
}
]
}
For the full flow, read the POS guide.