POST api/PayPal/Payment
Request Information
URI Parameters
None.
Body Parameters
PaymentRequestDataName | Description | Type | Additional information |
---|---|---|---|
PayPalCancelUrl | URI |
None. |
|
PayPalConfirmUrl | URI |
None. |
|
Currency | string |
None. |
|
ProductCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PayPalCancelUrl": "http://webapihelppage1.com", "PayPalConfirmUrl": "http://webapihelppage2.com", "Currency": "sample string 3", "ProductCode": "sample string 4" }
application/xml, text/xml
Sample:
<PaymentRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Models.PayPal"> <Currency>sample string 3</Currency> <ProductCode>sample string 4</ProductCode> <PayPalCancelUrl>http://webapihelppage1.com/</PayPalCancelUrl> <PayPalConfirmUrl>http://webapihelppage2.com/</PayPalConfirmUrl> </PaymentRequestData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>