1. Group Code
Virtual Account Services
  • Introduction
  • Terminologies
  • Webhooks
  • Authentication
  • Account
    • Create Account
      POST
    • Balance Inquiry
      GET
    • Rename Account
      POST
    • 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
    • Interbank Transfer
      • Interbank Transfer
      • Interbank Transfer [Sync]
      • Transfer Query
      • Transfer Enquiry
    • Intrabank Transfer
      • Intrabank Transfer [Same Groupcode]
      • Intrabank Transfer [Different Group Codes]
      • Intrabank Transfer [Savings Account]
      • Intrabank Transfer Query
      • Universal Intrabank Transfer
      • Universal Intrabank Transfer Query
    • Name Inquiry
      POST
    • Get Institutions
      GET
  • Invoice
    • Create Invoice
      POST
    • Get Invoice Detail
      GET
    • Get Invoice Status
      GET
    • List Merchant Invoices
      GET
  • Refunds
    • Get Refunds
    • Initiate Refund
    • Get Refund Status
  • Notifications
    • Notification
    • Send Notification
  • Group Code
    • Create Group Code
      POST
  • Overdraft
    • Draw Overdraft
  • Merchant
    • Account
      • Get Account
      • Activate Sub Ledger For Merchant
      • Get SubLedger Callback Urls
      • Set SubLedger Callback Urls
      • Get Collection Accounts
    • Transfer
      • Get Transfer Details
      • Name Inquiry
      • Get Transfer History
      • Get Subledger transfers
    • Refund
      • Refund Details
    • Create Merchant Account
    • Activate Sub Ledger For Merchant
    • Get KYC Information
    • Get Group Code Collection Account
    • Get Collection Accounts
    • Set Collection Account
    • Get Transfer Details
    • Name Inquiry
  • Admin
    • Accounting
      • Get Classification Codes
      • Get GL Accounts
    • Dashboard
      • Dashboard Summary
      • Dashboard Transaction Details
      • Dashboard Transactions
    • Group Codes
      • Create Group Code
      • Set Collection Account
      • Get Group Codes
    • Reporting
      • Get Report Parameters
      • Get Reports
      • Create Report
      • Get Reports Details
      • Get Reports
    • Get Reports
    • Get Report Parameters
  • Schemas
    • VACreateGroupCodeRequest
    • SubLedgerGroup
    • InvalidParameterError
    • TransactionPointError
    • UnauthorizedError
    • UniversalIntrabankTransferResponse
    • SpringDefaultError
  1. Group Code

Create Group Code

POST
/va/groupcodes

Create VA Group Code#

POST /va/groupcodes
Creates a sub-ledger group code for a client (merchant). Virtual accounts are later issued under a group code.

Request Body#

FieldTypeRequiredDescription
clientIdlongYesTransactionPoint client ID that will own the group code
typestringYesGroup code type: Normal, Invoice, Utility or Savings. The gateway only checks that it isn't blank; core banking validates the value.
descriptionstringYesReadable description of the group code. Must not be blank.
productIdlongYesSavings product ID used for the sub-ledger accounts
customNUBANbooleanNo (default false)true means virtual accounts under this group code use NUBANs supplied by the caller.

Sample Request#

{
  "clientId": 18,
  "type": "Normal",
  "description": "School fees collection",
  "productId": 3,
  "customNUBAN": false
}

Success Response — 200 OK#

FieldTypeDescription
clientIdlongClient that owns the group code
productIdlongAlways 0 in this response (see Notes)
accountIdstringCollection savings account ID created for the group
groupCodestringThe generated group code
{
  "clientId": 18,
  "productId": 0,
  "accountId": "73",
  "groupCode": "GC0000018"
}

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Header Params

Body Params application/json

Examples
{
  "clientId": 18,
  "type": "Normal",
  "description": "School fees collection",
  "productId": 3,
  "customNUBAN": false
}

Request Code 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
curl --location '/va/groupcodes' \
--header 'X-Forwarded-For: 102.89.34.10' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
  "clientId": 18,
  "type": "Normal",
  "description": "School fees collection",
  "productId": 3,
  "customNUBAN": false
}'

Responses

🟢200Group code created
application/json
Group code created
Bodyapplication/json

Example
{
  "clientId": 18,
  "productId": 0,
  "accountId": "73",
  "groupCode": "GC0000018"
}
🟠400| Source | Error | When |
🟠401| Source | Error | When |
🔴500| Source | Error | When |
Modified at 2026-11-02 12:41:29
Previous
Send Notification
Next
Draw Overdraft
Built with