## Create an ephemeral key nonce Use `stripe.createEphemeralKeyNonce` in the [Issuing Elements](/issuing/elements.md) flow to create an ephemeral key nonce. Refer to our [integration guide](/issuing/elements.md#web-api-integration) for more details. `stripe.createEphemeralKeyNonce` will return a `Promise` which resolves with a `result` object. This object has either: * `result.nonce`: the successful ephemeral key nonce. * `result.error`: an error. Refer to the [API reference](/api/errors) for all possible errors. **Syntax:** `stripe.createEphemeralKeyNonce(...)` - `options` (object) **required** Data to be sent with the request. - `issuingCard` (string) **required** The `id` of an existing [Issuing card](/api/issuing/cards/object.md). The nonce returned by this method can only be used to retrieve this Issuing card. ### Create ephemeral key nonce ```js stripe .createEphemeralKeyNonce({ issuingCard: 'ic_1ITi6XKYfU8ZP6raDAXem8ql' }) .then(function(result) { // Handle result.error or result.nonce }); ```