POST api/OmniPay/CreateOmniPayCustomerWallet
Request Information
URI Parameters
None.
Body Parameters
CreateOmniPayCustomerApiModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerName | string |
None. |
|
| CustomerPhone | string |
None. |
|
| EmailAddress | string |
None. |
|
| BVN | string |
None. |
|
| IdempotencyKey | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CustomerId | integer |
None. |
|
| HasOmniPayWallet | boolean |
None. |
|
| BusinessName | string |
None. |
|
| BusinessId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerName": "sample string 1",
"CustomerPhone": "sample string 2",
"EmailAddress": "sample string 3",
"BVN": "sample string 4",
"IdempotencyKey": "sample string 5",
"CreatedBy": 6,
"CustomerId": 7,
"HasOmniPayWallet": true,
"BusinessName": "sample string 9",
"BusinessId": 10
}
application/xml, text/xml
Sample:
<CreateOmniPayCustomerApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BVN>sample string 4</BVN> <BusinessId>10</BusinessId> <BusinessName>sample string 9</BusinessName> <CreatedBy>6</CreatedBy> <CustomerId>7</CustomerId> <CustomerName>sample string 1</CustomerName> <CustomerPhone>sample string 2</CustomerPhone> <EmailAddress>sample string 3</EmailAddress> <HasOmniPayWallet>true</HasOmniPayWallet> <IdempotencyKey>sample string 5</IdempotencyKey> </CreateOmniPayCustomerApiModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/11/03 16:02:18",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>