- Explore Our Product Suite
- Payment Gateway
- Payment Gateway Overview
- Getting Started
- Payment Methods
- Integration
- API Endpoints
- APIs
- Authorisation
- Order
- Payment
- Refund
- Settlement
- Split Settlement
- E-Commerce Plugins
- Payment Button
- Qr Code
- UPI Mandate
- Payment Links
- Authorisation
- Payouts
- Prepaid Cards
- About Prepaid Card
- Key Capabilities
- Getting Started
- APIs
- API Access & Authorization
- Encryption & Decryption Guide
- Auth Token
- Create Card Account
- Create Gift Card
- Create Prepaid Card
- Set Card PIN
- Load Card Balance
- Get Card Account Details
- Generate Card OTP
- View Card Details
- Card Usage Controls
- Get Card Usage Limits
- Request Card Replacement
- Block Card
- Order Physical Card
- Get Card Details
- Get Transaction Details
- Get All Transaction details
- Bharat Connect (BBPS)
- About Bharat Connect
- Invoice Payments
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook Send Purchase Order Request
- Webhook Send Purchase Order Response
- Webhook Confirm Purchase Order Request
- Webhook Confirm Purchase Order Response
- Webhook Edit Purchase Order Request
- Webhook Edit Purchase Order Response
- Webhook Status Change Purchase Order Request
- Webhook Status Change Purchase Order Response
- Bill Payments
- Accounts Payable
- Account Receivable
- Expense Management
- Rewards & Incentives
- Verification Suite
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 '{
"ekPayId": "string",
"otp": "string",
"checkSum": "string"
}'
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"
}
}