POST api/OmniPay/SendOmniPayTransactionOtp
Request Information
URI Parameters
None.
Body Parameters
SendOmniPayTransactionOTPName | Description | Type | Additional information |
---|---|---|---|
RequesterId | integer |
None. |
|
OrderId | string |
None. |
|
Amount | integer |
None. |
|
Message | string |
None. |
|
OrderAmount | decimal number |
None. |
|
OmsOrderId | string |
None. |
|
OmoniPoint | decimal number |
None. |
|
BusinessId | integer |
None. |
|
WalletId | string |
None. |
|
WalletType | OmniPayWalletTypes |
None. |
|
OtpType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OtpType": "sample string 1", "RequesterId": 1, "OrderId": "sample string 2", "Amount": 3, "Message": "sample string 4", "OrderAmount": 5.0, "OmsOrderId": "sample string 6", "OmoniPoint": 7.0, "BusinessId": 8, "WalletId": "sample string 9", "WalletType": 1 }
application/xml, text/xml
Sample:
<SendOmniPayTransactionOTP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <WalletId>sample string 9</WalletId> <WalletType>Company</WalletType> <RequesterId>1</RequesterId> <OrderId>sample string 2</OrderId> <Amount>3</Amount> <Message>sample string 4</Message> <OrderAmount>5</OrderAmount> <OmsOrderId>sample string 6</OmsOrderId> <OmoniPoint>7</OmoniPoint> <BusinessId>8</BusinessId> </SendOmniPayTransactionOTP>
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:43:15", "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>