#RobertGoddard-identity
1 messages · Page 1 of 1 (latest)
Can you share the exact error message you're getting as well?
Argument of type '{ verification_session: string; }' is not assignable to parameter of type 'EphemeralKeyCreateParams'.
Object literal may only specify known properties, and 'verification_session' does not exist in type 'EphemeralKeyCreateParams'.
"stripe": "^9.14.0", is the version of stripe I'm using in node
Gotcha - let me do something digging!
I think we might have to be a beta user 😦
Are you using TypeScript?
Yes
Yeah so I believe that's the issue - since this isn't fully released yet it's not included in the type definition for EphemeralKeyCreateParams (see https://github.com/stripe/stripe-node/blob/751a9bbd45473dd42bd53b37c2ee66a6696e8778/types/2022-08-01/EphemeralKeys.d.ts#L40). I think you need to use //@ts-ignore to get this to work (see https://github.com/stripe/stripe-node/blob/c356496564061b04263ea1eca23fe4b0b7f2fe69/README.md#using-old-api-versions-with-typescript)
Lemme give it a shot; thanks for the help
Looks like we have to request access to a beta program. hrrm...
Problem is, I setup a fake company account to do all the testing on, so we wouldn't muck up stuff on our actual customer's account (even in test mode)... So I guess we'd have to request to be in the beta program for both our test company and the real company.
Is there a timeline for when the mobile SDKs for identity verification will be in release?