The Funding Details endpoint allows you to retrieve transaction-level insights for a specific virtual account session. It’s ideal for:
- 📊 Monitoring deposits
- 🔄 Automating reconciliation
- 💼 Managing cash flow
Get detailed information such as the transaction amount, sender details, time of funding, and status.
🔍 Endpoint Overview
-
Base URL:
https://payment-api-service.transactpay.ai
-
Endpoint:
GET /payment/transaction-details/{sessionId}
-
Method:
GET
🔐 Required Headers
Header | Type | Required | Description |
---|---|---|---|
api-key | string | ✅ Yes | Your Transactpay secret API key |
A validapi-key
must be provided.Unauthorized requests will return a 401 error.
📥 Path Parameter
Parameter | Type | Required | Description |
---|---|---|---|
sessionId | string | ✅ Yes | Unique identifier for the transaction session |
🧾 Sample Success Response
{
"status": true,
"message": "Transaction fetched successfully",
"data": {
"sessionId": "SESS-9283749823",
"amount": "5000",
"currency": "NGN",
"sender_account": {
"account_name": "John Doe",
"account_number": "0123456789",
"bank_name": "Example Bank"
},
"funding_time": "2025-06-11T12:34:56Z",
"virtual_account": {
"account_number": "1234567890",
"alias": "SalesDept"
},
"status": "successful",
"reference": "VAC-128472"
}
}
✅ Use Cases
- ⚙️ Automate Workflows: Trigger internal logic when a virtual account is funded.
- 📈 Track Inflows: Feed data into dashboards or financial tools.
- 🧮 Reconcile Payments: Match inflows with expected references or invoice IDs.