System REST APIs

The system REST APIs query the MATRIXX Engine to check if recurring recharge is enabled, return domain and sub-domain information, return tenant IDs, and create Pay Now client tokens.

System Domain API Fields describes the information returned by the GET /data/json/system/domain API.
Table 1. System Domain API Fields
Field Description
DomainInfoMsg.DomainId The DomainId that this instance of RS Gateway is connected to.
DomainInfoMsg.DomainSubDomainMap A one-indexed bitvector representing the sub-domains that belong to this sub-domain. May change as engines come up.
DomainInfoMsg.Gcsn Greatest Common Schema Number (GCSN) — The Gcsn is the schema number identifying the most up-to-date schema that all sub-domains in a given domain recognize.
DomainInfoMsg.Hksn Highest Known Schema Number (HKSN) — The Hksn is the schema number identifying the most up-to-date schema that at least one sub-domain in a given domain recognizes. For example, if there are two sub-domains, and at time T0, sub-domain-A has schema versions 5260,3 and sub-domain-B has schema versions 5260,4, the Hksn is 5260,4. The sub-domain is identified by the HksnSubDomainId.
DomainInfoMsg.HksnSubDomainId The sub-domain ID of a sub-domain which recognizes the Hksn. If there are multiple such sub-domains, then this ID can be for any one of them.
DomainInfoMsg.SubDomainMap A one-indexed bitvector representing all sub-domains in the system. This value can change as engines go up and down.
DomainSubDomainNameList A human readable copy of DomainInfoMsg.DomainSubDomainMap.
SubDomainNameList A human-readable copy of DomainInfoMsg.SubDomainMap.
TenantIdList A human-readable list of tenants in this domain.
The following is a sample GET /data/json/system/domain response:
{
    "$": "DomainInfo",
    "DomainInfoMsg": {
        "$": "MtxGatewayProxyExchangeMsg",
        "DomainId": 1,
        "DomainSubDomainMap": "1000000000000000000000000000000000",
        "Gcsn": "5260/3",
        "Hksn": "5260/3",
        "HksnSubDomainId": 1,
        "SubDomainMap": "1000000000000000000000000000000000"
    },
    "DomainSubDomainNameList": [
        "RTID1"
    ],
    "HttpStatusCode": 200,
    "Result": 0,
    "ResultText": "OK",
    "SubDomainNameList": [
        "RTID1"
    ],
    "TenantIdList": [
        "tenant1",
        "tenant2"
    ],
    "_resultCode": 0,
    "_resultText": "OK",
    "_resultType": "get"
}