POST api/Payment/GetCheckoutResult
Request Information
URI Parameters
None.
Body Parameters
PaymentResName | Description | Type | Additional information |
---|---|---|---|
tran_ref | string |
None. |
|
cart_id | string |
None. |
|
cart_description | string |
None. |
|
cart_currency | string |
None. |
|
cart_amount | string |
None. |
|
customer_details | CustomerDetails |
None. |
|
shipping_details | ShippingDetails |
None. |
|
payment_result | PaymentResult |
None. |
|
payment_info | PaymentInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "tran_ref": "sample string 1", "cart_id": "sample string 2", "cart_description": "sample string 3", "cart_currency": "sample string 4", "cart_amount": "sample string 5", "customer_details": { "name": "sample string 1", "email": "sample string 2", "phone": "sample string 3", "street1": "sample string 4", "city": "sample string 5", "state": "sample string 6", "country": "sample string 7", "ip": "sample string 8" }, "shipping_details": { "name": "sample string 1", "email": "sample string 2", "phone": "sample string 3", "street1": "sample string 4", "city": "sample string 5", "state": "sample string 6", "country": "sample string 7", "ip": "sample string 8" }, "payment_result": { "response_status": "sample string 1", "response_code": "sample string 2", "response_message": "sample string 3", "transaction_time": "2025-01-29T03:12:36.5396485+03:00" }, "payment_info": { "card_type": "sample string 1", "card_scheme": "sample string 2", "payment_description": "sample string 3" } }
application/octet-stream, multipart/form-data
Sample:
{"tran_ref":"sample string 1","cart_id":"sample string 2","cart_description":"sample string 3","cart_currency":"sample string 4","cart_amount":"sample string 5","customer_details":{"name":"sample string 1","email":"sample string 2","phone":"sample string 3","street1":"sample string 4","city":"sample string 5","state":"sample string 6","country":"sample string 7","ip":"sample string 8"},"shipping_details":{"name":"sample string 1","email":"sample string 2","phone":"sample string 3","street1":"sample string 4","city":"sample string 5","state":"sample string 6","country":"sample string 7","ip":"sample string 8"},"payment_result":{"response_status":"sample string 1","response_code":"sample string 2","response_message":"sample string 3","transaction_time":"2025-01-29T03:12:36.5396485+03:00"},"payment_info":{"card_type":"sample string 1","card_scheme":"sample string 2","payment_description":"sample string 3"}}
application/xml, text/xml
Sample:
<PaymentRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tenderjoAPI.Models"> <cart_amount>sample string 5</cart_amount> <cart_currency>sample string 4</cart_currency> <cart_description>sample string 3</cart_description> <cart_id>sample string 2</cart_id> <customer_details> <city>sample string 5</city> <country>sample string 7</country> <email>sample string 2</email> <ip>sample string 8</ip> <name>sample string 1</name> <phone>sample string 3</phone> <state>sample string 6</state> <street1>sample string 4</street1> </customer_details> <payment_info> <card_scheme>sample string 2</card_scheme> <card_type>sample string 1</card_type> <payment_description>sample string 3</payment_description> </payment_info> <payment_result> <response_code>sample string 2</response_code> <response_message>sample string 3</response_message> <response_status>sample string 1</response_status> <transaction_time>2025-01-29T03:12:36.5396485+03:00</transaction_time> </payment_result> <shipping_details> <city>sample string 5</city> <country>sample string 7</country> <email>sample string 2</email> <ip>sample string 8</ip> <name>sample string 1</name> <phone>sample string 3</phone> <state>sample string 6</state> <street1>sample string 4</street1> </shipping_details> <tran_ref>sample string 1</tran_ref> </PaymentRes>
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.