POST api/OmniPay/CreateOmniPayCustomerWallet
Request Information
URI Parameters
None.
Body Parameters
CreateOmniPayCustomerApiModelName | 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CustomerName>sample string 1</CustomerName> <CustomerPhone>sample string 2</CustomerPhone> <EmailAddress>sample string 3</EmailAddress> <BVN>sample string 4</BVN> <IdempotencyKey>sample string 5</IdempotencyKey> <CreatedBy>6</CreatedBy> <CustomerId>7</CustomerId> <HasOmniPayWallet>true</HasOmniPayWallet> <BusinessName>sample string 9</BusinessName> <BusinessId>10</BusinessId> </CreateOmniPayCustomerApiModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponseName | 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/04/28 14:31:02", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>