Merchant Configuration — MPGS

Generated page — source of truth is schema/mpgs.yaml and values/mpgs-uat.yaml. Do not edit this file directly.


What is Merchant Configuration?

Configuring an MPGS merchant in MGMT begins with two back-office API calls: creating or updating the Group record and then the Merchant record. These establish the merchant's identity, routing region, currency, business system, and gateway credentials before any payment method configuration is applied.

Getting this layer right matters because several downstream fields depend on values set here. The regionId determines which country codes are valid. The bizSystemId determines the Astral product context. Errors at this layer cascade into every transaction the merchant processes.


Provisioning Order

The full provisioning sequence is documented in Merchant Configuration Lifecycle. For this gateway, the merchant-layer steps are:

1. Group (optional — only when the merchant belongs to a named group)
       ↓
2. Merchant (required — identity, region, currency, gateway credentials)
       ↓
3. MPG Array → see MerchantPaymentGateway Configuration
4. API User
5. Terminals + Terminal Configs
6. STS Token Space / Repository

Group

A group record is optional. Create one only when the property requires merchants to be associated under a named group in MGMT. If no group is required, the groupId field on the merchant record uses a default value and no group API call is needed.

Field Var MGMT Field Required Default Sample (UAT) Notes
Group ID groupId groupId Conditional 1164 Look up via MGMT group API
Group Name group_name groupName Conditional Also written to aliasName and comment

When group_name is provided, the template also sets aliasName and comment to the same value. When it is not provided, the entire group block is omitted from the provisioning call.

Source: {{baseUrl}}/v1/group?aliasName={groupName}&groupName={groupName}&status=1


Merchant Identity

These fields establish who the merchant is in MGMT. They are required for every MPGS merchant regardless of which SKU is being configured.

Field Var MGMT Field Required Default Sample (UAT) Notes
Merchant Name merchant_name merchantName Required <merchant_name> Display name in MGMT
Region ID merchant_region regionId Required 2 Numeric region ID. 2 = Asia Pacific (UAT)
Country Code merchant_country_code countryCode Required AUS ISO alpha-3. Must be valid for the selected region
Address merchant_address addr Conditional <address> Street address
City merchant_city city Conditional Atlanta <city>
State merchant_state state Conditional GA <state>
Timezone timezone timeZone Conditional UTC Australia/Sydney IANA timezone string

Region → Country dependency: countryCode must be a valid ISO code for the selected regionId. Source: {{baseUrl}}/v1/list/country/:regionId

Region codes reference: Region Codes (BLOCKED — data/reference/regions.yaml not yet populated. See OI-004.)


Merchant Commerce Settings

These fields control transaction routing, currency, and the business system context.

Field Var MGMT Field Required Default Sample (UAT) Notes
Currency Code currency_code currencyCode Conditional 840 036 ISO numeric. 036 = AUD, 840 = USD
Business System business_system bizSystemId Conditional 000006 000006 See Business Systems
Billing Method billing_method billingMethod Conditional B04 B04
Description merchant_description description Optional Free-text

Currency codes resolve via {{baseUrl}}/v1/list/currency. The UAT default is 036 (AUD) — this reflects the UAT environment context and should be overridden for non-AUD properties.

Business system IDs map to Astral product contexts (Infrasys, MyCheck, Shiji Enterprise Platform, etc.). The default 000006 is MyCheck. Confirm the correct ID with the implementation team before provisioning. See Business Systems.


Merchant Gateway Credentials

MPGS requires a shared secret stored on the merchant record. This is the primary MGMT-to-MPGS authentication credential.

Field Var MGMT Field Required Notes
Shared Secret secretData1 secretData1 Required MPGS merchant shared secret. Never commit. Supply via secrets manager.

Additional field set by the template directly (not from values file):

MGMT Field Value Notes
extData7 1m Token / data retention period. UNCONFIRMED — exact format and allowed values not documented in repository. See OI-016.
serviceEntry 1
merchantType 0
acquirers ["13"]

Fixed Template Values

The following fields are written by the provisioning template with fixed values. They are not configurable per-merchant. They are documented here so that engineers understand what the provisioning call contains.

MGMT Field Value Notes
status 2 Merchant active status
serviceEntry 1
merchantType 0
acquirers ["13"] Acquirer ID for MPGS routing

Open Items

# Item Impact
OI-004 data/reference/regions.yaml missing — region code → name mapping not available Region Codes reference page cannot be generated; regionId values are UNCONFIRMED
OI-005 data/reference/countries.yaml missing countryCode valid values not documented
OI-006 data/reference/currencies.yaml missing Currency numeric codes not fully documented
OI-016 extData7: 1m — retention period format and allowed values unconfirmed MGMT field meaning unclear

See Also


Collecting Credentials from the MPGS Portal

When your MPGS portal setup is complete, the following credentials will be issued. Use this table to map the portal label to the correct field in the Astral MGMT configuration.

These are secrets. Never store in source control or share in plain text. Supply via the secrets manager.

Portal Label Where to find it in the portal Our Field Key MGMT Object MGMT Field
Shared Secret 🔒 MPGS portal → Merchant Admin → Shared Secret SECRET_DATA1 Merchant secretData1
Gateway Host URL 🔒 MPGS portal → Merchant Admin → API → Host URL HOST_URL MPG PM0 (bank_card) extData1
Merchant ID 🔒 MPGS portal → Merchant Admin → API → Merchant ID HOST_KEY MPG PM0 (bank_card) extData2
API Password 🔒 MPGS portal → Merchant Admin → API → API Password HOST_PASSWORD MPG PM0 (bank_card) extData3
Gateway Host URL (Token) 🔒 MPGS portal → Merchant Admin → API → Host URL TOKEN_SYNC_HOST_URL MPG PM1 (token_sync) extData1
Merchant ID (Token) 🔒 MPGS portal → Merchant Admin → API → Merchant ID TOKEN_SYNC_HOST_KEY MPG PM1 (token_sync) extData2
API Password (Token) 🔒 MPGS portal → Merchant Admin → API → API Password TOKEN_SYNC_HOST_PASSWORD MPG PM1 (token_sync) extData3
Gateway Host URL (Token Async) 🔒 MPGS portal → Merchant Admin → API → Host URL TOKEN_ASYNC_HOST_URL MPG PM1 (token_async) extData1
Merchant ID (Token Async) 🔒 MPGS portal → Merchant Admin → API → Merchant ID TOKEN_ASYNC_HOST_KEY MPG PM1 (token_async) extData2
API Password (Token Async) 🔒 MPGS portal → Merchant Admin → API → API Password TOKEN_ASYNC_HOST_PASSWORD MPG PM1 (token_async) extData3
Gateway Host URL (Ecom) 🔒 MPGS portal → Merchant Admin → API → Host URL ECOM_HOST_URL MPG PM4 (ecom_processing) extData1
Merchant ID (Ecom) 🔒 MPGS portal → Merchant Admin → API → Merchant ID ECOM_HOST_KEY MPG PM4 (ecom_processing) extData2
API Password (Ecom) 🔒 MPGS portal → Merchant Admin → API → API Password ECOM_HOST_PASSWORD MPG PM4 (ecom_processing) extData3
Terminal ID 🔒 MPGS portal → Terminal Admin → Terminal ID CHANNEL_TERMINAL_ID TerminalConfig channelTerminalId
Merchant ID 🔒 MPGS portal → Terminal Admin → Merchant ID CHANNEL_MERCHANT_ID TerminalConfig channelMerchantId

🔒 = secret field — supply via secrets manager, never hardcode.