Dodo Payments Documentation home pagelight logodark logo
  • llms-full.txt
  • Community
  • Get Started
  • Get Started
Setup & Features
Developer Resources
API Reference
External Integrations
Changelog
Developer Resources
  • Introduction
Integration Guides
  • Payments Integration Guide
  • Subscription Integration Guide
  • Code Integration Tutorial
  • Overlay Checkout Guide
  • Mobile Integration Guide
  • MCP Server Guide
Webhooks
  • Webhooks
  • Webhook Event Guide
  • Webhook Payloads
API Usage & How-Tos
  • Managing Products Via API
  • Manage License Keys using API
  • Configuring Allowed Payment Methods
SDKs
  • Node.js, Python, PHP, Go, Ruby, Java & Kotlin
  • React Native SDK (Beta)
Framework Adaptors
  • Next.js Adaptor
  • Nuxt Adaptor
  • Better-Auth Adapter
  • Express Adaptor
  • Astro Adaptor
  • SveleteKit Adaptor
  • Hono Adaptor
  • Remix Adaptor
  • Tanstack Adaptor
  • Fastify Adaptor
On this page
  • 1. License Key Action APIs
  • 2. License Key Management and Query APIs
  • 3. License Key Instance APIs
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.

Was this page helpful?

Managing Products Via APIConfiguring Allowed Payment Methods
xlinkedinwebsitediscordgithubinstagramfacebook
Powered by Mintlify
Assistant
Responses are generated using AI and may contain mistakes.