POST api/Payment/SetPaymentMethod

Request Information

URI Parameters

None.

Body Parameters

PaymentMethodModel
NameDescriptionTypeAdditional information
PaymentTypeId

integer

None.

PaymentMethodId

integer

None.

PaymentMethodKey

string

None.

PaymentTypeKey

string

None.

AmmountDue

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentTypeId": 1,
  "PaymentMethodId": 2,
  "PaymentMethodKey": "sample string 3",
  "PaymentTypeKey": "sample string 4",
  "AmmountDue": 5.0
}

application/xml, text/xml

Sample:
<PaymentMethodModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountManagement.Models">
  <AmmountDue>5</AmmountDue>
  <PaymentMethodId>2</PaymentMethodId>
  <PaymentMethodKey>sample string 3</PaymentMethodKey>
  <PaymentTypeId>1</PaymentTypeId>
  <PaymentTypeKey>sample string 4</PaymentTypeKey>
</PaymentMethodModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.