PUT api/PaymentsRest/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Payment
NameDescriptionTypeAdditional information
PaymentID

integer

None.

CustomerID

integer

None.

PaymentAmount

integer

None.

PaymentReference

string

None.

PaymentActionRequired

boolean

None.

PaymentAuthorised

boolean

None.

MerhantName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentID": 1,
  "CustomerID": 2,
  "PaymentAmount": 3,
  "PaymentReference": "sample string 4",
  "PaymentActionRequired": true,
  "PaymentAuthorised": true,
  "MerhantName": "sample string 7"
}

application/xml, text/xml

Sample:
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InnoBank.Models">
  <CustomerID>2</CustomerID>
  <MerhantName>sample string 7</MerhantName>
  <PaymentActionRequired>true</PaymentActionRequired>
  <PaymentAmount>3</PaymentAmount>
  <PaymentAuthorised>true</PaymentAuthorised>
  <PaymentID>1</PaymentID>
  <PaymentReference>sample string 4</PaymentReference>
</Payment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.