POST v1/ProfilePersons/{id}/OrderHistory/MakePayment/CreateOrder
Create order in PayPal for Advanced and standard checkout
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
makePaymentPersonCreateOrderInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| SaveForFutureUse | boolean |
Required |
|
| SaveToTypes | string |
Required |
|
| IsStandardCheckout | boolean |
None. |
|
| totalPriceToPay | string |
Required |
|
| currencyTypeId | integer |
Required |
|
| PayPalcustomerid | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"SaveForFutureUse": true,
"SaveToTypes": "sample string 2",
"IsStandardCheckout": true,
"totalPriceToPay": "sample string 3",
"currencyTypeId": 4,
"PayPalcustomerid": "sample string 5"
}
text/html
Sample:
{"SaveForFutureUse":true,"SaveToTypes":"sample string 2","IsStandardCheckout":true,"totalPriceToPay":"sample string 3","currencyTypeId":4,"PayPalcustomerid":"sample string 5"}
application/xml, text/xml
Sample:
<v1_ProfilePersons_ProfilePersonEndpointController.makePaymentPersonCreateOrderInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint"> <IsStandardCheckout>true</IsStandardCheckout> <PayPalcustomerid>sample string 5</PayPalcustomerid> <SaveForFutureUse>true</SaveForFutureUse> <SaveToTypes>sample string 2</SaveToTypes> <currencyTypeId>4</currencyTypeId> <totalPriceToPay>sample string 3</totalPriceToPay> </v1_ProfilePersons_ProfilePersonEndpointController.makePaymentPersonCreateOrderInputs>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
makePaymentPersonPayPalOrderDetailsOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| outputorderData |
PayPal order details |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"outputorderData": "sample string 1"
}
text/html
Sample:
{"outputorderData":"sample string 1"}
application/xml, text/xml
Sample:
<v1_ProfilePersons_ProfilePersonEndpointController.makePaymentPersonPayPalOrderDetailsOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint"> <outputorderData>sample string 1</outputorderData> </v1_ProfilePersons_ProfilePersonEndpointController.makePaymentPersonPayPalOrderDetailsOutput>