POST api/Entities/Changes/SubMerchant

Request Information

URI Parameters

None.

Body Parameters

SubMerchantInfoItem
NameDescriptionTypeAdditional information
SupportDetails

ContactDetailsItem

None.

EntityCode

string

None.

EntityCommonName

string

None.

EntityType

string

None.

Status

string

None.

EntityGoLiveDate

date

None.

EntityInactiveDate

date

None.

RegNo

string

None.

RegNoLabel

string

None.

IsTestMerchantAccount

boolean

None.

OperatingCountry

string

None.

HasPendingChanges

boolean

None.

HasPendingBankAccountChanges

boolean

None.

QueryDuration

time interval

None.

ReadOnly

boolean

None.

IsDeleteable

boolean

None.

TimeZoneID

integer

None.

ReconciliationGroupID

string

None.

IsAggregated

boolean

None.

IsTestBankAccountConfigured

boolean

None.

FIListHasTestBank

boolean

None.

FinancialInstitutionListName

string

None.

BypassGoLiveCheckList

boolean

None.

IsShoppingCartMerchant

boolean

None.

MccCode

string

None.

MccTitle

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SupportDetails": {
    "Name": "sample string 1",
    "ContactNumber": "sample string 2",
    "Email": "sample string 3",
    "MerchantGroupID": "sample string 4",
    "EntityCode": "sample string 5",
    "EntityCommonName": "sample string 6",
    "StatementEntityID": 7,
    "ContactType": "sample string 8",
    "URL": "sample string 9",
    "Mobile": "sample string 10",
    "Empty": false
  },
  "EntityCode": "sample string 1",
  "EntityCommonName": "sample string 2",
  "EntityType": "sample string 3",
  "Status": "sample string 4",
  "EntityGoLiveDate": "2026-04-07T20:06:26.6458421+10:00",
  "EntityInactiveDate": "2026-04-07T20:06:26.6458421+10:00",
  "RegNo": "sample string 5",
  "RegNoLabel": "sample string 6",
  "IsTestMerchantAccount": true,
  "OperatingCountry": "sample string 8",
  "HasPendingChanges": true,
  "HasPendingBankAccountChanges": true,
  "QueryDuration": "00:00:00.1234567",
  "ReadOnly": true,
  "IsDeleteable": true,
  "TimeZoneID": 13,
  "ReconciliationGroupID": "sample string 14",
  "IsAggregated": true,
  "IsTestBankAccountConfigured": true,
  "FIListHasTestBank": true,
  "FinancialInstitutionListName": "sample string 18",
  "BypassGoLiveCheckList": true,
  "IsShoppingCartMerchant": true,
  "MccCode": "sample string 21",
  "MccTitle": "sample string 22"
}

application/xml, text/xml

Sample:
<SubMerchantInfoItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.Entities">
  <BypassGoLiveCheckList>true</BypassGoLiveCheckList>
  <EntityCode>sample string 1</EntityCode>
  <EntityCommonName>sample string 2</EntityCommonName>
  <EntityGoLiveDate>2026-04-07T20:06:26.6458421+10:00</EntityGoLiveDate>
  <EntityInactiveDate>2026-04-07T20:06:26.6458421+10:00</EntityInactiveDate>
  <EntityType>sample string 3</EntityType>
  <FIListHasTestBank>true</FIListHasTestBank>
  <FinancialInstitutionListName>sample string 18</FinancialInstitutionListName>
  <HasPendingBankAccountChanges>true</HasPendingBankAccountChanges>
  <HasPendingChanges>true</HasPendingChanges>
  <IsAggregated>true</IsAggregated>
  <IsDeleteable>true</IsDeleteable>
  <IsShoppingCartMerchant>true</IsShoppingCartMerchant>
  <IsTestBankAccountConfigured>true</IsTestBankAccountConfigured>
  <IsTestMerchantAccount>true</IsTestMerchantAccount>
  <MccCode>sample string 21</MccCode>
  <MccTitle>sample string 22</MccTitle>
  <OperatingCountry>sample string 8</OperatingCountry>
  <QueryDuration>PT0.1234567S</QueryDuration>
  <ReadOnly>true</ReadOnly>
  <ReconciliationGroupID>sample string 14</ReconciliationGroupID>
  <RegNo>sample string 5</RegNo>
  <RegNoLabel>sample string 6</RegNoLabel>
  <Status>sample string 4</Status>
  <TimeZoneID>13</TimeZoneID>
  <SupportDetails>
    <ContactNumber>sample string 2</ContactNumber>
    <ContactType>sample string 8</ContactType>
    <Email>sample string 3</Email>
    <EntityCode>sample string 5</EntityCode>
    <EntityCommonName>sample string 6</EntityCommonName>
    <MerchantGroupID>sample string 4</MerchantGroupID>
    <Mobile>sample string 10</Mobile>
    <Name>sample string 1</Name>
    <StatementEntityID>7</StatementEntityID>
    <URL>sample string 9</URL>
  </SupportDetails>
</SubMerchantInfoItem>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SubMerchantInfoItem'.

Response Information

Resource Description

ApiPostResultOfEntityValidationResult
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorCode

PostError

None.

ErrorMessage

string

None.

Result

EntityValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorCode": 0,
  "ErrorMessage": "sample string 2",
  "Result": {
    "Success": true,
    "ChangesFound": true,
    "Pending": true,
    "Errors": [
      {
        "FieldName": "sample string 1",
        "Message": "sample string 2"
      },
      {
        "FieldName": "sample string 1",
        "Message": "sample string 2"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ApiPostResultOfEntityValidationResultP8vk4fTu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models">
  <ErrorCode>None</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.Entities">
    <d2p1:ChangesFound>true</d2p1:ChangesFound>
    <d2p1:Errors>
      <d2p1:ItemValidation>
        <d2p1:FieldName>sample string 1</d2p1:FieldName>
        <d2p1:Message>sample string 2</d2p1:Message>
      </d2p1:ItemValidation>
      <d2p1:ItemValidation>
        <d2p1:FieldName>sample string 1</d2p1:FieldName>
        <d2p1:Message>sample string 2</d2p1:Message>
      </d2p1:ItemValidation>
    </d2p1:Errors>
    <d2p1:Pending>true</d2p1:Pending>
    <d2p1:Success>true</d2p1:Success>
  </Result>
  <Success>true</Success>
</ApiPostResultOfEntityValidationResultP8vk4fTu>