Z Zise Developers 简体中文

Available QR standards, synchronized from upstream rather than static constants

GET /v1/qrpay/schemes scope: qrpay:read
Merchant account

Not static constants. The upstream’s QR-standard catalog changes; we return synchronized results. Hardcoding it would keep displaying a standard after the upstream disables it.

⚠ Standards no longer returned by the upstream are excluded, but historical orders retain them to explain which standard was used. An order may therefore contain a standard absent from this list. That is normal, not drift; do not validate historical orders against this list.

region uses ISO 3166-1 alpha-2 and may be empty because the upstream omits countries for some corridors. Treat that as an unknown region rather than filtering out the entry.

Parameters

This endpoint takes no parameters: no path parameters, query parameters or request body. For the authentication header (x-auth-token) and on-behalf-of header (x-on-behalf-of), see Authentication and Signing.

Response

200Not paginated. Sorted by region + code.
{
  "data": [
    {
      "code": "PROMPTPAY",
      "name": "PromptPay",
      "currency": "THB",
      "region": "TH"
    },
    {
      "code": "QRIS",
      "name": "QRIS",
      "currency": "IDR",
      "region": "ID"
    }
  ],
  "next_cursor": null,
  "has_more": false
}
403insufficient_scope: this key lacks qrpay:read
Request
curl -X GET 'https://api.zinfra.vip/v1/qrpay/schemes' \
  -H 'x-auth-token: Bearer $TOKEN'
const res = await fetch("https://api.zinfra.vip/v1/qrpay/schemes", {
  method: "GET",
  headers: {
    "x-auth-token": "Bearer $TOKEN",
  },
});
// Keep monetary amounts as strings, never numbers.
const data = await res.json();
import requests

res = requests.get(
    "https://api.zinfra.vip/v1/qrpay/schemes",
    headers={
        "x-auth-token": "Bearer $TOKEN",
    },
)
# Use Decimal(str(...)) for amounts, not float.
data = res.json()
req, _ := http.NewRequest("GET", "https://api.zinfra.vip/v1/qrpay/schemes",
    nil)
req.Header.Set("x-auth-token", "Bearer $TOKEN")
res, err := http.DefaultClient.Do(req)
// Decode amount fields as string, not float64.
HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://api.zinfra.vip/v1/qrpay/schemes"))
    .header("x-auth-token", "Bearer $TOKEN")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
// Use String / BigDecimal for amounts, not double.
$ch = curl_init('https://api.zinfra.vip/v1/qrpay/schemes');
curl_setopt_array($ch, [
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => [
    'x-auth-token: Bearer $TOKEN',
  ],
]);
$res = curl_exec($ch);
// Use bcmath / strings for amounts, not floatval.
200
{
  "data": [
    {
      "code": "PROMPTPAY",
      "name": "PromptPay",
      "currency": "THB",
      "region": "TH"
    },
    {
      "code": "QRIS",
      "name": "QRIS",
      "currency": "IDR",
      "region": "ID"
    }
  ],
  "next_cursor": null,
  "has_more": false
}