POST api/OmniPay/UpdateOmniPayWalletPin

Request Information

URI Parameters

None.

Body Parameters

UpdateOmniPayWalletPinDto
NameDescriptionTypeAdditional information
RequesterId

integer

None.

OldPin

string

String length: inclusive between 4 and 4

NewPin

string

String length: inclusive between 4 and 4

BusinessId

integer

None.

WalletId

string

None.

WalletType

PublicOmniPayWalletTypes

None.

Request Formats

application/json, text/json

Sample:
{
  "RequesterId": 1,
  "OldPin": "sample string 2",
  "NewPin": "sample string 3",
  "BusinessId": 4,
  "WalletId": "sample string 5",
  "WalletType": 2
}

application/xml, text/xml

Sample:
<UpdateOmniPayWalletPinDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WalletId>sample string 5</WalletId>
  <WalletType>Customer</WalletType>
  <RequesterId>1</RequesterId>
  <OldPin>sample string 2</OldPin>
  <NewPin>sample string 3</NewPin>
  <BusinessId>4</BusinessId>
</UpdateOmniPayWalletPinDto>

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:31:01",
  "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>