POST api/Oney?payment_amount={payment_amount}&sku={sku}&business_transaction_code={business_transaction_code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
payment_amount

decimal number

Required

sku

string

Required

business_transaction_code

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of Simulation
NameDescriptionTypeAdditional information
payment_amount

decimal number

None.

effective_annual_percentage_rate

decimal number

None.

administration_fee_amount

decimal number

None.

total_cost

decimal number

None.

down_payment_amount

decimal number

None.

first_instalment_date

string

None.

instalments

Collection of Instalment

None.

business_transaction_details

Collection of BusinessTransactionDetail

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "payment_amount": 1.0,
    "effective_annual_percentage_rate": 2.0,
    "administration_fee_amount": 3.0,
    "total_cost": 4.0,
    "down_payment_amount": 5.0,
    "first_instalment_date": "sample string 6",
    "instalments": [
      {
        "instalment_amount": 1.0,
        "insurance_amount": 2.0,
        "interest_amount": 3.0,
        "instalment_number": 4.0,
        "collection_date": "sample string 5"
      },
      {
        "instalment_amount": 1.0,
        "insurance_amount": 2.0,
        "interest_amount": 3.0,
        "instalment_number": 4.0,
        "collection_date": "sample string 5"
      }
    ],
    "business_transaction_details": [
      {
        "business_transaction_code": "sample string 1",
        "business_transaction_version": "sample string 2",
        "short_label": "sample string 3",
        "long_label": "sample string 4",
        "customer_label": "sample string 5",
        "business_transaction_type": "sample string 6"
      },
      {
        "business_transaction_code": "sample string 1",
        "business_transaction_version": "sample string 2",
        "short_label": "sample string 3",
        "long_label": "sample string 4",
        "customer_label": "sample string 5",
        "business_transaction_type": "sample string 6"
      }
    ]
  },
  {
    "payment_amount": 1.0,
    "effective_annual_percentage_rate": 2.0,
    "administration_fee_amount": 3.0,
    "total_cost": 4.0,
    "down_payment_amount": 5.0,
    "first_instalment_date": "sample string 6",
    "instalments": [
      {
        "instalment_amount": 1.0,
        "insurance_amount": 2.0,
        "interest_amount": 3.0,
        "instalment_number": 4.0,
        "collection_date": "sample string 5"
      },
      {
        "instalment_amount": 1.0,
        "insurance_amount": 2.0,
        "interest_amount": 3.0,
        "instalment_number": 4.0,
        "collection_date": "sample string 5"
      }
    ],
    "business_transaction_details": [
      {
        "business_transaction_code": "sample string 1",
        "business_transaction_version": "sample string 2",
        "short_label": "sample string 3",
        "long_label": "sample string 4",
        "customer_label": "sample string 5",
        "business_transaction_type": "sample string 6"
      },
      {
        "business_transaction_code": "sample string 1",
        "business_transaction_version": "sample string 2",
        "short_label": "sample string 3",
        "long_label": "sample string 4",
        "customer_label": "sample string 5",
        "business_transaction_type": "sample string 6"
      }
    ]
  }
]

text/plain, application/octet-stream

Sample:
[{"payment_amount":1.0,"effective_annual_percentage_rate":2.0,"administration_fee_amount":3.0,"total_cost":4.0,"down_payment_amount":5.0,"first_instalment_date":"sample string 6","instalments":[{"instalment_amount":1.0,"insurance_amount":2.0,"interest_amount":3.0,"instalment_number":4.0,"collection_date":"sample string 5"},{"instalment_amount":1.0,"insurance_amount":2.0,"interest_amount":3.0,"instalment_number":4.0,"collection_date":"sample string 5"}],"business_transaction_details":[{"business_transaction_code":"sample string 1","business_transaction_version":"sample string 2","short_label":"sample string 3","long_label":"sample string 4","customer_label":"sample string 5","business_transaction_type":"sample string 6"},{"business_transaction_code":"sample string 1","business_transaction_version":"sample string 2","short_label":"sample string 3","long_label":"sample string 4","customer_label":"sample string 5","business_transaction_type":"sample string 6"}]},{"payment_amount":1.0,"effective_annual_percentage_rate":2.0,"administration_fee_amount":3.0,"total_cost":4.0,"down_payment_amount":5.0,"first_instalment_date":"sample string 6","instalments":[{"instalment_amount":1.0,"insurance_amount":2.0,"interest_amount":3.0,"instalment_number":4.0,"collection_date":"sample string 5"},{"instalment_amount":1.0,"insurance_amount":2.0,"interest_amount":3.0,"instalment_number":4.0,"collection_date":"sample string 5"}],"business_transaction_details":[{"business_transaction_code":"sample string 1","business_transaction_version":"sample string 2","short_label":"sample string 3","long_label":"sample string 4","customer_label":"sample string 5","business_transaction_type":"sample string 6"},{"business_transaction_code":"sample string 1","business_transaction_version":"sample string 2","short_label":"sample string 3","long_label":"sample string 4","customer_label":"sample string 5","business_transaction_type":"sample string 6"}]}]

application/xml, text/xml

