Request IDs 

About the API
Request IDs

Each API request has an associated request identifier. You can find this value in the response headers, under Request-Id. You can also find request identifiers in the URLs of individual request logs in your Dashboard.

To expedite the resolution process, provide the request identifier when you contact us about a specific request.

const Stripe = require('stripe');
const stripe = Stripe('sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2');
var customer = await stripe.customers.create();
console.log(customer.lastResponse.requestId);