Virtual Account Services
  1. Transaction
Virtual Account Services
  • Introduction
  • Terminologies
  • Webhooks
  • Authentication
  • Account
    • Create Account
      POST
    • Rename Account
      POST
    • Balance Inquiry
      GET
    • Create Bulk Accounts
      POST
    • List Accounts
      GET
  • Transaction
    • Credit Account
      POST
    • Debit Account
      POST
    • Credit Account [Agency Banking]
      POST
    • Debit Account [Agency Banking]
      POST
    • Transaction Query
      GET
    • Transaction Details
      GET
    • Transaction History
      GET
  • Transfer
    • Get Institutions
      GET
    • Name Inquiry
      POST
    • Interbank Transfer
      POST
    • Interbank Transfer [Sync]
      POST
    • Transfer Query
      GET
    • Transfer Enquiry
      GET
    • Virtual Account Intrabank Transfer
      POST
    • Core Banking Intrabank Transfer
      POST
    • Collection Accounts Intrabank Transfer
      POST
  • Invoice
    • Create Invoice
      POST
    • Get Invoice Detail
      GET
    • List Merchant Invoices
      GET
  • Refunds
    • Initiate Refund
    • Get Refund Status
    • Get Refunds
  • Notifications
    • Notification
    • Send Notification
  • Merchant
    • Account
      • Get Account
      • Activate Sub Ledger For Merchant
      • Get SubLedger Callback Urls
      • Set SubLedger Callback Urls
      • Get Collection Accounts
    • Transfer
      • Get Transfer History
      • Get Subledger transfers
      • Get Transfer Details
      • Name Inquiry
    • Refund
      • Refund Details
  • Admin
    • Accounting
      • Get GL Accounts
      • Get Classification Codes
    • Dashboard
      • Dashboard Summary
      • Dashboard Transactions
      • Dashboard Transaction Details
    • Group Codes
      • Get Group Codes
      • Set Collection Account
      • Create Group Code
    • Reporting
      • Get Report Types
      • Get Report Parameters
      • Create Report
      • Get Reports
      • Get Reports Details
  1. Transaction

Credit Account

POST
/credit/uni
This operation credits a virtual account. For this operation to be successful, a classificationCode must be entered. A classification code allows the accounting system understand which accouting ledger and payment type should be used for the transaction.

Request Body#

Field NameTypeRequiredDescription
accountIDstringtrueThe unique identifier of the account initiating the transaction.
classificationCodestringtrueA code used to categorize the type of transaction.
amountdecimaltrueThe transaction amount to be processed.
narrationstringtrueA brief description or reason for the transaction.
transactionReferencestringfalseA unique identifier assigned to the transaction for tracking.

Response Body#

Field NameTypeDescription
transactionTypestringThe type of transaction (e.g., credit, debit).
amountdecimalThe amount associated with the transaction.
narrationstringA brief description or reason for the transaction.
classificationCodestringA code used to categorize the transaction.
successbooleanIndicates whether the transaction was successful (true) or not (false).
traceIDstringA unique identifier used for tracking and debugging purposes.
transactionReferencestringA unique identifier assigned to the transaction.
accountIDstringThe unique identifier of the account involved in the transaction.
transactionTimestringThe date and time when the transaction was processed.

Request

Body Params application/json

Example
{
    "accountID":"0000000238",
    "classificationCode":"SUBLEDGER001_CREDIT",
    "amount":7,
    "narration":"Transactional Test",
    "transactionReference":"NG-0003"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/credit/uni' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accountID":"0000000238",
    "classificationCode":"SUBLEDGER001_CREDIT",
    "amount":7,
    "narration":"Transactional Test",
    "transactionReference":"NG-0003"
}'

Responses

🟢200Credit Account
application/json
Body

Example
{
    "transactionType": "CREDIT",
    "amount": 7,
    "narration": "Transactional Test",
    "classificationCode": "SUBLEDGER001_CREDIT",
    "success": true,
    "traceID": "04c46c69-1e56-4a4e-8158-bc908ccbab2d",
    "transactionReference": "NG-0004",
    "accountID": "0000000238",
    "transactionTime": "2023-03-22T12:28:40.034+00:00"
}
Modified at 2025-03-15 06:14:25
Previous
List Accounts
Next
Debit Account
Built with