POST v1/ProfilePersons/{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

makepaymentRemoteInput
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_ProfilePersons_ProfilePersonEndpointController.makepaymentRemoteInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint">
  <paymentAmount>1</paymentAmount>
</v1_ProfilePersons_ProfilePersonEndpointController.makepaymentRemoteInput>

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

Response Information

Resource Description

makepaymentRemoteOutput
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_ProfilePersons_ProfilePersonEndpointController.makepaymentRemoteOutput 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.makepaymentRemoteOutput>