Update virtual account

Modify virtual account details such as account name, limit, limit amount, and purpose

SecurityoAuth2
Request
path Parameters
customerUID
required
string

Customer Id

accountNumber
required
string

Account Id

Request Body schema: application/json

Account Info

accountName
required
string <= 255 characters

Name for the account. Only letters, numbers, and spaces are allowed.

masterAccountNumber
required
string <= 255 characters

Master Account Number of the partner

productCode
required
string

product code

limit
required
string

limit

Enum: "Monthly" "Quarterly" "HalfYearly" "Annually"
limitAmount
required
number <double>
purpose
string

purpose

submittedBy
string

User who submitted the request

Responses
200

OK

400

Bad request

401

You are not authorized to access the resource

403

Accessing the resource you were trying to reach is forbidden

404

The resource you were trying to reach is not found

500

Internal server error

503

Service unavailable

default

Successful

put/v2/{customerUID}/virtual-accounts/{accountNumber}
Request samples
application/json
{
  • "accountName": "xyz 123",
  • "masterAccountNumber": "xyz 123",
  • "productCode": "string",
  • "limit": "Monthly",
  • "limitAmount": 0,
  • "purpose": "string",
  • "submittedBy": "string"
}
Response samples
application/json
{
  • "accountName": "xyz 123",
  • "accountNumber": 1234567890,
  • "productCode": "string",
  • "routingNumber": 123456789,
  • "accountBalance": 10000.5,
  • "accountStatus": "Active",
  • "accountPurpose": "Payment processing",
  • "accountCreatedOn": "2024-01-15T10:30:00Z",
  • "customerShortName": "ABC Corp",
  • "customerLegalName": "ABC Corporation Inc.",
  • "customerId": "CUST001",
  • "customerEmailAddress": "contact@abccorp.com",
  • "customerPhoneNumber": "+1-555-123-4567",
  • "masterAccountName": "Master Account 001",
  • "masterAccountNumber": "MASTER001",
  • "limit": "Monthly",
  • "limitAmount": 50000,
  • "purpose": "Payment processing"
}