HivePay Docs v1.0
Sign In Get API Keys
GET /api/v1/transaction-status Status Query

Transaction Status

Query the real-time status of any collection, card checkout, or payout using either your client reference or the HivePay gateway reference.

Query Parameters (URL)

Parameter Type Required Description
reference string Required Either the merchant reference passed during creation (e.g. ORDER-98765) or the HivePay gateway reference (e.g. COL-AB12CD34EF).

Code Example

curl "https://hivepay.site/api/v1/transaction-status?reference=ORDER-98765" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "X-API-Secret: YOUR_API_SECRET" \
  -H "X-Account-Number: YOUR_ACCOUNT_NUMBER"

Response (200 OK)

Response JSON
{
  "success": true,
  "type": "collection",
  "reference": "ORDER-98765",
  "gateway_reference": "HP-COL-AB12CD34EF",
  "status": "success",
  "amount": 50000,
  "currency": "UGX",
  "phone_number": "0777123456",
  "customer_name": "JOHN DOE",
  "network": "MTN",
  "created_at": "2026-09-13T16:30:00.000000Z"
}