import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: 'My Bearer Token',
});
const licenseKeyInstance = await client.licenseKeyInstances.retrieve('lki_123');
console.log(licenseKeyInstance.id);
{
"business_id": "<string>",
"created_at": "2024-01-01T00:00:00Z",
"id": "lki_123",
"license_key_id": "lic_123",
"name": "Production Server 1"
}
Retrieve details of a specific license key instance by its ID.
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: 'My Bearer Token',
});
const licenseKeyInstance = await client.licenseKeyInstances.retrieve('lki_123');
console.log(licenseKeyInstance.id);
{
"business_id": "<string>",
"created_at": "2024-01-01T00:00:00Z",
"id": "lki_123",
"license_key_id": "lic_123",
"name": "Production Server 1"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
License key instance ID
License key instance found
The response is of type object
.
Was this page helpful?