Virtual Account Services
  1. Group Codes
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
    • Get Invoice Detail
    • List Merchant Invoices
  • 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
        GET
      • Set Collection Account
        POST
      • Create Group Code
        POST
    • Reporting
      • Get Report Types
      • Get Report Parameters
      • Create Report
      • Get Reports
      • Get Reports Details
  1. Group Codes

Get Group Codes

GET
/admin/groupcodes/{clientId}
This API retrieves a list of group codes associated with a specific client. This data is essential for tracking virtual account groups and managing associated financial activities.

Request Parameters#

Path Parameter:
Field NameData TypeRequiredDescription
clientIdintegertrueThe unique identifier for the client.

Response Body#

The response is a JSON array of group code objects. Each object includes the following fields:
Field NameData TypeDescription
clientIdintegerUnique identifier of the client.
productIdintegerIdentifier for the associated product (0 if not applicable).
typestringThe type of the group (e.g., "Normal").
balancenumberThe current balance of the group account.
accountIdstringIdentifier of the account associated with the group.
groupCodestringA unique code representing the group.
descriptionstringA brief description of the group (e.g., "BuyPower Virtual Accounts Group").
enforceExternalIdstringA flag indicating external ID enforcement (typically "0").
lastTransDatestringTimestamp of the last transaction for the group (ISO 8601 format).
subLedgerTypestringCode representing the sub-ledger type.
createdOnstringTimestamp when the group code was created (ISO 8601 format).

Request

Path Params

Query Params

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 GET '/admin/groupcodes/2?type=Normal'

Responses

🟢200Group Codes
application/json
Body

Example
[
    {
        "clientId": 2,
        "productId": 0,
        "type": "Normal",
        "balance": 1101,
        "accountId": "2",
        "groupCode": "VKRS4HQ5VD",
        "description": "BuyPower Virtual Accounts Group",
        "enforceExternalId": "0",
        "lastTransDate": "2024-04-30T16:06:53.000Z",
        "subLedgerType": "2",
        "createdOn": "2024-02-02T22:08:26.000Z"
    },
    {
        "clientId": 2,
        "productId": 0,
        "type": "Normal",
        "balance": 0,
        "accountId": "532",
        "groupCode": "HP51HEQO4G",
        "description": "Jumia Pay App 2",
        "enforceExternalId": "0",
        "lastTransDate": "2024-06-26T13:33:37.000Z",
        "subLedgerType": "2",
        "createdOn": "2024-06-26T12:33:37.000Z"
    },
    {
        "clientId": 2,
        "productId": 0,
        "type": "Normal",
        "balance": 0,
        "accountId": "531",
        "groupCode": "24JRD25EPC",
        "description": "Jumia Pay App",
        "enforceExternalId": "0",
        "lastTransDate": "2024-06-26T13:07:55.000Z",
        "subLedgerType": "2",
        "createdOn": "2024-06-26T12:07:55.000Z"
    }
]
Modified at 2025-02-27 10:08:38
Previous
Dashboard Transaction Details
Next
Set Collection Account
Built with