GET api/PaymentStatus/GenerateOrderId?CustomerId={CustomerId}&Amount={Amount}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
Required |
|
| Amount | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
CashFreepayResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| customer_id | string |
None. |
|
| customer_name | string |
None. |
|
| customer_email | string |
None. |
|
| customer_phone | string |
None. |
|
| cf_order_id | integer |
None. |
|
| order_amount | decimal number |
None. |
|
| order_currency | string |
None. |
|
| order_id | string |
None. |
|
| payment_session_id | string |
None. |
|
| order_meta | OrderMeta |
None. |
|
| cartTotalRate | Collection of Cart |
None. |
Response Formats
application/json, text/json
Sample:
{
"customer_id": "sample string 1",
"customer_name": "sample string 2",
"customer_email": "sample string 3",
"customer_phone": "sample string 4",
"cf_order_id": 5,
"order_amount": 6.1,
"order_currency": "sample string 7",
"order_id": "sample string 8",
"payment_session_id": "sample string 9",
"order_meta": {
"$id": "2",
"return_url": "sample string 1",
"notify_url": "sample string 2",
"payment_methods": "sample string 3"
},
"cartTotalRate": [
{
"$id": "3",
"CartId": 1,
"Customer_Id": 2,
"Customer": "sample string 3",
"Product_Id": 4,
"Product": "sample string 5",
"Photo": "sample string 6",
"Quantity": "sample string 7",
"Size_Id": "sample string 8",
"Status": "sample string 9",
"Date": "sample string 10",
"Rate": "sample string 11",
"Total": 12.1,
"SessionId": "sample string 13",
"Qty": 14,
"TotalRate": "sample string 15",
"OriginalRate": "sample string 16",
"IsOffer": "sample string 17"
},
{
"$ref": "3"
}
]
}
application/octet-stream
Sample:
{"$id":"1","customer_id":"sample string 1","customer_name":"sample string 2","customer_email":"sample string 3","customer_phone":"sample string 4","cf_order_id":5,"order_amount":6.1,"order_currency":"sample string 7","order_id":"sample string 8","payment_session_id":"sample string 9","order_meta":{"$id":"2","return_url":"sample string 1","notify_url":"sample string 2","payment_methods":"sample string 3"},"cartTotalRate":[{"$id":"3","CartId":1,"Customer_Id":2,"Customer":"sample string 3","Product_Id":4,"Product":"sample string 5","Photo":"sample string 6","Quantity":"sample string 7","Size_Id":"sample string 8","Status":"sample string 9","Date":"sample string 10","Rate":"sample string 11","Total":12.1,"SessionId":"sample string 13","Qty":14,"TotalRate":"sample string 15","OriginalRate":"sample string 16","IsOffer":"sample string 17"},{"$ref":"3"}]}