İşlem Durumu Sorgulama
Açıklama: İşlem durumu sorgulaması için endpoint ve http method bilgisi aşağıda verilmiştir.
URL: /api/marketplace/sale/checkstatus
Test Sunucusu: https://test.vepara.com.tr/ccpayment/api/marketplace/sale/checkstatus
Canlı Sunucusu: https://app.vepara.com.tr/ccpayment/api/marketplace/sale/checkstatus
Method: POST
REQUEST BODY SCHEMA
json
[
{
"merchant_key": "$2y$10$w/ODdbTmfubcbUCUq/ia3OoJFMUmkM1UVNBiIQIuLfUlPmaLUT1he",
"invoice_id": 35680,
"hash_key": "36a50210c8b2f19e:11662:V7YBqaVtXHTj7wTHbBvIXWV9KAn39QAz5XF2T9XIdAwxNAP7Dji7LPHQZcI5kuP1AaaOmyt/bVfKqxN4H+7pojj3GHHHxJTTi72/UMxKP3Y="
}
]
RESPONSE BODY
200 Başarılı Sonuç
json
{
"status_code": 100,
"status_description": "Data fetched successfully",
"data": [
{
"invoice_id": "82294",
"transaction_data": [
{
"status_code": 100,
"status_description": "An order has been taken place for this invoice id:82294-1",
"transaction_status": "Completed",
"order_id": 165832066939664,
"transaction_id": "gfO9L-b-TC10-98950-200722",
"message": "An order has been taken place for this invoice id:82294-1",
"reason": "",
"bank_status_code": "",
"bank_status_description": "",
"invoice_id": "82294-1",
"total_refund_amount": 0,
"product_price": 100,
"transaction_amount": 102,
"recurring_id": 0,
"ref_number": "",
"transaction_type": "Auth",
"merchant_commission": "5.10",
"user_commission": "2.00",
"settlement_date": "2022-07-21",
"sub_merchant_id": "98950-65-7111155949",
"sub_merchant_settlement_date": "2021-09-21",
"sub_merchant_settlement_auto_approval_date": "2021-09-21",
"approved_items": [
{
"item_id": 1,
"item_approved_date": "2021-09-21 11:00:00",
"approved_via": "TransactionApprove from Merchant"
},
{
"item_id": 3,
"item_approved_date": "2021-09-21 11:00:00",
"approved_via": "Backend from sub_merchant_settlement_auto_approval_date"
}
]
}
]
}
]
}
400 Başarısız Sonuç
json
{
"status_code": 69,
"status_description": "Marketplace sale not found or not processed yet."
}