Skip to main content
GET
/
{transactionId}
Get transaction
curl --request GET \
  --url http://staging.qshop.ng/apiv2/{transactionId}
{
  "data": {
    "__v": 0,
    "_id": "62ea571509bd2e9be7de9edd",
    "amount": 18500,
    "breakdown": {
      "aggregate": 816.875,
      "amount": 18500,
      "bankCharge": 76.875,
      "payout": 17683.125,
      "qshopCharge": 740
    },
    "createdAt": "2022-08-03T11:08:05.921Z",
    "meta": {
      "accountNumber": "9978770274",
      "channelId": "1",
      "currency": "NGN",
      "feeAmount": "500",
      "initiationTranRef": "",
      "sessionId": "0000042103011805345648005069266636442358859209",
      "settledAmount": "18500",
      "settlementId": "202210301006807500001631",
      "sourceAccountName": "CASAFINA CREDIT-EASY LOAN",
      "sourceAccountNumber": "2093566866",
      "sourceBankName": "UNITED BANK FOR AFRICA",
      "tranDateTime": "2021-03-01 18:06:20.000",
      "tranRemarks": "FROM UBA/ CASAFINA CREDIT-EASY LOAN-NIP/SEYI OLUFEMI/CASAFINA CAP/0000042103015656180548005069266636",
      "transactionAmount": "19000",
      "vatAmount": "0",
      "virtualBankAccount": {
        "__v": 0,
        "_id": "62ea499b1908431f9caf727b",
        "accountName": "MERCHANT(Qshop/Egoli)",
        "accountNumber": "9978770274",
        "created": "2022-08-03T10:10:35.667Z",
        "isUsed": true,
        "meta": {
          "account_name": "MERCHANT(Qshop/Egoli)",
          "account_number": "9978770274",
          "bvn": "",
          "requestSuccessful": true,
          "responseCode": "00",
          "responseMessage": "Reserved Account Generated Successfully"
        },
        "order": "62ea498e1908431f9caf7276",
        "orderTotal": 22000,
        "platformKey": "providus",
        "platformName": "Providus",
        "shop": "61a956d91a113f7e13c45c15"
      }
    },
    "paymentPlatform": {
      "__v": 1,
      "_id": "61a6406c18ae008099246a8d",
      "image": "providus-logo.png",
      "imageId": "8dea64c5-21b3-4106-9f94-17372c5788b3",
      "imageUrl": "https://ucarecdn.com/8dea64c5-21b3-4106-9f94-17372c5788b3/-/resize/",
      "key": "providus",
      "name": "Providus bank",
      "subscription": {
        "supportedCurrencies": []
      },
      "supportedCountries": [
        "628c8d3c21ce8313e6293c8e"
      ],
      "supportedCurrencies": [
        "60aa6cd79aed9f2aa1b677db"
      ],
      "supportsRecurringPayments": false
    },
    "shop": {
      "_id": "61a956d91a113f7e13c45c15",
      "domainActive": false,
      "domainName": "staar.pre",
      "name": "Egoli",
      "slug": "egoli-3"
    },
    "status": {
      "__v": 0,
      "_id": "62597ba57b912008a11e1206",
      "key": "pending",
      "name": "Pending",
      "notes": "Transaction has been created but no action as been taken at all"
    },
    "statusLogs": [
      {
        "__v": 0,
        "_id": "62597ba57b912008a11e1206",
        "key": "pending",
        "name": "Pending",
        "notes": "Transaction has been created but no action as been taken at all"
      }
    ],
    "transactionReference": "202210301006807500001631",
    "type": "order-payment",
    "virtualBankAccount": {
      "__v": 0,
      "_id": "62ea499b1908431f9caf727b",
      "accountName": "MERCHANT(Qshop/Egoli)",
      "accountNumber": "9978770274",
      "created": "2022-08-03T10:10:35.667Z",
      "isUsed": true,
      "meta": {
        "account_name": "MERCHANT(Qshop/Egoli)",
        "account_number": "9978770274",
        "bvn": "",
        "requestSuccessful": true,
        "responseCode": "00",
        "responseMessage": "Reserved Account Generated Successfully"
      },
      "order": "62ea498e1908431f9caf7276",
      "orderTotal": 22000,
      "platformKey": "providus",
      "platformName": "Providus",
      "shop": "61a956d91a113f7e13c45c15"
    }
  },
  "msg": "Transaction found",
  "success": true
}

Path Parameters

transactionId
string
required
Example:

"62ea571509bd2e9be7de9edd"

Response

200 - application/json

Get transaction

data
object
msg
string
Example:

"Transaction found"

success
boolean
Example:

true