Skip to main content
GET
/
collection
/
status
Poll collection status
curl --request GET \
  --url https://{gatewayHost}/api/collection/status \
  --header 'Authorization: Bearer <token>'
{
  "transactionId": "ORDER_12345",
  "fspId": "CLICKPESA",
  "amount": "1000.00",
  "currency": "TZS",
  "status": "COMPLETED",
  "gatewayRef": "LCPCATJHWWYQBY",
  "collectedAmount": "1000",
  "fspFee": "0.00",
  "fspStatus": {
    "status": "SUCCESS",
    "gatewayResponse": [
      {
        "channel": "AIRTEL-MONEY",
        "status": "SUCCESS",
        "paymentReference": "MP260521.1357.V51245"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer token from POST /generate-token. Expires ~1h; on 401, re-generate and retry once.

Query Parameters

transactionId
string
required
fspId
string
default:CLICKPESA
required

Response

Status (poll until COMPLETED)