Card Payment Get Order
TestingGET
/partner/order/{{external_order_id}}Last modified: a year ago
Maintainer: Not configured
Request
Header Params
api-version
string
optional
Example:
2
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
payment
#/definitions/787914required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"guid": "F5818C41-5674-4E49-A91A-1D1FD21A13F5",
"order_code": "YID9Z07U",
"external_id": "HYAQA01714rqz",
"type": "Buy",
"price": 1731.3,
"tax": 0,
"total": 1731.3,
"status_name": "Pending",
"order_at": "13-10-2023 11:10",
"payment_cost": 10,
"currency_code": "TRY",
"customer": {
"external_id": "1801262568",
"firstname": "Mehmet",
"middlename": "",
"lastname": "Gülbilge",
"fullname": "Mehmet Gülbilge",
"email": "[email protected]",
"phone": "+9053228080351",
"gender": "M",
"identity_number": "12345677938",
"birthdate": "1970-01-31"
},
"payment": {
"token": "mLPKxKnNbj0AYMcEMAd5e72zyFyPcUx5KKAZONIcMRhrqYqwmBARo4BGSVhj2mgXRKFDRsHBI6r5az9PW1VhyyOIhUA9pzvtfKHPYDtpVIAlxUgzRmGfInerFIFrRcpH",
"transaction_id": null,
"order_reference": "HYAQA01714rqz",
"amount": 1731.3,
"comission": 0,
"total": 1731.3,
"refunded_amount": 0,
"error_code": null,
"error_message": null,
"state": "success",
"details": {
"card_cvv": "000",
"card_expiry": "05/28",
"card_holder": "John Due",
"card_number": "404809******7528",
"customer_ip": "127.0.0.1",
"card_association": "Visa"
}
},
"items": [
{
"product_id": 3000001,
"sku": "GAU",
"product_name": "Gold - Digital storage",
"spot_price": 1656.16,
"price": 1731.3,
"tax_rate": 0,
"tax": 0,
"amount": 1,
"total": 1731.3
}
]
},
"success": true,
"code": 0,
"message": ""
}
Last modified: a year ago