Dodo Payments Documentation home pagelight logodark logo
  • Community
  • Dashboard
  • Dashboard
Welcome
Setup & Features
Developer Resources
API Reference
Changelog
Overview
  • Introduction
Integration Guides
  • Payments Integration Guide
  • Subscription Integration Guide
  • Code Integration Tutorial
Webhooks
  • Webhooks
  • Webhook Event Guide
  • Webhook Payloads
API Usage & How-Tos
  • Managing Products Via API
  • Manage License Keys using API
  • Configuring Allowed Payment Methods
Overlay Checkout
  • Overlay Checkout
SDKs
  • Node.js, Python, PHP, Go, Ruby, Java & Kotlin
  • React Native SDK (Beta)
Mobile Integration
  • Basics
  • Android Integration
  • IOS Integration
  • Flutter Integration
Plugins & External Integrations
  • WooCommerce Plugin
  • MCP Server
API Usage & How-Tos

Manage License Keys using API

This section provides details on how to integrate and utilize the License Key Management feature using the available APIs.

​
1. License Key Action APIs

POST: Activate License

Activates a license key instance to grant customer access to the associated product.

POST: Deactivate License

Deactivates a previously activated license key instance, freeing it for reuse or managing activation limits.

POST: Validate License

Validates a license key to confirm its authenticity, validity, and compliance with set parameters.

​
2. License Key Management and Query APIs

GET: Get License Keys

Retrieves a list of all license keys for a merchant, including their status and usage details.

GET: Get License Key

Fetches details of a specific license key, including expiry, usage limits, and activation history.

PATCH: Update License Key

Modifies details of an existing license key, such as expiry date, activation limits, enabling or disabling a license key.

​
3. License Key Instance APIs

GET: Get License Key Instances

Retrieves all instances of activations for a specific license key.

GET: Get License Key Instance

Fetches details of a specific license key activation instance, such as device information and activation timestamp.

PATCH: Update License Key Instance

Updates details of a specific license key activation instance, such as revoking access or modifying device information.

By utilizing these APIs, merchants can seamlessly manage license key creation, validation, and monitoring. These endpoints enable complete automation for tracking and securing digital products, ensuring a robust and scalable solution.

Managing Products Via APIConfiguring Allowed Payment Methods
xlinkedinwebsite
Powered by Mintlify
On this page
  • 1. License Key Action APIs
  • 2. License Key Management and Query APIs
  • 3. License Key Instance APIs
Assistant
Responses are generated using AI and may contain mistakes.