POST api/OmniPay/CreateOmniPayDepotWallet

Request Information

URI Parameters

None.

Body Parameters

CreateOmniPayUserWalletApiModel
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

EmailAddress

string

None.

BVN

string

None.

Password

string

Min length: 8

PhoneNumber

string

None.

RoleId

OmniPayUserEnum

None.

RoleName

string

None.

IdempotencyKey

string

None.

CreatedBy

integer

None.

UserId

integer

None.

StockPointId

integer

None.

IsSfa

boolean

None.

BusinessId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "EmailAddress": "sample string 3",
  "BVN": "sample string 4",
  "Password": "sample string 5",
  "PhoneNumber": "sample string 6",
  "RoleId": 1,
  "RoleName": "sample string 7",
  "IdempotencyKey": "sample string 8",
  "CreatedBy": 9,
  "UserId": 10,
  "StockPointId": 11,
  "IsSfa": true,
  "BusinessId": 13
}

application/xml, text/xml

Sample:
<CreateOmniPayUserWalletApiModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
  <EmailAddress>sample string 3</EmailAddress>
  <BVN>sample string 4</BVN>
  <Password>sample string 5</Password>
  <PhoneNumber>sample string 6</PhoneNumber>
  <RoleId>Admin</RoleId>
  <RoleName>sample string 7</RoleName>
  <IdempotencyKey>sample string 8</IdempotencyKey>
  <CreatedBy>9</CreatedBy>
  <UserId>10</UserId>
  <StockPointId>11</StockPointId>
  <IsSfa>true</IsSfa>
  <BusinessId>13</BusinessId>
</CreateOmniPayUserWalletApiModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional 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:40:21",
  "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>