#ali-raza_code
1 messages ¡ Page 1 of 1 (latest)
đ 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.
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?
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:
Have you checked the public API doc and the description of each field:
https://docs.stripe.com/api/accounts/object ?
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
You need to preview your acocunt's verification requirements with the API and see what is misisng:
In particular you are looking at the onboarding using the APIs:
https://docs.stripe.com/connect/handling-api-verification
Is there any way we can have a google meet?
No, sorry we don't provide that support type here.
Which webhook event is triggered when user stripe connect account is verified?
You keen listening to account.udpated
If you are using the persons API you need to listen to the event person.updated too
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
You can use destination Charge for this:
You have two options:
- Collecting fees with application_fee_amount: https://docs.stripe.com/connect/destination-charges#application-fee
- Collecting fees with transfer_data[amount]: https://docs.stripe.com/connect/destination-charges#transfer-amount