Billing
Reactivate Account
Undo a pending cancellation on an account
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"
}
}
⌘I
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"
}
}
