PUT api/Payment/getcheckoutorderdetails
Request Information
URI Parameters
None.
Body Parameters
APICheckOutOrderDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| UserUniqueId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| LanguageId | integer |
None. |
|
| PaymentId | string |
None. |
|
| DeviceTokenId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"UserUniqueId": 2,
"UniqueId": "6b8698a0-c531-4d00-a293-ddc57399351a",
"LanguageId": 4,
"PaymentId": "sample string 5",
"DeviceTokenId": "sample string 6"
}
application/xml, text/xml
Sample:
<APICheckOutOrderDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <CustomerId>1</CustomerId> <DeviceTokenId>sample string 6</DeviceTokenId> <LanguageId>4</LanguageId> <PaymentId>sample string 5</PaymentId> <UniqueId>6b8698a0-c531-4d00-a293-ddc57399351a</UniqueId> <UserUniqueId>2</UserUniqueId> </APICheckOutOrderDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfPaymentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | PaymentResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {
"paymentId": "sample string 1",
"amount": 2.0,
"currency": "sample string 3",
"status": "sample string 4",
"Message": "sample string 5",
"order_id": "sample string 6",
"receipt_number": "sample string 7",
"receipt_url": "sample string 8",
"external_details": {
"type": "sample string 1",
"source": "sample string 2"
},
"source_type": "sample string 9"
}
}
application/xml, text/xml
Sample:
<APICommonWrapperOfPaymentResponseZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data>
<Amount>2</Amount>
<Currency>sample string 3</Currency>
<ExternalDetails>
<Source>sample string 2</Source>
<Type>sample string 1</Type>
</ExternalDetails>
<Message>sample string 5</Message>
<OrderId>sample string 6</OrderId>
<PaymentId>sample string 1</PaymentId>
<ReceiptNumber>sample string 7</ReceiptNumber>
<ReceiptUrl>sample string 8</ReceiptUrl>
<SourceType>sample string 9</SourceType>
<Status>sample string 4</Status>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfPaymentResponseZdSfSp5S>