POST api/OuterGateMerchantAggregator/StateByCause

Request Information

URI Parameters

None.

Body Parameters

Collection of MerchantAggregatorStateByCauseIn
NameDescriptionTypeAdditional information
merchant

integer

None.

reason

string

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "merchant": 1,
    "reason": "sample string 1"
  },
  {
    "merchant": 1,
    "reason": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMerchantAggregatorStateByCauseIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.MerchantAggregator.Api.Dto">
  <MerchantAggregatorStateByCauseIn>
    <MerchantId>1</MerchantId>
    <Reason>sample string 1</Reason>
  </MerchantAggregatorStateByCauseIn>
  <MerchantAggregatorStateByCauseIn>
    <MerchantId>1</MerchantId>
    <Reason>sample string 1</Reason>
  </MerchantAggregatorStateByCauseIn>
</ArrayOfMerchantAggregatorStateByCauseIn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of MerchantAggregatorStateByCauseOut
NameDescriptionTypeAdditional information
merchant

integer

None.

reason

string

None.

wire_order_date

date time

None.

wire_execution_date

date time

None.

total_amount

decimal number

None.

total_fee

decimal number

None.

linked_collections

Collection of LinkedCollection

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "merchant": 1,
    "reason": "sample string 1",
    "wire_order_date": "2026-03-21T20:58:45.8670303+01:00",
    "wire_execution_date": "2026-03-21T20:58:45.8670303+01:00",
    "total_amount": 4.0,
    "total_fee": 5.0,
    "linked_collections": [
      {
        "ltp_id": "sample string 1",
        "amount": 2.0,
        "transferred_amount": 3.0,
        "fee": 4.0,
        "custom_data": "sample string 5"
      },
      {
        "ltp_id": "sample string 1",
        "amount": 2.0,
        "transferred_amount": 3.0,
        "fee": 4.0,
        "custom_data": "sample string 5"
      }
    ]
  },
  {
    "merchant": 1,
    "reason": "sample string 1",
    "wire_order_date": "2026-03-21T20:58:45.8670303+01:00",
    "wire_execution_date": "2026-03-21T20:58:45.8670303+01:00",
    "total_amount": 4.0,
    "total_fee": 5.0,
    "linked_collections": [
      {
        "ltp_id": "sample string 1",
        "amount": 2.0,
        "transferred_amount": 3.0,
        "fee": 4.0,
        "custom_data": "sample string 5"
      },
      {
        "ltp_id": "sample string 1",
        "amount": 2.0,
        "transferred_amount": 3.0,
        "fee": 4.0,
        "custom_data": "sample string 5"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfMerchantAggregatorStateByCauseOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.MerchantAggregator.Api.Dto">
  <MerchantAggregatorStateByCauseOut>
    <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">sample string 7</ErrorMessage>
    <Success xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">true</Success>
    <LinkedCollections>
      <LinkedCollection>
        <Amount>2</Amount>
        <CustomData>sample string 5</CustomData>
        <Fee>4</Fee>
        <LtpId>sample string 1</LtpId>
        <TransferredAmount>3</TransferredAmount>
      </LinkedCollection>
      <LinkedCollection>
        <Amount>2</Amount>
        <CustomData>sample string 5</CustomData>
        <Fee>4</Fee>
        <LtpId>sample string 1</LtpId>
        <TransferredAmount>3</TransferredAmount>
      </LinkedCollection>
    </LinkedCollections>
    <MerchantId>1</MerchantId>
    <Reason>sample string 1</Reason>
    <TotalAmount>4</TotalAmount>
    <TotalFee>5</TotalFee>
    <WireExecutionDate>2026-03-21T20:58:45.8670303+01:00</WireExecutionDate>
    <WireOrderDate>2026-03-21T20:58:45.8670303+01:00</WireOrderDate>
  </MerchantAggregatorStateByCauseOut>
  <MerchantAggregatorStateByCauseOut>
    <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">sample string 7</ErrorMessage>
    <Success xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">true</Success>
    <LinkedCollections>
      <LinkedCollection>
        <Amount>2</Amount>
        <CustomData>sample string 5</CustomData>
        <Fee>4</Fee>
        <LtpId>sample string 1</LtpId>
        <TransferredAmount>3</TransferredAmount>
      </LinkedCollection>
      <LinkedCollection>
        <Amount>2</Amount>
        <CustomData>sample string 5</CustomData>
        <Fee>4</Fee>
        <LtpId>sample string 1</LtpId>
        <TransferredAmount>3</TransferredAmount>
      </LinkedCollection>
    </LinkedCollections>
    <MerchantId>1</MerchantId>
    <Reason>sample string 1</Reason>
    <TotalAmount>4</TotalAmount>
    <TotalFee>5</TotalFee>
    <WireExecutionDate>2026-03-21T20:58:45.8670303+01:00</WireExecutionDate>
    <WireOrderDate>2026-03-21T20:58:45.8670303+01:00</WireOrderDate>
  </MerchantAggregatorStateByCauseOut>
</ArrayOfMerchantAggregatorStateByCauseOut>