POST v1/admin/company/{id}/ShoppingCarts/Checkout/ProcessRemotePaymentResponse

Processes the remote payment response data for checkout.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

adminProcessRemotePaymentResponseInput
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_adminCarts_adminShoppingCartEndpointController.adminProcessRemotePaymentResponseInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_adminCarts_adminShoppingCartEndpoint">
  <responseData>sample string 1</responseData>
</v1_Admin_adminCarts_adminShoppingCartEndpointController.adminProcessRemotePaymentResponseInput>

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

Response Information

Resource Description

adminProcessRemotePaymentResponseOutput
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_adminCarts_adminShoppingCartEndpointController.adminProcessRemotePaymentResponseOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_adminCarts_adminShoppingCartEndpoint">
  <OrderId>1</OrderId>
</v1_Admin_adminCarts_adminShoppingCartEndpointController.adminProcessRemotePaymentResponseOutput>