Re-query transaction

Get a payment request final status

/ requery-transaction
GET https://staging-eagle.kongapay.com/request/payment-service/transaction-status?reference={{string}}

This endpoint allows you to re-query payment request transactions in your terminals.

# Headers

Name
Type
Description

Integration-Secret-Key

string

Unique integration key for merchant

Content-Type

string

Set value to application/json

Request Param

Name
Type
Description

reference

string

merchant reference for transaction

Response

```
{
  "status": "success",
  "data": {
    "charge": {
      "status": "completed", // for successful transaction status has to be completed and successful has to be 1 that is true
      "successful": 0, // 0 for false and 1 for true
      "amount": 58096,
      "originalAmount": 58096,
      "identifier": "CH_20254391748_XNZSJ",
      "createdAt": "2025-04-03T10:18:32.000Z",
      "merchantReference": "PR-X4FTD-YA2YV",
      "description": "fixed one time",
      "discounted": 0
    },
    "payment_info": {
      "card_pan": "400000****0002",
      "card_scheme": "visa",
      "channel": "card"
    },
    "metadata": [
      {
        "id": 37243,
        "charge_id": 24299,
        "name": "card_pan",
        "value": "400000****0002",
        "visible": null,
        "created_at": "2025-04-03T10:18:32.000Z",
        "updated_at": "2025-04-03T10:18:32.000Z"
      },
      {
        "id": 37244,
        "charge_id": 24299,
        "name": "card_scheme",
        "value": "visa",
        "visible": null,
        "created_at": "2025-04-03T10:18:32.000Z",
        "updated_at": "2025-04-03T10:18:32.000Z"
      },
      {
        "id": 37245,
        "charge_id": 24299,
        "name": "ip_address",
        "value": "127.0.0.1",
        "visible": null,
        "created_at": "2025-04-03T10:18:32.000Z",
        "updated_at": "2025-04-03T10:18:32.000Z"
      },
      {
        "id": 37246,
        "charge_id": 24299,
        "name": "mobile_number",
        "value": "",
        "visible": null,
        "created_at": "2025-04-03T10:18:32.000Z",
        "updated_at": "2025-04-03T10:18:32.000Z"
      },
      {
        "id": 37247,
        "charge_id": 24299,
        "name": "customer_name",
        "value": "Jane Dame",
        "visible": null,
        "created_at": "2025-04-03T10:18:32.000Z",
        "updated_at": "2025-04-03T10:18:32.000Z"
      },
      {
        "id": 37248,
        "charge_id": 24299,
        "name": "device",
        "value": "{\"httpBrowserLanguage\":\"en-GB\",\"httpBrowserJavaEnabled\":\"false\",\"httpBrowserJavaScriptEnabled\":\"true\",\"httpBrowserColorDepth\":\"24\",\"httpBrowserScreenHeight\":\"720\",\"httpBrowserScreenWidth\":\"1280\",\"httpBrowserTimeDifference\":\"-60\",\"userAgentBrowserValue\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36\"}",
        "visible": null,
        "created_at": "2025-04-03T10:18:32.000Z",
        "updated_at": "2025-04-03T10:18:32.000Z"
      }
    ],
    "refunded_amount": 0
  },
  "request_id": 1411904
}
```

Last updated