GET api/Order/PlaceOrder?checkoutModel={checkoutModel}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
checkoutModel | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PaymentResponseName | Description | Type | Additional information |
---|---|---|---|
OrderID | integer |
None. |
|
AuthorizationCode | string |
None. |
|
ApprovedAmount | decimal number |
None. |
|
ResponseCode | string |
None. |
|
ResponseMessage | string |
None. |
|
TransactionReferenceNumber | string |
None. |
|
PaypalUrl | string |
None. |
|
OptionalField1 | string |
None. |
|
OptionalField2 | string |
None. |
|
OptionalField3 | string |
None. |
|
OptionalField4 | string |
None. |
|
OptionalField5 | string |
None. |
|
CardNumber | string |
None. |
|
InContextExpressCheckoutUrl | string |
None. |
|
CyberSourceForm | string |
None. |
|
Tracking | APIRequestTracking |
None. |
|
SendResponseMail | boolean |
None. |
|
Currency | string |
None. |
|
CurrencyISOCode | string |
None. |
|
ValidityPeriod | string |
None. |
|
AddressValid | string |
None. |
|
AddressValidCode | string |
None. |
|
AddressResultInfo | string |
None. |
|
VerificationValueValid | string |
None. |
|
VerificationValueCode | string |
None. |
|
VerificationValueResultInfo | string |
None. |
|
CardNumberValid | boolean |
None. |
|
CardDateValid | boolean |
None. |
|
CardAuthorizationCallValid | boolean |
None. |
|
CardPassAllValidation | boolean |
None. |
|
IsCaptchaRequired | boolean |
None. |
|
RequiresAction | boolean |
None. |
|
PaymentIntentID | string |
None. |
|
clientSecret | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{ "OrderID": 1, "AuthorizationCode": "sample string 2", "ApprovedAmount": 3.1, "ResponseCode": "sample string 4", "ResponseMessage": "sample string 5", "TransactionReferenceNumber": "sample string 6", "PaypalUrl": "sample string 7", "OptionalField1": "sample string 8", "OptionalField2": "sample string 9", "OptionalField3": "sample string 10", "OptionalField4": "sample string 11", "OptionalField5": "sample string 12", "CardNumber": "sample string 13", "InContextExpressCheckoutUrl": "sample string 14", "CyberSourceForm": "sample string 15", "Tracking": { "APIRequestTrackingID": 1, "RequestBody": "sample string 2", "Client": "sample string 3", "DateRequested": "1/22/2025", "Status": "sample string 5", "ResponseBody": "sample string 6", "ProviderID": 7, "RequestTime": "1/22/2025", "ResponseTime": "1/22/2025" }, "SendResponseMail": true, "Currency": "sample string 17", "CurrencyISOCode": "sample string 18", "ValidityPeriod": "sample string 19", "AddressValid": "sample string 20", "AddressValidCode": "sample string 21", "AddressResultInfo": "sample string 22", "VerificationValueValid": "sample string 23", "VerificationValueCode": "sample string 24", "VerificationValueResultInfo": "sample string 25", "CardNumberValid": true, "CardDateValid": true, "CardAuthorizationCallValid": true, "CardPassAllValidation": true, "IsCaptchaRequired": true, "RequiresAction": true, "PaymentIntentID": "sample string 32", "clientSecret": "sample string 33" }
application/xml, text/xml
Sample:
<PaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Payments.Core"> <AddressResultInfo>sample string 22</AddressResultInfo> <AddressValid>sample string 20</AddressValid> <AddressValidCode>sample string 21</AddressValidCode> <ApprovedAmount>3.1</ApprovedAmount> <AuthorizationCode>sample string 2</AuthorizationCode> <CardAuthorizationCallValid>true</CardAuthorizationCallValid> <CardDateValid>true</CardDateValid> <CardNumber>sample string 13</CardNumber> <CardNumberValid>true</CardNumberValid> <CardPassAllValidation>true</CardPassAllValidation> <Currency>sample string 17</Currency> <CurrencyISOCode>sample string 18</CurrencyISOCode> <CyberSourceForm>sample string 15</CyberSourceForm> <InContextExpressCheckoutUrl>sample string 14</InContextExpressCheckoutUrl> <IsCaptchaRequired>true</IsCaptchaRequired> <OptionalField1>sample string 8</OptionalField1> <OptionalField2>sample string 9</OptionalField2> <OptionalField3>sample string 10</OptionalField3> <OptionalField4>sample string 11</OptionalField4> <OptionalField5>sample string 12</OptionalField5> <OrderID>1</OrderID> <PaymentIntentID>sample string 32</PaymentIntentID> <PaypalUrl>sample string 7</PaypalUrl> <RequiresAction>true</RequiresAction> <ResponseCode>sample string 4</ResponseCode> <ResponseMessage>sample string 5</ResponseMessage> <SendResponseMail>true</SendResponseMail> <Tracking xmlns:d2p1="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities.Commerce"> <d2p1:APIRequestTrackingID>1</d2p1:APIRequestTrackingID> <d2p1:Client>sample string 3</d2p1:Client> <d2p1:DateRequested>2025-01-22T14:03:01.6679097+00:00</d2p1:DateRequested> <d2p1:ProviderID>7</d2p1:ProviderID> <d2p1:RequestBody>sample string 2</d2p1:RequestBody> <d2p1:RequestTime>2025-01-22T14:03:01.6679097+00:00</d2p1:RequestTime> <d2p1:ResponseBody>sample string 6</d2p1:ResponseBody> <d2p1:ResponseTime>2025-01-22T14:03:01.6679097+00:00</d2p1:ResponseTime> <d2p1:Status>sample string 5</d2p1:Status> </Tracking> <TransactionReferenceNumber>sample string 6</TransactionReferenceNumber> <ValidityPeriod>sample string 19</ValidityPeriod> <VerificationValueCode>sample string 24</VerificationValueCode> <VerificationValueResultInfo>sample string 25</VerificationValueResultInfo> <VerificationValueValid>sample string 23</VerificationValueValid> <clientSecret>sample string 33</clientSecret> </PaymentResponse>