POST api/Payment/GetCheckout

Request Information

URI Parameters

None.

Body Parameters

Payment
NameDescriptionTypeAdditional information
pay_id

integer

None.

pay_eml_id

integer

None.

pay_cart_amount

decimal number

None.

pay_tran_ref

string

None.

pay_cart_id

string

None.

pay_response_status

string

None.

pay_response_code

string

None.

pay_response_message

string

None.

pay_datetime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "pay_id": 1,
  "pay_eml_id": 2,
  "pay_cart_amount": 3.1,
  "pay_tran_ref": "sample string 4",
  "pay_cart_id": "sample string 5",
  "pay_response_status": "sample string 6",
  "pay_response_code": "sample string 7",
  "pay_response_message": "sample string 8",
  "pay_datetime": "2024-11-21T11:45:38.6831425+03:00"
}

application/octet-stream, multipart/form-data

Sample:
{"pay_id":1,"pay_eml_id":2,"pay_cart_amount":3.1,"pay_tran_ref":"sample string 4","pay_cart_id":"sample string 5","pay_response_status":"sample string 6","pay_response_code":"sample string 7","pay_response_message":"sample string 8","pay_datetime":"2024-11-21T11:45:38.6831425+03:00"}

application/xml, text/xml

Sample:
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tenderjoAPI.Models">
  <pay_cart_amount>3.1</pay_cart_amount>
  <pay_cart_id>sample string 5</pay_cart_id>
  <pay_datetime>2024-11-21T11:45:38.6831425+03:00</pay_datetime>
  <pay_eml_id>2</pay_eml_id>
  <pay_id>1</pay_id>
  <pay_response_code>sample string 7</pay_response_code>
  <pay_response_message>sample string 8</pay_response_message>
  <pay_response_status>sample string 6</pay_response_status>
  <pay_tran_ref>sample string 4</pay_tran_ref>
</Payment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream, multipart/form-data, application/xml, text/xml

Sample:

Sample not available.