PUT api/payments/setup

Add/update a payment setup.

Request Information

URI Parameters

None.

Body Parameters

PaymentSetupDTO
NameDescriptionTypeAdditional information
From

The beginning date of payments.

date

None.

To

The ending date of payments.

date

None.

Amount

Amount to pay, in eurocents.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "From": "2025-06-26T11:53:17.6418717+00:00",
  "To": "2025-06-26T11:53:17.6418717+00:00",
  "Amount": 2
}

text/html

Sample:
{"From":"2025-06-26T11:53:17.6418717+00:00","To":"2025-06-26T11:53:17.6418717+00:00","Amount":2}

application/xml, text/xml

Sample:
<PaymentSetupDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs">
  <Amount>2</Amount>
  <From>2025-06-26T11:53:17.6418717+00:00</From>
  <To>2025-06-26T11:53:17.6418717+00:00</To>
</PaymentSetupDTO>

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 'PaymentSetupDTO'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />