POST v1/admin/company/{id}/OrderHistory/MakePayment/BulkOrder/GetRemotePaymentRequest
Get remote payment request data for bulk payments.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Collection of companyBulkMakepaymentRemoteInput| Name | Description | Type | Additional information |
|---|---|---|---|
| orderId |
order id. |
integer |
Required |
| paymentAmount |
Amount to be paid. |
decimal number |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"orderId": 1,
"paymentAmount": 2.0
},
{
"orderId": 1,
"paymentAmount": 2.0
}
]
text/html
Sample:
[{"orderId":1,"paymentAmount":2.0},{"orderId":1,"paymentAmount":2.0}]
application/xml, text/xml
Sample:
<ArrayOfv1_Admin_CompanyEndpointController.companyBulkMakepaymentRemoteInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint">
<v1_Admin_CompanyEndpointController.companyBulkMakepaymentRemoteInput>
<orderId>1</orderId>
<paymentAmount>2</paymentAmount>
</v1_Admin_CompanyEndpointController.companyBulkMakepaymentRemoteInput>
<v1_Admin_CompanyEndpointController.companyBulkMakepaymentRemoteInput>
<orderId>1</orderId>
<paymentAmount>2</paymentAmount>
</v1_Admin_CompanyEndpointController.companyBulkMakepaymentRemoteInput>
</ArrayOfv1_Admin_CompanyEndpointController.companyBulkMakepaymentRemoteInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
companyBulkMakepaymentRemoteOutput| Name | Description | Type | Additional 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.companyBulkMakepaymentRemoteOutput 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.companyBulkMakepaymentRemoteOutput>