POST v1/ProfilePersons/{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 bulkMakepaymentRemoteInputName | 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_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint"> <v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput> <orderId>1</orderId> <paymentAmount>2</paymentAmount> </v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput> <v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput> <orderId>1</orderId> <paymentAmount>2</paymentAmount> </v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput> </ArrayOfv1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
bulkMakepaymentRemoteOutputName | 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_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint"> <outputPaymentURL>sample string 1</outputPaymentURL> </v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteOutput>