#Sachin_
1 messages · Page 1 of 1 (latest)
Hi, first please redact your secret key sk_text_xxx
then please elaborate on your question. what do you mean by getting the btok value?
Like I want to add bank details of customer
But it is asking for one more key source so I want to ask where I can get this key
const stripe = require('stripe')('sk_test_4eC39HqLyjWDarjtT1zdp7dc');const bankAccount = await stripe.customers.createSource( 'cus_4QFH0Vc7JRxtEv', {source: 'btok_1M9jN72eZvKYlo2CU4pey7nJ'});
You want to know where to get that btok_xxx value?
Yes
Is there a Doc you are following?
Yes
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It is from this API https://stripe.com/docs/api/tokens/create_bank_account, but why do you need to do this? Do you have the bank account information on backend?