Ubupay Documentation
  1. Transactions
Ubupay Documentation
  • Overview
    • Introduction
    • Getting started
  • Agent API Documentation
    • Introduction
    • Authentication
      • Agent authentication
      • OTP Request
      • OTP Verification
      • Password reset
    • Profile management
      • Create agent business profile
      • Update agent business profile
      • Retrieve agent business profile
      • Agent profile
    • Transactions
      • Transfers list
        GET
      • Transactions status amount
        GET
      • Transactions status count
        GET
      • Update transaction status
        PATCH
  1. Transactions

Transactions status count

GET
/agent/transactions/status-count
This endpoint returns the number of transactions for each status for the connected agent.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/agent/transactions/status-count'
Response Response Example
{
    "status": "success",
    "data": {
        "PENDING": 0,
        "SUCCESSFUL": 0,
        "FAILED": 0,
        "FLAG": 0
    }
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Responses

🟢200Success
application/json
Body
status
string 
required
data
object 
required
PENDING
integer 
required
SUCCESSFUL
integer 
required
FAILED
integer 
required
FLAG
integer 
required
Previous
Transactions status amount
Next
Update transaction status
Built with