POST api/Payment/CheckoutPayPay
Request Information
URI Parameters
None.
Body Parameters
PaymentPayPalName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
sur_sdb_id | integer |
None. |
|
status | string |
None. |
|
amount | string |
None. |
|
orderData | OrderData |
None. |
|
links | Links |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "sur_sdb_id": 2, "status": "sample string 3", "amount": "sample string 4", "orderData": { "id": "sample string 1", "payer": { "address": { "country_code": "sample string 1" }, "email_address": "sample string 1", "name": { "surname": "sample string 1", "given_name": "sample string 2" }, "payer_id": "sample string 2" } }, "links": { "href": "sample string 1", "method": "sample string 2" } }
application/octet-stream, multipart/form-data
Sample:
{"id":"sample string 1","sur_sdb_id":2,"status":"sample string 3","amount":"sample string 4","orderData":{"id":"sample string 1","payer":{"address":{"country_code":"sample string 1"},"email_address":"sample string 1","name":{"surname":"sample string 1","given_name":"sample string 2"},"payer_id":"sample string 2"}},"links":{"href":"sample string 1","method":"sample string 2"}}
application/xml, text/xml
Sample:
<PaymentPayPal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tenderjoAPI.Models"> <amount>sample string 4</amount> <id>sample string 1</id> <links> <href>sample string 1</href> <method>sample string 2</method> </links> <orderData> <id>sample string 1</id> <payer> <address> <country_code>sample string 1</country_code> </address> <email_address>sample string 1</email_address> <name> <given_name>sample string 2</given_name> <surname>sample string 1</surname> </name> <payer_id>sample string 2</payer_id> </payer> </orderData> <status>sample string 3</status> <sur_sdb_id>2</sur_sdb_id> </PaymentPayPal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream, multipart/form-data, application/xml, text/xml
Sample:
Sample not available.