POST api/pod/billing/RequestMultiSettlement

Request Information

URI Parameters

None.

Body Parameters

RequestMultiSettlementBindingModel
NameDescriptionTypeAdditional information
UniqueId

string

Required

IpgResponse

string

None.

SettlmentAccounts

Collection of MultiSettlementAccount

None.

Request Formats

application/json, text/json

Sample:
{
  "UniqueId": "sample string 1",
  "IpgResponse": "sample string 2",
  "SettlmentAccounts": [
    {
      "AccountType": "sample string 1",
      "AccountId": "sample string 2",
      "Amount": 3
    },
    {
      "AccountType": "sample string 1",
      "AccountId": "sample string 2",
      "Amount": 3
    }
  ]
}

application/xml, text/xml

Sample:
<RequestMultiSettlementBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <IpgResponse>sample string 2</IpgResponse>
  <SettlmentAccounts>
    <MultiSettlementAccount>
      <AccountId>sample string 2</AccountId>
      <AccountType>sample string 1</AccountType>
      <Amount>3</Amount>
    </MultiSettlementAccount>
    <MultiSettlementAccount>
      <AccountId>sample string 2</AccountId>
      <AccountType>sample string 1</AccountType>
      <Amount>3</Amount>
    </MultiSettlementAccount>
  </SettlmentAccounts>
  <UniqueId>sample string 1</UniqueId>
</RequestMultiSettlementBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RequestMultiSettlementViewModel
NameDescriptionTypeAdditional information
Data

MultiSettlementData

None.

HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "UniqueId": "sample string 1",
    "SettlementResults": [
      {
        "AccountType": "sample string 1",
        "AccountId": "sample string 2",
        "Amount": 3,
        "Status": "sample string 4",
        "IsSuccessful": true
      },
      {
        "AccountType": "sample string 1",
        "AccountId": "sample string 2",
        "Amount": 3,
        "Status": "sample string 4",
        "IsSuccessful": true
      }
    ]
  },
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<RequestMultiSettlementViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models" />
  <Data>
    <SettlementResults>
      <MultiSettlementResult>
        <AccountId>sample string 2</AccountId>
        <AccountType>sample string 1</AccountType>
        <Amount>3</Amount>
        <IsSuccessful>true</IsSuccessful>
        <Status>sample string 4</Status>
      </MultiSettlementResult>
      <MultiSettlementResult>
        <AccountId>sample string 2</AccountId>
        <AccountType>sample string 1</AccountType>
        <Amount>3</Amount>
        <IsSuccessful>true</IsSuccessful>
        <Status>sample string 4</Status>
      </MultiSettlementResult>
    </SettlementResults>
    <UniqueId>sample string 1</UniqueId>
  </Data>
</RequestMultiSettlementViewModel>