Validate Payment
This endpoint is used to validate a payment transaction and provides the transaction status, such as success, error, or other outcomes.
Endpoint
POST Payments/ValidatePayment
Headers
Authorization: Bearer
To authorize this API request, you need to include your token
as a bearer token. This is done by setting the Authorization header in your request. The header should have the format:
Authorization: "Bearer token"
The token
property is gotten from the response data when you fetch
payment
meta
Request Body Parameters
-
entryType
(Integer): The type of entry for the validation process. See reference. -
transactionId
(String): The unique identifier for the transaction. -
providerReference
(String): The reference provided by the payment provider. Example:"EZP8833691220250110111140"
.
Request
{
"entryType": 0,
"transactionId": "492uu387927",
"providerReference": "EZP8309872720250310223618"
}
- Success
- Pending
Response (200) - Success
{
"responseCode": "00",
"responseMessage": "Transaction successful.",
}
Response (Pending Trxn)
{
"responseCode": "05",
"responseMessage": "*737*000*4831#"
}