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

Get remote payment request data for make payment.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

orderId

integer

Required

Body Parameters

companyMakepaymenCompanytRemoteInput
NameDescriptionTypeAdditional information
paymentAmount

Amount to be paid.

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "paymentAmount": 1.0
}

text/html

Sample:
{"paymentAmount":1.0}

application/xml, text/xml

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

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

Response Information

Resource Description

companyMakepaymentRemoteOutput
NameDescriptionTypeAdditional information
outputPaymentURL

The generated request data for remote payment.

string

None.

Response Formats

application/json, text/json

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

text/html

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

application/xml, text/xml

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