Closed n-i-k-o-l-a-s closed 1 year ago
Hey @n-i-k-o-l-a-s, thanks for the report. Looks like the parameter is supported but undocumented right now for some reason. We're looking into what's causing this and will work on a fix.
The verification_session property has been released.
Ephemeral keys can be created for a verification session to support the Stripe Identity Mobile SDKs (which take an ephemeral key instead of a client secret).
Passing a verification session ID in through
verification_session
is documented within the Stripe Identity docs here: https://stripe.com/docs/identity/verify-identity-documents?platform=react-native&type=new-integration#add-server-endpoint Below is a code snippet pulled from that page showing a verification session ID being passed through.Currently only
customer
andissuing_card
(andexpand
) are properties documented within the OpenAPI spec forPOST /v1/ephemeral_keys
. Sinceverification_session
is missing on the OpenAPI specs, it seems to affect types on the Node Stripe SDK, which causes some confusion as the only place ofverification_session
being documented as a working and valid parameter for the ephemeral key creation endpoint is in a single page of the Stripe docs.