Billing

Revoke a Stripe customer alias

Revokes an active historical Stripe customer alias by customer_id (admin only). The revoke is soft: the audit record stays stored, but the alias is no longer used to resolve customers. Returns the alias with its status, revoked_at, revoked_by, user_id and source.

post/admin/billing/stripe/customer-aliases/{customer_id}/revoke

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/admin/billing/stripe/customer-aliases/{customer_id}/revoke
  • Auth: API key in header x-api-key

Path parameters

customer_idstring required

Stripe customer id

Headers

x-api-keystring required

Admin API key required unless an Admin JWT is already present

Response

Revoked alias

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "created_at": "2026-08-09T00:00:00Z",
    "created_by": "admin-user",
    "reason": "Verified against subscription metadata and invoice history",
    "revoked_at": "2026-08-10T00:00:00Z",
    "revoked_by": "admin-user",
    "source": "admin_verified",
    "status": "active",
    "stripe_customer_id": "cus_123",
    "updated_at": "2026-08-09T00:00:00Z",
    "updated_by": "admin-user",
    "user_id": "user-1"
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.