POST api/payment/SubmitPaymentActionRequest

Request Information

URI Parameters

None.

Body Parameters

string

Request Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>

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

Response Information

Resource Description

PaymentActionReponse
NameDescriptionTypeAdditional information
Data

Collection of PaymentActionDetailResponse

None.

Message

string

None.

Success

boolean

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "PaymentID": 1,
      "Status": "sample string 2"
    },
    {
      "PaymentID": 1,
      "Status": "sample string 2"
    }
  ],
  "Message": "sample string 1",
  "Success": true,
  "Code": 3
}

application/xml, text/xml

Sample:
<PaymentActionReponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPS.Backend.Api.Models">
  <Code>3</Code>
  <Data>
    <PaymentActionDetailResponse>
      <PaymentID>1</PaymentID>
      <Status>sample string 2</Status>
    </PaymentActionDetailResponse>
    <PaymentActionDetailResponse>
      <PaymentID>1</PaymentID>
      <Status>sample string 2</Status>
    </PaymentActionDetailResponse>
  </Data>
  <Message>sample string 1</Message>
  <Success>true</Success>
</PaymentActionReponse>