Skip to main content
POST
/
credit-entitlements
/
{id}
/
undelete
JavaScript
import DodoPayments from 'dodopayments';

const client = new DodoPayments({
  bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});

await client.creditEntitlements.undelete('id');

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Credit Entitlement ID

Response

Credit Entitlement Restored Successfully