1. Group Codes
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
      POST
    • Transfer Enquiry
      GET
    • Get Institutions
      GET
    • Virtual Account Intrabank Transfer
      POST
    • Intrabank Transfer Query
      GET
    • Collection Accounts Intrabank Transfer
      POST
    • Name Inquiry
      POST
    • Core Banking Intrabank Transfer
      POST
    • Transfer Query
      GET
    • Interbank Transfer [Sync]
      POST
  • Invoice
    • Create Invoice
    • Get Invoice Detail
    • Get Invoice Status
    • List Merchant Invoices
  • Refunds
    • Get Refunds
    • Initiate Refund
    • Get Refund Status
  • Notifications
    • Notification
    • Send Notification
  • Group Code
    • Create Group Code
  • 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
        POST
      • Set Collection Account
        POST
      • Get Group Codes
        GET
    • Reporting
      • Get Report Parameters
      • Get Reports
      • Create Report
      • Get Reports Details
      • Get Reports
    • Get Reports
      GET
    • Get Report Parameters
      GET
  • Schemas
    • VACreateGroupCodeRequest
    • SubLedgerGroup
    • InvalidParameterError
    • TransactionPointError
    • UnauthorizedError
    • SpringDefaultError
  1. Group Codes

Set Collection Account

POST
/admin/groupcodes/setcollectionaccount
This API operation enables merchants to designate a specific account as the primary collection account within the merchant portal. By setting a collection account, merchants can streamline the receipt of payments, ensuring all transactions are directed to a designated account for efficient tracking and reconciliation.

Request Body#

Field NameTypeRequiredDescription
clientIdNumberYesThe unique identifier of the client associated with the collection account.
groupCodeStringYesA unique code representing the group to which the collection account belongs.
collectionAccountNUBANStringYesThe NUBAN (Bank Account Number) of the collection account.

Response Body#

Field NameTypeDescription
clientIdNumberThe unique identifier of the client associated with the collection account.
groupCodeStringA unique code representing the group to which the collection account belongs.
collectionAccountNUBANStringThe NUBAN (Bank Account Number) of the collection account.

Request

Authorization
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Token URL: {{tpGatewayHostUrl}}/security/authenticate
or
Body Params application/json

Example
{
  "clientId": 2,
  "groupCode": "822PZCCHVI",
  "collectionAccountNUBAN": "4973039672"
}

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 --location '/admin/groupcodes/setcollectionaccount' \
--header 'Content-Type: application/json' \
--data '{
  "clientId": 2,
  "groupCode": "822PZCCHVI",
  "collectionAccountNUBAN": "4973039672"
}'

Responses

🟢200Response
application/json
Bodyapplication/json

Example
{
  "clientId": 2,
  "groupCode": "822PZCCHVI",
  "collectionAccountNUBAN": "4973039672"
}
🟠400| Source | Error | When |
🟠401| Source | Error | When |
🟠403| Source | Error | When |
🟠404| Source | Error | When |
🔴500| Source | Error | When |
Modified at 2026-11-02 12:41:29
Previous
Create Group Code
Next
Get Group Codes
Built with