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. |
|
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, "WalletId": "sample string 8", "WalletType": 1 }
application/xml, text/xml
Sample:
<SendOmniPayTransactionOTP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <WalletId>sample string 8</WalletId> <WalletType>Company</WalletType> <Amount>3</Amount> <Message>sample string 4</Message> <OmoniPoint>7</OmoniPoint> <OmsOrderId>sample string 6</OmsOrderId> <OrderAmount>5</OrderAmount> <OrderId>sample string 2</OrderId> <RequesterId>1</RequesterId> </SendOmniPayTransactionOTP>
application/x-www-form-urlencoded
Sample:
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/04 07:19:32", "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>