- Payment Gateway Overview
- Payment Gateway Sign Up
- Payment Methods
- Supported Integrations
- Payment Gateway APIs
- Web Integration
- Server to Server Integration
- Test Card Details
- Authorization
- Orders
- Payments
- Refunds
- Settlements
- Split Settlements
- E-Commerce Plugins
- Payment Links
- Payment Button
- Qr Code
- UPI Mandate
Validate OTP
Developing
POST
/pay/otp/validate
Request
Body Params application/json
ekPayId
string
required
otp
string
required
checkSum
string
optional
Example
{
"ekPayId": "string",
"otp": "string",
"checkSum": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/pay/otp/validate' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
response_code
integer <int32>
optional
response_message
string
optional
payload
object (OTPResponse)
optional
uniqueTransactionId
string
optional
publicIdentifierKey
string
optional
transactionId
string
optional
amount
string
optional
currency
string
optional
otpReferenceNumber
string
optional
txnMessage
string
optional
txnStatus
string
optional
txnDate
string
optional
orderId
string
optional
Example
{
"response_code": 0,
"response_message": "string",
"payload": {
"uniqueTransactionId": "string",
"publicIdentifierKey": "string",
"transactionId": "string",
"amount": "string",
"currency": "string",
"otpReferenceNumber": "string",
"txnMessage": "string",
"txnStatus": "string",
"txnDate": "string",
"orderId": "string"
}
}
Modified at 2024-10-10 08:31:45