Merchant Management Service
Reference
Data Model

Data Model (MMS)

Request Type

OrderRequest

NameInTypePresenceDescription
AuthorizationheaderStringRequiredBearer Token
createdStartqueryString(date)Optionalnone
createdEndqueryString(date)Optionalnone
transactionIdqueryStringOptionalnone
acquirerRefNoqueryStringOptionalnone
deviceIdqueryStringOptionalnone
pageSizequeryNumberOptionalDefault 10, query all use -1
pageNumberqueryNumberOptionalDefault 1
settleStatequeryNumberOptionalWAIT_FOR_SETTLE: 0
statequeryNumberOptionalINIT: 0, PROCESSING: 1, APPROVED: 2, DECLINED: 3, VOIDED: 4, REFUNDED: 5, CLOSED: 6, REVERSED: 7

MerchantRequest

NameSchemaPresenceDescription
mchNameStringOptionalMerchant name
mchIdStringRequiredMerchant unique ID generated by MineSec system
providerReferenceStringOptionalPBO unique ID for the merchant (must be unique per merchant)
contactNameStringOptionalContact name of merchant
contactEmailStringOptionalContact email of merchant
contactAddressStringOptionalContact address of merchant (will be presented in e-receipt if set)
contactPhoneStringOptionalContact phone of merchant
mccStringOptionalMerchant category code (refer to ISO18245)
activatedBooleanOptionaltrue - merchant is activated and allowed to do payment
false - merchant is inactivated
timeZoneStringOptionalTimezone of merchant (if not provided, defaults to PBO's timezone)
receiptLogoStringOptionalMerchant logo URL or a base64-encoded jpg/jpeg/png image
supportedPaymentMethodsArrayOptionalList of supported payment methods
extParamsObjectOptionalExtra parameters (e.g., MID/TID, SubMID, subTID, secret Token)
terminalEmvParamsObjectOptionalEMV parameters (won't impact settings for issued activation codes)

DeviceRequest

NameSchemaPresenceDescription
emvParamsObjectRequiredEMV parameters for the device
emvParams.amexFloorLimitStringRequiredAmex floor limit (e.g., "00000100")
emvParams.terminalCountryCodeStringRequiredTerminal country code (e.g., "0840" for USA)
emvParams.txnCurrencyCodeStringRequiredTransaction currency code (e.g., "0840" for USD)
emvParams.amexExReaderCapabilityStringRequiredAmex extended reader capability (e.g., "18E00003")
emvParams.amexReaderCapabilityStringRequiredAmex reader capability (e.g., "C3")
emvParams.terminalTypeStringRequiredTerminal type (e.g., "21")
emvParams.terminalCapabilityStringRequiredTerminal capability (e.g., "0068C8")
emvParams.ifdSNStringOptionalIFD serial number (e.g., "00001234")
emvParams.emvFlagsStringRequiredEMV flags (e.g., "VMAUJDP")
activateCodeAliasStringRequiredActivation code alias
deviceTypeStringRequiredDevice type (e.g., "COTS")
methodListStringRequiredComma-separated list of payment methods
extParamsObjectRequiredExtra parameters (e.g., MID/TID values)
mchIdStringRequiredMerchant ID

EmvRequest

NameSchemaPresenceDescription
aidStringRequiredList of Application Identifiers (AID)
appVersionStringRequiredApplication version
terminalTransactionQualifiersStringOptionalTerminal transaction qualifiers (not available for MC and Amex)
clFloorLimitLongRequiredContactless floor limit (can be 0 for online only)
clTransLimitLongRequiredContactless transaction limit (transaction declined if amount exceeds this limit)
clCVMLimitLongRequiredContactless CVM limit (if amount is ≥ this value, reader requires CVM)
terminalRiskMgmtDataStringOptionalTerminal Risk Management Data (available for MC only)
defaultDDOLStringOptionalDynamic Data Authentication Data Object List (default or "039F3704")
defaultTDOLStringOptionalDefault Transaction Certificate Data Object List (default or "0F9F02065F2A029A039C0195059F3704")
kernelConfigurationStringOptionalTag DF811B (available for MC only)
isNewCVMRuleForMCBooleanOptionalEnable new MC CVM rules (available for MC only, default is false)
cvmCapabilityCVMRequiredStringOptionalCVM Capability – CVM Required (Tag DF8118)
cvmCapabilityNoCVMStringOptionalCVM Capability – No CVM Required (Tag DF8119)

AcqProfileRequest

NameInTypeRequiredDescription
bodybodyObjectOptionalnone
profileNamebodyStringRequirednone
currencybodyStringRequirednone
connMessageFormatbodyStringRequirednone
connUrlbodyStringRequirednone
notifyUrlbodyString?Optionalnone
connTimeoutbodyNumber?Optionalnone
connRequestTimeoutbodyNumber?Optionalnone
emvListbodyObjectRequirednone
emvList.01bodyArray<Number>?Optionalnone
emvList.02bodyArray<Number>?Optionalnone
emvList.03bodyArray<Number>?Optionalnone
emvList.04bodyArray<Number>?Optionalnone
emvList.05bodyArray<Number>?Optionalnone
emvList.06bodyArray<Number>?Optionalnone
methodListbodyObjectRequirednone
methodList.01bodyArray<String>?Optionalnone
methodList.02bodyArray<String>?Optionalnone
methodList.03bodyArray<String>?Optionalnone
methodList.04bodyArray<String>?Optionalnone
methodList.05bodyArray<String>?Optionalnone
methodList.06bodyArray<String>?Optionalnone

Response Type

PboInfo

NameSchemaPresenceDescription
groupNameStringAlways
messageFormatStringAlways
groupIdStringAlways
supportUrlString?Optional
logoString?Optional
timeZoneString?Optional
emailSenderString?Optional
updatedAtStringAlways

AcquirerProfile

NameSchemaPresenceDescription
profileNameStringAlways
connRequestTimeoutIntAlways
connExtraParamsStringAlways
groupIdStringAlways
connMessageFormatStringAlways
connTimeoutIntAlways
connRetryCountIntAlways
emvListStringAlways
connSyncIntAlways
profileIdIntAlways
connUrlStringAlways
notifyUrlStringAlways
currencyStringAlways
methodListStringAlways
createdByStringAlways
createdAtStringAlways
updatedAtStringOptional

EmvInfo

NameSchemaPresenceDescription
paramsObjectRequiredEMV parameters
params.aidStringOptionalApplication Identifier
params.appVersionStringOptionalApplication version
params.clCVMLimitNumberOptionalContactless CVM limit
params.clFloorLimitNumberOptionalContactless floor limit
params.clTransLimitNumberOptionalContactless transaction limit
params.defaultDDOLStringOptionalDefault DDOL
params.defaultTDOLStringOptionalDefault TDOL
params.isNewCVMRuleForMCBooleanOptionalEnable new MC CVM rules
params.terminalRiskMgmtDataStringOptionalTerminal Risk Management Data
params.terminalTransactionQualifiersStringOptionalTerminal transaction qualifiers
emvNameStringRequiredEMV configuration name
paymentMethodStringRequiredPayment method

Merchant

NameSchemaPresenceDescription
mchNameStringOptionalMerchant name
mchIdStringRequiredMerchant unique ID generated by MineSec system
providerReferenceStringOptionalPBO unique ID for the merchant (must be unique per merchant)
contactNameStringOptionalContact name of merchant
contactEmailStringOptionalContact email of merchant
contactAddressStringOptionalContact address of merchant (will be presented in e-receipt if set)
contactPhoneStringOptionalContact phone of merchant
mccStringOptionalMerchant category code (refer to ISO18245)
activatedBooleanOptionaltrue - merchant is activated and allowed to do payment
false - merchant is inactivated
timeZoneStringOptionalTimezone of merchant (if not provided, defaults to PBO's timezone)
receiptLogoStringOptionalMerchant logo URL or a base64-encoded jpg/jpeg/png image
supportedPaymentMethodsArray<PaymentMethodBinding>OptionalList of supported payment methods
extParamsObjectOptionalExtra parameters (e.g., MID/TID, SubMID, subTID, secret Token)
terminalEmvParamsObjectOptionalEMV parameters (won't impact settings for issued activation codes)

PaymentMethodBinding

NameSchemaPresenceDescription
paymentMethodStringAlwaysPayment method
mchIdStringAlwaysMerchant unique ID (generated by MineSec)
profileIdIntAlwaysAcquirer profile ID (generated by MineSec)

Device

NameSchemaPresenceDescription
deviceTypeStringOptionalDevice type
deviceAdminStringOptionalDevice admin
activateCodeAliasStringOptionalActivation code alias
emvParamsStringOptionalEMV parameters
methodListStringOptionalList of payment methods
extParamsStringOptionalExtra parameters
deviceIdStringRequiredDevice identifier (in path)

OrderList

NameSchemaPresenceDescription
tranIdStringOptionalTransaction ID
amountObjectOptionalTransaction amount information
amount.currencyStringOptionalCurrency code
amount.valueIntOptionalAmount value (in smallest unit)
approvalCodeStringOptionalApproval code
batchNoStringOptionalBatch number
cvmPerformedStringOptionalCVM method used: NO_CVM, SIGNATURE, PIN, CDCVM
appNameStringOptionalApplication name
linkedTranIdStringOptionalLinked transaction ID (for refunds/voids)
mchNameStringOptionalMerchant name
tsiStringOptionalTransaction Status Indicator
acqTidStringOptionalAcquirer Terminal ID
rrnStringOptionalRetrieval Reference Number
tcStringOptionalTransaction Certificate
tranStatusStringOptionalTransaction status: PROCESSING, APPROVED, DECLINED, VOIDED, REVERSED, AUTH_ONLY, ADJUSTED
tranTypeStringOptionalTransaction type: SALE, REFUND, AUTH
atcStringOptionalApplication Transaction Counter
tvrStringOptionalTerminal Verification Results
traceStringOptionalTrace number
acqMidStringOptionalAcquirer Merchant ID
accountMaskedStringOptionalMasked card number
sdkIdStringOptionalSDK identifier
paymentMethodStringOptionalPayment method used (see Enums section for values)
hostMessageFormatStringOptionalHost message format
aidStringOptionalApplication Identifier
entryModeStringOptionalEntry mode

OrderDetail

NameSchemaPresenceDescription
tranIdStringOptionalTransaction ID
approvalCodeStringOptionalApproval code
cvmPerformedStringOptionalCVM method used: NO_CVM, SIGNATURE, PIN, CDCVM
tsiStringOptionalTransaction Status Indicator
tranStatusStringOptionalTransaction status: PROCESSING, APPROVED, DECLINED, VOIDED, REVERSED, AUTH_ONLY, ADJUSTED
tranTypeStringOptionalTransaction type: SALE, REFUND, AUTH
atcStringOptionalApplication Transaction Counter
traceStringOptionalTrace number
acqMidStringOptionalAcquirer Merchant ID
callbackUrlStringOptionalCallback URL
entryModeStringOptionalEntry mode
amountObjectOptionalTransaction amount information
amount.currencyStringOptionalCurrency code
amount.valueIntegerOptionalAmount value (in smallest unit)
batchNoStringOptionalBatch number
appNameStringOptionalApplication name
linkedTranIdStringOptionalLinked transaction ID (for refunds/voids)
mchNameStringOptionalMerchant name
acqTidStringOptionalAcquirer Terminal ID
rrnStringOptionalRetrieval Reference Number
tcStringOptionalTransaction Certificate
tvrStringOptionalTerminal Verification Results
accountMaskedStringOptionalMasked card number
sdkIdStringOptionalSDK identifier
paymentMethodStringOptionalPayment method (see Enums section for values)
hostMessageFormatStringOptionalHost message format
actionsArray<Object>OptionalTransaction actions
actions[].tranIdStringOptionalTransaction ID
actions[].actionTypeStringOptionalAction type
actions[].reasonStringOptionalAction reason
actions[].amountObjectOptionalAction amount
actions[].amount.currencyStringOptionalCurrency code
actions[].amount.valueIntegerOptionalAmount value
actions[].traceStringOptionalTrace number
actions[].actionStatusStringOptionalAction status
actions[].hostRespCodeStringOptionalHost response code
actions[].actionIdStringOptionalAction ID
aidStringOptionalApplication Identifier

SettleDetail

NameSchemaPresenceDescription
paymentAmtIntOptionalTotal payment amount
profileNameStringOptionalAcquirer profile name
profileMessageStringOptionalProfile message
refundCountIntOptionalNumber of refund transactions
uuidStringOptionalUnique settlement identifier
acquirerMidStringOptionalAcquirer Merchant ID
mchNameStringOptionalMerchant name
voidAmtIntOptionalTotal void amount
batchIdStringOptionalBatch identifier
transactionsArray<Object>OptionalList of transactions in the settlement
transactions[].amountIntOptionalTransaction amount
transactions[].transTypeStringOptionalTransaction type
transactions[].countIntOptionalCount of transactions
transactions[].paymentMethodStringOptionalPayment method used
createdAtStringOptionalSettlement creation timestamp
successTimeStringOptionalSettlement success timestamp
currencyStringOptionalCurrency code
acquirerTidStringOptionalAcquirer Terminal ID
stateIntOptionalSettlement state: 0 - WAIT_FOR_SETTLE, 1 - SETTLED, 2 - SETTLE_FAILED
acquirerRefNoStringOptionalAcquirer reference number
acquirerCodeStringOptionalAcquirer code
paymentCountIntOptionalNumber of payment transactions
refundAmtIntOptionalTotal refund amount
voidCountIntOptionalNumber of void transactions

Common

Response<T>

NameSchemaPresenceDescription
msgStringAlways
codeIntAlways
dataT?OptionalOnly exist if success

Response List<T>

NameSchemaPresenceDescription
msgStringAlways
codeIntAlways
dataT?OptionalOnly exist if success
totalNumberAlwaysTotal records count
currentNumberAlwaysCurrent page number
recordsArray<T>AlwaysPage records
hasNextBooleanAlwaysHas next page flag

Enums

PaymentMethod

PropertyValueCode
paymentMethodVISA01
paymentMethodMASTERCARD02
paymentMethodUNIONPAY03
paymentMethodAMEX04
paymentMethodJCB06
paymentMethodDISCOVER05
paymentMethodDINERS07
paymentMethodELO08
paymentMethodALIPAYA2
paymentMethodWECHATA1
paymentMethodVISA_QRB1
paymentMethodMASTERCARD_QRB2
paymentMethodUNIONPAY_QRB3
paymentMethodSHOPEE_PAY_QRC1
paymentMethodGRAB_PAY_QRC8
paymentMethodPAY_NOWC2
paymentMethodLINEPAYC3
paymentMethodPIC4
paymentMethodESUNWALLETC5
paymentMethodTAIWANPAYC6
paymentMethodEASYWALLETC7
paymentMethodGAMA_PAYC9
paymentMethodICASH_PAYC10
paymentMethodIPASSMONEY_PAYC11
paymentMethodJIEKOU_PAYC12
paymentMethodOUFUBAOC13
paymentMethodQUAN_PAYC14
paymentMethodQUAN_YIN_PAYC15
paymentMethodXIAOYOU_PAYC16
paymentMethodEZ_PAYA3