Verify Transaction by Session ID
Verify transactions using the session ID provided in webhook notifications to confirm they originate from Providus Bank.
HTTP Request
GET /PiPverifyTransaction_sessionid?session_id={sessionId}
Post http://154.113.16.142:8088/appdevapi/api/PiPverifyTransaction_sessionid?session_id={sessionId}
{
"sessionId": "09FG240119090404935XTTGA9",
"initiationTranRef": "",
"accountNumber": "9977904966",
"tranRemarks": "FROM 701/null/AT124_TRF|2MPT1xc5r|1748255361543127040/09FG240119090404935XTTGA9",
"transactionAmount": 1000.0,
"settledAmount": 955.0,
"feeAmount": 45.0,
"vatAmount": 0.0,
"currency": "NGN",
"settlementId": "210240119000176500002",
"sourceAccountNumber": " ",
"sourceAccountName": "null",
"sourceBankCode": "701",
"sourceBankName": "",
"channelId": "1",
"tranDateTime": "2024-01-19 09:04:37",
"settlementDateTime": "1/19/2024 10:12:53 AM",
"stamp_duty_flg": 0,
"post_flg": 0,
"notification_acknowledgement": 1
}
Sample Implementation
curl -X GET "http://154.113.16.142:8088/appdevapi/api/PiPverifyTransaction_sessionid?session_id=09FG240119090404935XTTGA9" \
-H "Client-Id: dGVzdF9Qcm92aWR1cw==" \
-H "X-Auth-Signature: BE09BEE831CF262226B426E39BD109f2AF84DC63076D4174FAC78A2261F9A3D6E59744983B8326B69CDF2963FE314DFC89635CFA37A40596508DD6EAAB09402C7"
The above command returns JSON structured like this:
{
"sessionId": "09FG240119090404935XTTGA9",
"initiationTranRef": "",
"accountNumber": "9977904966",
"tranRemarks": "FROM 701/null/AT124_TRF|2MPT1xc5r|1748255361543127040/09FG240119090404935XTTGA9",
"transactionAmount": 1000.0,
"settledAmount": 955.0,
"feeAmount": 45.0,
"vatAmount": 0.0,
"currency": "NGN",
"settlementId": "210240119000176500002",
"sourceAccountNumber": " ",
"sourceAccountName": "null",
"sourceBankCode": "701",
"sourceBankName": "",
"channelId": "1",
"tranDateTime": "2024-01-19 09:04:37",
"settlementDateTime": "1/19/2024 10:12:53 AM",
"stamp_duty_flg": 0,
"post_flg": 0,
"notification_acknowledgement": 1
}
Last updated