VTU API
Get API keys

Transaction query

POST https://api.paybeta.ng/v2/transaction/query
Send your secret key in the P-API-KEY header. Keep it on your server, never in an app or browser.

Responses

  • 200Success
Request
curl --request POST \
  --url 'https://api.paybeta.ng/v2/transaction/query' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'P-API-KEY: YOUR_SECRET_KEY' \
  --data '{
  "reference": "1746988617"
}'
Response
{
  "status": "successful",
  "message": "Your glo airtime payment is successful",
  "code": "00",
  "data": {
    "paymentStatus": "Delivered",
    "reference": "1746988617",
    "amount": 100,
    "amountPaid": 96,
    "product": "GLO AIRTIME",
    "customerId": "09052216560",
    "token": "0",
    "unit": "0",
    "transactionId": "API-174698861781391390",
    "transactionDate": "2025-05-11T18:37:01.000000Z"
  }
}