A Next.js service for integrating with the Open Network for Digital Commerce. Handle subscription verification, domain ownership, and cryptographic operations with ease.
Built by Vaatun
The Open Network for Digital Commerce (ONDC) is a Government of India initiative to democratize e-commerce by creating an open, interoperable network. It enables buyers and sellers to transact regardless of the platform they use, breaking down digital commerce silos.
/api/ondc/on_subscribe{
"subscriber_id": "ondc-staging.vaatun.com",
"challenge": "encrypted_challenge_string"
}{
"answer": "decrypted_challenge_string"
}/ondc-site-verification.html<html>
<head>
<meta name="ondc-site-verification"
content="SIGNED_REQUEST_ID" />
</head>
<body>ONDC Site Verification Page</body>
</html>/api/ondc/health{
"status": "Health OK!!"
}