#deepakchandrawanshi1063

1 messages · Page 1 of 1 (latest)

onyx kestrelBOT
torn hinge
#

Please remove the secret key in this chat and roll your key asap. Discord is a public place so everyone can see it

thorny gate
#

ok

torn hinge
thorny gate
#

when i am passing business_type:"individual", this gives me response that '"message": "Received unknown parameter: business_type",',

torn hinge
thorny gate
#

requestId: 'req_uIKabC5HYzUG4E',

torn hinge
#

You are using a very old API version 2018-11-08. There's a possibility that business_type is not available in an older API version.

thorny gate
#

so which one I have to use. can you share it's document.

torn hinge
thorny gate
#

const account = await stripe.accounts.create({
country: "AU",
type: "express",
capabilities: {
transfers: { requested: true },
},
email: "abcd123@gmail.com",
business_type: "individual",
individual: {
first_name: "gh",
last_name: "ghgh",
dob: { day: 10, month: 12, year: 1996 },
email: "abcd123@gmail.com",
gender: "male",
phone: "......",
address: {
line1: "............",
postal_code: ....,
city: "....",
state: "....",
},
},
business_profile: {
url: "https://www.linkedin.com/in/....................../",
},
}); is it written correct?

torn hinge
#

It looks good to me

thorny gate
#

and there is no any updated api for bussiness_type.

thorny gate
torn hinge
#

Request ID?

thorny gate
#

requestId: 'req_M3yopHK9BHoqDS'

torn hinge
#

This request was made with the same old APi version