POST v1/EarningSchedules

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
dto
Documentation for 'dto'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
Click to beautify!
{
  "chargeId": 1,
  "scheduledType": "sample string 2",
  "scheduledAmount": 1.0,
  "scheduledTimestamp": "2024-05-03T10:30:32.4643362+00:00",
  "reference": "sample string 3"
}

application/xml, text/xml

Sample:
Click to beautify!
<EarningSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Post">
  <ChargeId>1</ChargeId>
  <Reference>sample string 3</Reference>
  <ScheduledAmount>1</ScheduledAmount>
  <ScheduledTimestamp>2024-05-03T10:30:32.4643362+00:00</ScheduledTimestamp>
  <ScheduledType>sample string 2</ScheduledType>
</EarningSchedule>

application/x-www-form-urlencoded

Sample:
Click to beautify!

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
Click to beautify!
{
  "chargeId": 1,
  "scheduledType": "sample string 2",
  "scheduledAmount": 3.0,
  "scheduledTimestamp": "2024-05-03T10:30:32.4643362+00:00",
  "reference": "sample string 4",
  "id": 5,
  "uri": "sample string 6"
}

application/xml, text/xml

Sample:
Click to beautify!
<EarningSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Get">
  <Id>5</Id>
  <Uri>sample string 6</Uri>
  <ChargeId>1</ChargeId>
  <Reference>sample string 4</Reference>
  <ScheduledAmount>3</ScheduledAmount>
  <ScheduledTimestamp>2024-05-03T10:30:32.4643362+00:00</ScheduledTimestamp>
  <ScheduledType>sample string 2</ScheduledType>
</EarningSchedule>