POST api/forb2c/order-payment

Request Information

URI Parameters

None.

Body Parameters

PaymentDetails
NameDescriptionTypeAdditional information
TransactionId

string

None.

PaymentId

string

None.

CustomerId

string

None.

OrderType

string

None.

OrderId

string

None.

PaymentAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionId": "sample string 1",
  "PaymentId": "sample string 2",
  "CustomerId": "sample string 3",
  "OrderType": "sample string 4",
  "OrderId": "sample string 5",
  "PaymentAmount": 6.0
}

application/xml, text/xml

Sample:
<PaymentDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/fonofy_api.Model">
  <CustomerId>sample string 3</CustomerId>
  <OrderId>sample string 5</OrderId>
  <OrderType>sample string 4</OrderType>
  <PaymentAmount>6</PaymentAmount>
  <PaymentId>sample string 2</PaymentId>
  <TransactionId>sample string 1</TransactionId>
</PaymentDetails>

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

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.