Identity profiles

Unlink an identity profile

Changed on

Unlinks an identity profile from the account or user that owns ledger_account_id. Requires identity:write on that account or user.

Required permissions:

  • identity:write
delete/identity_profiles/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required
Example:idpf_xxxxxxxxxxxxx

The ID of the IdentityProfile to unlink.

Query parameters

ledger_account_id, string required

The ID of the LedgerAccount to unlink the identity profile from.

Example:ldgr_xxxxxxxxxxxxx

Response

A successful response

IdentityProfile required

A consolidated identity or business profile synced from verification provider data.

business_address, object nullable required

Registered business address reported by the identity provider. Present on business profiles.

business_name, string nullable required

Business entity name. Present on business profiles.

business_structure, string nullable required

Reported legal structure of a business profile (e.g. corp, llc). Provider-specific values; present on business profiles.

country, string nullable required

ISO 3166-1 alpha-2 country code reported by the identity provider, such as US or GB. For individuals this is the country of citizenship or residence; for businesses, the country of incorporation.

created_at, string date-time required

When the identity profile was first created.

date_of_birth, string nullable required

ISO date (YYYY-MM-DD) reported by the identity provider. Present on individual profiles.

email, string nullable required

Email address reported by the identity provider. Typically present on individual profiles.

first_name, string nullable required

Individual's first name.

id, string required

The tag of the identity profile (idpf_xxx).

last_name, string nullable required

Individual's last name.

linked_companies, object[] required

The companies this identity profile is currently linked to. Only populated for direct Whop user sessions; always empty when authenticated via API key, app, or OAuth scope (a single identity can be linked to companies the calling platform is not entitled to see).

payout_status, 'connected' | 'disabled' | 'action_required' | 'pending_verification' | 'verification_failed' | 'manual_review' | 'denied' | 'not_started' | 'blocked_by_parent' required

Progress of payout-account setup for this profile, independent of holds. connected means onboarding is complete; a connected status paired with payouts_enabled: false indicates an active account restriction rather than incomplete setup.

payouts_enabled, boolean required

Whether this profile can receive payouts right now. True only when payout onboarding is complete and no payout holds are active on the linked account. Treat this as the single source of truth for payout readiness.

personal_address, object nullable required

Residential address reported by the identity provider. Present on individual profiles.

phone, string nullable required

Phone number reported by the identity provider. Typically present on individual profiles.

profile_type, string required

Whether this is an 'individual' or 'business' profile.

status, 'not_started' | 'pending' | 'manual_review' | 'approved' | 'rejected' | 'action_required' required

Derived verification status across all linked verifications. Returns action_required whenever the profile has an open request for information (whether a verification, payout, or audit RFI) — i.e. the merchant must submit something before it is in good standing.

updated_at, string date-time required

When the identity profile was last synced from a verification.

verifications, object[] required

All verification attempts attached to this identity profile, ordered most-recent first.

Example response

{
  "created_at": "2023-12-01T05:00:00.401Z",
  "id": "idpf_xxxxxxxxxxxxx",
  "linked_companies": [
    {
      "id": "biz_xxxxxxxxxxxxxx",
      "title": "Shine Time Auto Detailing"
    }
  ],
  "updated_at": "2023-12-01T05:00:00.401Z",
  "verifications": [
    {
      "created_at": "2023-12-01T05:00:00.401Z",
      "id": "verf_xxxxxxxxxxxxx",
      "last_error_reason": "Document image was too blurry to read.",
      "session_url": "https://verify.stripe.com/session/abc123"
    }
  ]
}

Changes

    • info

      the security scope identity:write was added to the endpoint's security scheme bearerAuth

    • warning

      added the new blocked_by_parent enum value to the payout_status response property for the response status

    • warning

      added the new denied enum value to the payout_status response property for the response status

    3 more changes in this revision