POST createpaymentmethod

Request Information

URI Parameters

None.

Body Parameters

PaymentBTO
NameDescriptionTypeAdditional information
userId

integer

None.

amount

decimal number

None.

customerId

string

None.

clientNonce

string

None.

deviceData

string

None.

transactionStatus

string

None.

transactionDate

date

None.

transactionPaymentMethodType

string

None.

processorAuthorizationCode

string

None.

processorResponseText

string

None.

addMoreShots

boolean

None.

id

integer

None.

name

string

None.

createdDate

date

None.

modifiedDate

date

None.

TS

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "amount": 2.0,
  "customerId": "sample string 3",
  "clientNonce": "sample string 4",
  "deviceData": "sample string 5",
  "transactionStatus": "sample string 6",
  "transactionDate": "2026-03-23T08:15:28.3710681+00:00",
  "transactionPaymentMethodType": "sample string 8",
  "processorAuthorizationCode": "sample string 9",
  "processorResponseText": "sample string 10",
  "addMoreShots": true,
  "id": 12,
  "name": "sample string 13",
  "createdDate": "2026-03-23T08:15:28.3710681+00:00",
  "modifiedDate": "2026-03-23T08:15:28.3710681+00:00",
  "TS": "QEA="
}

application/xml, text/xml

Sample:
<PaymentBTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/plndr_api.Classes.BTO">
  <TS>QEA=</TS>
  <createdDate>2026-03-23T08:15:28.3710681+00:00</createdDate>
  <id>12</id>
  <modifiedDate>2026-03-23T08:15:28.3710681+00:00</modifiedDate>
  <name>sample string 13</name>
  <addMoreShots>true</addMoreShots>
  <amount>2</amount>
  <clientNonce>sample string 4</clientNonce>
  <customerId>sample string 3</customerId>
  <deviceData>sample string 5</deviceData>
  <processorAuthorizationCode>sample string 9</processorAuthorizationCode>
  <processorResponseText>sample string 10</processorResponseText>
  <transactionDate>2026-03-23T08:15:28.3710681+00:00</transactionDate>
  <transactionPaymentMethodType>sample string 8</transactionPaymentMethodType>
  <transactionStatus>sample string 6</transactionStatus>
  <userId>1</userId>
</PaymentBTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.