Sample:
<ArrayOfSimulation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePrice.MarketPlaceApi.Models.Oney">
  <Simulation>
    <administration_fee_amount>3</administration_fee_amount>
    <business_transaction_details>
      <BusinessTransactionDetail>
        <business_transaction_code>sample string 1</business_transaction_code>
        <business_transaction_type>sample string 6</business_transaction_type>
        <business_transaction_version>sample string 2</business_transaction_version>
        <customer_label>sample string 5</customer_label>
        <long_label>sample string 4</long_label>
        <short_label>sample string 3</short_label>
      </BusinessTransactionDetail>
      <BusinessTransactionDetail>
        <business_transaction_code>sample string 1</business_transaction_code>
        <business_transaction_type>sample string 6</business_transaction_type>
        <business_transaction_version>sample string 2</business_transaction_version>
        <customer_label>sample string 5</customer_label>
        <long_label>sample string 4</long_label>
        <short_label>sample string 3</short_label>
      </BusinessTransactionDetail>
    </business_transaction_details>
    <down_payment_amount>5</down_payment_amount>
    <effective_annual_percentage_rate>2</effective_annual_percentage_rate>
    <first_instalment_date>sample string 6</first_instalment_date>
    <instalments>
      <Instalment>
        <collection_date>sample string 5</collection_date>
        <instalment_amount>1</instalment_amount>
        <instalment_number>4</instalment_number>
        <insurance_amount>2</insurance_amount>
        <interest_amount>3</interest_amount>
      </Instalment>
      <Instalment>
        <collection_date>sample string 5</collection_date>
        <instalment_amount>1</instalment_amount>
        <instalment_number>4</instalment_number>
        <insurance_amount>2</insurance_amount>
        <interest_amount>3</interest_amount>
      </Instalment>
    </instalments>
    <payment_amount>1</payment_amount>
    <total_cost>4</total_cost>
  </Simulation>
  <Simulation>
    <administration_fee_amount>3</administration_fee_amount>
    <business_transaction_details>
      <BusinessTransactionDetail>
        <business_transaction_code>sample string 1</business_transaction_code>
        <business_transaction_type>sample string 6</business_transaction_type>
        <business_transaction_version>sample string 2</business_transaction_version>
        <customer_label>sample string 5</customer_label>
        <long_label>sample string 4</long_label>
        <short_label>sample string 3</short_label>
      </BusinessTransactionDetail>
      <BusinessTransactionDetail>
        <business_transaction_code>sample string 1</business_transaction_code>
        <business_transaction_type>sample string 6</business_transaction_type>
        <business_transaction_version>sample string 2</business_transaction_version>
        <customer_label>sample string 5</customer_label>
        <long_label>sample string 4</long_label>
        <short_label>sample string 3</short_label>
      </BusinessTransactionDetail>
    </business_transaction_details>
    <down_payment_amount>5</down_payment_amount>
    <effective_annual_percentage_rate>2</effective_annual_percentage_rate>
    <first_instalment_date>sample string 6</first_instalment_date>
    <instalments>
      <Instalment>
        <collection_date>sample string 5</collection_date>
        <instalment_amount>1</instalment_amount>
        <instalment_number>4</instalment_number>
        <insurance_amount>2</insurance_amount>
        <interest_amount>3</interest_amount>
      </Instalment>
      <Instalment>
        <collection_date>sample string 5</collection_date>
        <instalment_amount>1</instalment_amount>
        <instalment_number>4</instalment_number>
        <insurance_amount>2</insurance_amount>
        <interest_amount>3</interest_amount>
      </Instalment>
    </instalments>
    <payment_amount>1</payment_amount>
    <total_cost>4</total_cost>
  </Simulation>
</ArrayOfSimulation>

text/javascript, application/javascript, application/json-p

Sample:
([{"payment_amount":1.0,"effective_annual_percentage_rate":2.0,"administration_fee_amount":3.0,"total_cost":4.0,"down_payment_amount":5.0,"first_instalment_date":"sample string 6","instalments":[{"instalment_amount":1.0,"insurance_amount":2.0,"interest_amount":3.0,"instalment_number":4.0,"collection_date":"sample string 5"},{"instalment_amount":1.0,"insurance_amount":2.0,"interest_amount":3.0,"instalment_number":4.0,"collection_date":"sample string 5"}],"business_transaction_details":[{"business_transaction_code":"sample string 1","business_transaction_version":"sample string 2","short_label":"sample string 3","long_label":"sample string 4","customer_label":"sample string 5","business_transaction_type":"sample string 6"},{"business_transaction_code":"sample string 1","business_transaction_version":"sample string 2","short_label":"sample string 3","long_label":"sample string 4","customer_label":"sample string 5","business_transaction_type":"sample string 6"}]},{"payment_amount":1.0,"effective_annual_percentage_rate":2.0,"administration_fee_amount":3.0,"total_cost":4.0,"down_payment_amount":5.0,"first_instalment_date":"sample string 6","instalments":[{"instalment_amount":1.0,"insurance_amount":2.0,"interest_amount":3.0,"instalment_number":4.0,"collection_date":"sample string 5"},{"instalment_amount":1.0,"insurance_amount":2.0,"interest_amount":3.0,"instalment_number":4.0,"collection_date":"sample string 5"}],"business_transaction_details":[{"business_transaction_code":"sample string 1","business_transaction_version":"sample string 2","short_label":"sample string 3","long_label":"sample string 4","customer_label":"sample string 5","business_transaction_type":"sample string 6"},{"business_transaction_code":"sample string 1","business_transaction_version":"sample string 2","short_label":"sample string 3","long_label":"sample string 4","customer_label":"sample string 5","business_transaction_type":"sample string 6"}]}]);