Disconnect the owner Link wallet
Human owner only. Revokes the refresh grant at Link and removes encrypted credentials and pending authorization after success. Repeated disconnection is harmless. Provider failure preserves local state for retry. Available when purchasing is disabled.
POST
/v1/payments/link/disconnectAuthorization
AuthorizationBearer token (JWT) · headerrequiredClerk human owner session JWT; iss must equal the configured Clerk issuer and the identity must be a human (not agent) owner with a verified email.
or
AuthorizationOAuth2 access token · headerrequiredScopes:
agentsub:ownerResponses
200
Wallet grant disconnected
connectedbooleanrequired403
owner_required
codestringrequiredAllowed:
owner_requiredagent_mismatchidempotency_requiredinvalid_inputstripe_signature_requiredpayment_unavailablestatusintegerrequired503
payment_unavailable
codestringrequiredAllowed:
owner_requiredagent_mismatchidempotency_requiredinvalid_inputstripe_signature_requiredpayment_unavailablestatusintegerrequired