{
  "opencollection": "1.0.0",
  "info": {
    "name": "Interswitch Recharge Airtime Transactions API",
    "version": "2024-01-01"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Transactions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Transaction Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.interswitchng.com/collections/api/v1/gettransaction.json",
            "params": [
              {
                "name": "merchantcode",
                "value": "",
                "type": "query",
                "description": "Merchant code issued by Interswitch."
              },
              {
                "name": "transactionreference",
                "value": "",
                "type": "query",
                "description": "Original `txn_ref` submitted at checkout."
              },
              {
                "name": "amount",
                "value": "",
                "type": "query",
                "description": "Original transaction amount in minor units (kobo)."
              }
            ]
          },
          "docs": "Server-side transaction requery. Returns the authoritative status,\nresponse code, and amount for a given transaction reference. Must be\ncalled before delivering value; do not rely on the browser redirect\nparameters.\n"
        }
      ]
    }
  ],
  "bundled": true
}