#ali-raza_code

1 messages ¡ Page 1 of 1 (latest)

delicate coralBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1217761823718244406

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

novel vessel
#
 fn SCA() {
      const accountDetails: Stripe.AccountCreateParams = {
        type: 'custom',
        business_type: 'individual',
        business_profile: {
          mcc: '5734',
          url: 'https://accessible.stripe.com',
          name: 'taskbook',
        },
        settings: {
          payments: {
            statement_descriptor: 'Taskbook',
          },
        },
        tos_acceptance: {
          date: 1581537053,
          ip: '10.1.1.1',
        },
        company: {
          name: 'Taskbook',
          address: {
            line1: 'address_full_match',
            city: 'Fresno',
            state: 'CA',
            postal_code: '90210',
          },
          tax_id: '000000000',
          phone: '8008675309',
        },
        individual: {
          first_name: 'farooq',
          last_name: 'majid',
          dob: {
            day: 0o1, // 1
            month: 0o1, // 1
            year: 1901,
          },
          address: {
            line1: 'address_full_match',
            city: 'Fresno',
            state: 'CA',
            postal_code: '90210',
          },
          id_number: '000000000',
          email: 'sfarooq@zenkoders.com',
          phone: '5551234567',
          ssn_last_4: '0000',
        },
        external_account: 'tok_mastercard_debit_transferSuccess',
        capabilities: {
          card_payments: { requested: true },
          transfers: { requested: true },
        },
        country: paymentDetails.country,
        email: paymentDetails.email,
      };
      await this.stripe.accounts.create(accountDetails);
  }
#

I have already created an API from which a user account is connected/created. But I am not sure from these fields what should I ask from user ( End user ) and what details should I put of the platform.

#

For-Example:
What should I write for compay name?
End user name or platform name

End user: Ali
platform name: Taskbook

What should I put?

naive wagonBOT
novel vessel
#

It would be very helpful for me if you can write what fields should take what value.

Like:

company: {
name: "Name of the platform"

},
indiviual: {

first_name: ' name of end user'

}

Like this if possible.

#

This is my mobile app from where I take user input:

sharp mason
novel vessel
#

Yes I have seen

#

but I am still confused

#

I have done most of the part

#

My account is also created on stripe connect

#

and it is marked as completed also

#

only problem is that when I create account it should doing business as taskbook

sharp mason
novel vessel
#

Is there any way we can have a google meet?

sharp mason
#

No, sorry we don't provide that support type here.

novel vessel
#

Which webhook event is triggered when user stripe connect account is verified?

sharp mason
#

You keen listening to account.udpated

#

If you are using the persons API you need to listen to the event person.updated too

novel vessel
#

Okay now coming to next step.

User A created a task for $100 USER B completes the task now USER a has to pay 100+20 to platform and then platform will take their 20% and return 100 to USER B.
Please tell me how to achieve this

sharp mason
#

You can use destination Charge for this: