POST api/PaymentResponses

Creates a payment response.

Request Information

URI Parameters

None.

Body Parameters

The payment response model to create with.

PaymentResponseInputDto
NameDescriptionTypeAdditional information
PaymentRequestId

integer

Required

ResponseString

string

Required

Status

string

Required

Is3d

boolean

Required

ProviderName

string

Required

ProviderOrderId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentRequestId": 1,
  "ResponseString": "sample string 2",
  "Status": "sample string 3",
  "Is3d": true,
  "ProviderName": "sample string 5",
  "ProviderOrderId": "sample string 6"
}

application/xml, text/xml

Sample:
<PaymentResponseInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Pay.Models">
  <Is3d>true</Is3d>
  <PaymentRequestId>1</PaymentRequestId>
  <ProviderName>sample string 5</ProviderName>
  <ProviderOrderId>sample string 6</ProviderOrderId>
  <ResponseString>sample string 2</ResponseString>
  <Status>sample string 3</Status>
</PaymentResponseInputDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.