Skip to main content

Endpoint

POST https://api.ugc.inc/billing/reactivate-account

Overview

Undo a pending cancellation on an account, restoring it to its prior status. Must be called before the billing period ends. No billing change occurs — quantity was never decremented.

Request Body

account_id
string
required
ID of the account to reactivate

Response

data
object
curl -X POST https://api.ugc.inc/billing/reactivate-account \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"account_id": "acc_123"}'
import { UGCClient } from 'ugcinc';

const client = new UGCClient({ apiKey: 'YOUR_API_KEY' });
const response = await client.billing.reactivateAccount({
  account_id: 'acc_123'
});
{
  "ok": true,
  "code": 200,
  "message": "Success",
  "data": {
    "message": "Cancellation undone",
    "account_id": "acc_123"
  }
}