Payment status
GET /api/payments/payment-status
Get the status of a payment
Query Parameters
- paymentId uuid
The unique identifier of the payment
- uniqueReference string
The unique reference of the payment
Header Parameters
- api-key string required
- api-secret string required
Responses
- 200
- 404
Payment status
Response Headers
x-request-id any
Request Id for traceability
- */*
- Schema
- Example (from schema)
Schema
- paymentStatus string required
Possible values: [
SUCCESS
,FAILED
,PENDING
,NOT_FOUND
,INVALID_API_KEYS
,API_NOT_ENABLED
]Status
- paymentId uuid required
Unique identifier for the payment
- reference string required
Reference for the transfer
- uniqueReference string required
Unique Reference for the transfer
- amount double required
Amount of the transfer
- amountFee double
Fee of the transfer
- amountTax double
Tax of the transfer
- timestamp date-time
Transfer Time
- transferType string
Possible values: [
BANK
,B2B
,MOBILE_MONEY
,INTERNAL
,INTERNAL_FX
,BILL_PAYMENT
,COUNTERPARTY_TRANSFER
]Transfer Type
- currency string required
Currency of the transfer
- description string required
Detail result of the transfer
- globalAccountId string required
Wallet ID
{
"paymentStatus": "PENDING",
"paymentId": "f9eb1b23-4f78-495c-968c-9dfdfc89a16d",
"reference": " June Payroll",
"uniqueReference": "PW-1001-1222",
"amount": 100,
"amountFee": 10,
"amountTax": 10,
"timestamp": "2024-07-02T09:26:29.062039Z",
"transferType": "BANK",
"currency": "KES",
"description": "Payment failed",
"globalAccountId": "1010911"
}
Status not found
- */*
- Schema
- Example (from schema)
Schema
- detail string
Detail of the message.
{
"detail": "API key Provided Not Valid "
}
Loading...