Funding Details

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

HeaderTypeRequiredDescription
api-keystringโœ… YesYour Transactpay secret API key
โš ๏ธ

A valid api-key must be provided.

Unauthorized requests will return a 401 error.


๐Ÿ“ฅ Path Parameter

ParameterTypeRequiredDescription
sessionIdstringโœ… YesUnique 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.