POST v1/admin/company/{id}/OrderHistory/{orderId}/MakePayment/ProcessRemoteResponse

Processes the remote hosted payment response for make payment.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

orderId

integer

Required

Body Parameters

companyMakePaymentProcessRemotePaymentResponseInput
NameDescriptionTypeAdditional information
responseData

string

Required

Request Formats

application/json, text/json

Sample:
{
  "responseData": "sample string 1"
}

text/html

Sample:
{"responseData":"sample string 1"}

application/xml, text/xml

Sample:
<v1_Admin_CompanyEndpointController.companyMakePaymentProcessRemotePaymentResponseInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint">
  <responseData>sample string 1</responseData>
</v1_Admin_CompanyEndpointController.companyMakePaymentProcessRemotePaymentResponseInput>

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

Response Information

Resource Description

companyMakePaymentProcessRemotePaymentResponseOutput
NameDescriptionTypeAdditional information
OrderId

The ID of created order

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "OrderId": 1
}

text/html

Sample:
{"OrderId":1}

application/xml, text/xml

Sample:
<v1_Admin_CompanyEndpointController.companyMakePaymentProcessRemotePaymentResponseOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint">
  <OrderId>1</OrderId>
</v1_Admin_CompanyEndpointController.companyMakePaymentProcessRemotePaymentResponseOutput>