POST api/paynearme/{accountNumber}/schedulepayment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountNumber

integer

Required

Body Parameters

PnmScheduleAutopayRequest
NameDescriptionTypeAdditional information
Amount

decimal number

None.

Frequency

string

None.

DurationType

string

None.

PaymentMethodIdentifier

string

None.

StartDate

date

None.

EndDate

date

None.

NumberOfPaymentsPlanned

integer

None.

FirstDayOfMonth

integer

None.

SecondDayOfMonth

integer

None.

OverwriteExistingAutopay

boolean

None.

TransactionType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "Frequency": "sample string 2",
  "DurationType": "sample string 3",
  "PaymentMethodIdentifier": "sample string 4",
  "StartDate": "2025-07-05T07:58:50.0565727+00:00",
  "EndDate": "2025-07-05T07:58:50.0565727+00:00",
  "NumberOfPaymentsPlanned": 1,
  "FirstDayOfMonth": 1,
  "SecondDayOfMonth": 1,
  "OverwriteExistingAutopay": true,
  "TransactionType": "sample string 7"
}

application/xml, text/xml

Sample:
<PnmScheduleAutopayRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.Models.PayNearMe">
  <Amount>1</Amount>
  <DurationType>sample string 3</DurationType>
  <EndDate>2025-07-05T07:58:50.0565727+00:00</EndDate>
  <FirstDayOfMonth>1</FirstDayOfMonth>
  <Frequency>sample string 2</Frequency>
  <NumberOfPaymentsPlanned>1</NumberOfPaymentsPlanned>
  <OverwriteExistingAutopay>true</OverwriteExistingAutopay>
  <PaymentMethodIdentifier>sample string 4</PaymentMethodIdentifier>
  <SecondDayOfMonth>1</SecondDayOfMonth>
  <StartDate>2025-07-05T07:58:50.0565727+00:00</StartDate>
  <TransactionType>sample string 7</TransactionType>
</PnmScheduleAutopayRequest>

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 'PnmScheduleAutopayRequest'

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.