kit.customers.retrieve()| Exception | When |
|---|---|
NotFoundError | The customer exists but has already been deleted in Stripe. |
StripeOperationError | The customer ID does not exist, or any other Stripe-side failure. |
userId is always null on a plain retrieve() call, because StripeKit has no way to know your internal user ID from a Stripe customer ID alone unless you pass it in yourself elsewhere. If you need userId populated, look the record up through your own storage adapter, or use findOrCreateByEmail().