1. GWS
ResellerStack Developer API
  • Introduction
  • Quick start
  • API Reference
    • Customers
      • List customers
      • Create customer
      • Get customer
      • Update customer notes
      • Update customer status
      • Update billing details
    • Geo
      • List countries
      • List states
    • Pricing
      • List TLD pricing
      • Update TLD pricing
      • Set TLD featured
      • Apply bulk margin
      • Reorder TLD pricing
    • Domains
      • List domains
      • Check domain availability
      • Register a domain
      • Checkout domain cart (bulk)
      • Toggle WHOIS privacy
      • Update domain contacts
      • Get domain
      • Toggle transfer lock
      • Toggle auto-renew
      • Preview renewal price
      • Renew domain now
      • Register a domain with Google Workspace
      • List bundle offers for a name
      • Register a bundle
    • Contacts
      • List contacts
      • Create contact
      • Get contact
    • Orders
      • List orders
      • Get order
    • DNS
      • List DNS records
      • Add DNS records
      • Update DNS record
      • Delete DNS record
      • Update nameservers
      • Reset nameservers
      • List DNSSEC records
      • Add DNSSEC record
      • Delete DNSSEC record
    • Wallet
      • Get wallet balance
    • Webhooks
      • workspace.pastdue
      • workspace.expired
      • workspace.txt.failed
      • workspace.renewed
      • workspace.provisioned
      • workspace.txt.ready
      • workspace.txt.propagated
      • workspace.licenses.increased
      • workspace.deleted
      • workspace.failed
      • mailbox.ready
      • mailbox.deleted
      • workspace.dkim.ready
      • workspace.dkim.propagated
      • workspace.domain.swapped
      • Delivered when domain.order.success fires
      • Delivered when domain.order.failed fires
      • Delivered when domain.renewal.success fires
      • Delivered when domain.renewal.failed fires
    • GWS
      • Google Workspace ~ Creation Flow
      • Google Workspace ~ Sandbox Environment
      • Check Workspace Exists
        POST
      • Create Workspace
        POST
      • List Workspaces
        GET
      • Delete Workspace
        DELETE
      • Check DNS Propagation
        POST
      • Renew Workspace
        POST
      • Change Primary Domain (Beta)
        POST
    • Licenses & Mailboxes
      • Create Mailbox
      • List Mailboxes
      • Delete Mailboxes
      • Decrease Seats
  • Health check
    GET
  • Get current partner
    GET
  1. GWS

Renew Workspace

Production
https://api.resellerstack.ai/api/v1
Production
https://api.resellerstack.ai/api/v1
POST
/gws/renew
๐Ÿงช Sandbox only for now. This endpoint is currently available in the sandbox environment only; live access is coming soon.
Manually renew a Google Workspace subscription.
Charges the partner wallet synchronously. The new billing period starts exactly where the old one ended, so there are no gaps.
Works on both active (pre-pay early) and past_due (catch-up payment) workspaces. A past_due workspace is reactivated immediately once the charge succeeds โ€” the suspension is lifted and mail starts flowing again.
For autoRenew: true workspaces the platform renews automatically. Call this endpoint to trigger a manual early renewal or to recover a past_due workspace immediately without waiting for the next auto-renewal cycle.
Scope: gws:write

Request

Authorization
API Key
Add parameter in header
rs-x-api-key
Example:
rs-x-api-key: ********************
or
Body Params application/jsonRequired

Examples

Responses

๐ŸŸข200Renewed
application/json
Wallet charged, period extended. If the workspace was past_due, it is now active and Google has been instructed to lift the suspension.
Bodyapplication/json

๐ŸŸ 403Forbidden
๐ŸŸ 402Insufficient Wallet Balance
๐ŸŸ 404Not Found
๐ŸŸ 409Conflict
๐ŸŸ 422Validation Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.resellerstack.ai/api/v1/gws/renew' \
--header 'rs-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "domain": "example.com"
}'
Response Response Example
200 - Example 1
{
    "domain": "example.com",
    "status": "ACTIVE",
    "periodStart": "2025-02-01T00:00:00.000Z",
    "periodEnd": "2025-03-01T00:00:00.000Z"
}
Modified atย 2026-10-22 09:07:25
Previous
Check DNS Propagation
Next
Change Primary Domain (Beta)
Built with