Order Status

Get order Status Update

GET
/order/status/{orderId}
/order/status/{orderId}

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Path Parameters

orderId
Required
string

curl -X GET "https://api.t4b.top/order/status/string" \
  -H "Authorization: Bearer <token>"

Ok

{
  "data": {
    "type": "event",
    "errorCode": "error",
    "data": {
      "status": "event",
      "order": {
        "game": "FREE_FIRE",
        "amount": "1000",
        "uid": "123456",
        "callbackUrl": "http://localhost:3000/callback",
        "id": 1,
        "userId": 1,
        "node_id": 1,
        "state": 0,
        "sequences": [
          {
            "id": 1,
            "orderId": 1,
            "stock_id": 1,
            "backUpStock_id": 1,
            "stockAccountId": 1,
            "amount": "1000"
          }
        ],
        "user": {
          "id": 1,
          "name": "username",
          "role": "ADMIN"
        }
      },
      "orderState": {
        "id": 1,
        "browserLaunched": true,
        "pageOpened": true,
        "portalUrl": "http://localhost:3000",
        "loggedIn": true,
        "loggedInUser": "username",
        "proceedToPayUrl": "http://localhost:3000",
        "orderSuccess": true,
        "orderFailed": false,
        "orderFailedMessage": "error",
        "orderFailedErrorCode": 1,
        "orderFailedProof": "http://localhost:3000",
        "took": 1
      },
      "sequenceStates": {
        "1": {
          "index": 1,
          "sequenceId": 1,
          "pageUrl": "http://localhost:3000",
          "pageOpened": true,
          "stockAmount": 1,
          "stockSerial": "serial",
          "stockSerialType": "type",
          "stockUseSuccess": true,
          "stockAlreadyUsed": true,
          "stockAlreadyUseProof": "http://localhost:3000",
          "stockTyped": true,
          "stockEntered": true,
          "applyBackUp": true,
          "backupStockSerial": "serial",
          "backupStockSerialType": "type",
          "backupStockUseSuccess": true,
          "backupStockAlreadyUsed": true,
          "backupStockAlreadyUseProof": "http://localhost:3000",
          "backupStockTyped": true,
          "backupStockEntered": true,
          "paymentSuccess": true,
          "paymentProof": "http://localhost:3000",
          "retryCount": 1
        }
      },
      "lastUpdate": "2021-09-29T08:24:00.000Z"
    }
  },
  "statusCode": 200
}