Pular para o conteúdo principal
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');

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

id
string
obrigatório

Credit Entitlement ID

Resposta

Credit Entitlement Restored Successfully