Virtual Account Services
  1. Account
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. Account

Rename Account

POST
/account/rename
This API allows users to update the name of an account.

Request Body#

The request is a JSON object containing the following fields:
Field NameData TypeRequiredDescription
namestringtrueThe new name for the account.
accountIDstringtrueThe unique identifier of the account to rename.

Response Body#

The response is a JSON object containing the updated account details.
Field NameData TypeDescription
namestringThe updated name of the account.
createdDatestringThe timestamp when the account record was created.
updatedDatestringThe timestamp when the account record was last updated.
bvnstringThe Bank Verification Number (BVN) associated with the account.
accountIDstringThe unique identifier of the account.

Request

Body Params application/json

Example
{
    "name":"Landmark POS Agent",
    "accountID":"0000000606"
}

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 '/account/rename' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name":"Landmark POS Agent",
    "accountID":"0000000606"
}'

Responses

🟢200Rename Account
application/json
Body

Example
{
    "name": "Landmark POS Agent",
    "createdDate": "2023-04-19T11:42:54.000+00:00",
    "updatedDate": "2023-04-19T11:42:54.000+00:00",
    "bvn": "12121211221",
    "accountID": "0000000606"
}
Modified at 2025-04-02 07:57:02
Previous
Create Account
Next
Balance Inquiry
Built with