Bank Account
Create bank account
Creating a bank account is different from creating a customer account profile. This API endpoint streamlines the process of creating a brand new bank account for the customer account created.
Create Bank Account
Endpoint
{{baseurl}}/accounts/generate
This is a POST request, and it should include the following parameters:
Field | Data Type | Description |
---|---|---|
customerId | string | Required. Unique identifier of the customer account you want to retrieve. |
reference | string | Required. Unique reference code to identify a bank account. |
This is how your request should look:
{
"customerId": "string",
"reference": "string"
}
If your request is successful, the response will look like this:
{
"success": true,
"statusCode": 201,
"message": "Bank account created successfully",
"data": {
"id": "d88343f6-f1c2-4e04-8762-39c7add0c1f8",
"name": "Shiga Technologies LTD / test testing",
"number": "",
"bank": "Testing Bank",
"bankCode": "000017",
"currency": "NGN",
"isVirtual": true,
"createdAt": "2024-05-01T22:37:54.322Z",
"updatedAt": "2024-05-01T22:37:54.322Z",
"businessId": "0bb1dfc6-a74c-4e53-b41a-4a0c1eab188e",
"reference": "shsi29wns02j9whdhnw012bd9dh2w",
"customerId": ""
}
}