#hiren-prajapati_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/1324737833155432478
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- hiren-prajapati_api, 1 hour ago, 49 messages
req_gtZSiJehOzYoQr
How to get stripe account status pending to verfied through webook?
as you can see the account is missing requirements.past_due "external_account"
cuurent i am create the stripe account correct so in response give me pending right and after seconds auto matcally verifed but how to update in my own db through
Ok got it I am updatin this stripe account correct after how to update my own db pendig to verifed
so you need to implement https://docs.stripe.com/connect/payouts-bank-accounts?bank-account-collection-method=manual-entry&bank-account-collection-integration=direct-api
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
"status": "new"
but this status why give me new each time i amm add exteranl account in test mode how to get this status as verifed
ID
req_ajOa87obc4TRsF
in webhook through give me staus updated
?????
how to get the external bank account status new to verified in test mode
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
export const addExternalBankAccount = async (stripeAccountId, bankAccountDetails, filePath) => {
try {
const bankAccount = await stripe.accounts.createExternalAccount(stripeAccountId, {
external_account: {
object: 'bank_account',
country: bankAccountDetails.country || 'GB',
currency: bankAccountDetails.currency || 'GBP',
account_holder_name: bankAccountDetails.accountHolderName,
account_holder_type: 'individual',
account_number: bankAccountDetails.accountNumber,
routing_number: bankAccountDetails.sortCode,
},
});
if (process.env.NODE_ENV === 'development') {
bankAccount.status = 'verified';
}
return bankAccount;
} catch (error) {
if (error.message.includes('You must use a test bank account number in test mode')) {
throw new ApiError(STATUS_CODES.BAD_REQUEST, "Invalid account number. Use test account '00012345' for testing.");
}
// Generic error handling
throw new ApiError(STATUS_CODES.INTERNAL_SERVER_ERROR, `Failed to add bank account`);
}
};
you need to use these numbers in test mode https://docs.stripe.com/connect/testing#account-numbers
Yes i have use this numbers but not geeting verifed status in the external_account.updated event
ID
req_ajOa87obc4TRsF this is req id you can check and point me if any missing for that status
IN test mode
the request you shared is the one which creates the account
but not the bank account that needs to be added to the account in order for it to receive payouts
"requirements": {
"alternatives": [
],
"currently_due": [
],
"errors": [
],
"eventually_due": [
],
"past_due": [
],
"pending_verification": [
]
in this requirement to getting status as new so how to get verifed
"requirements": {
"alternatives": [
],
"current_deadline": null,
"currently_due": [
"external_account"
],
"disabled_reason": "requirements.past_due",
"errors": [
],
"eventually_due": [
"external_account"
],
"past_due": [
"external_account"
],
"pending_verification": [
]
i need new to verifed status in external account in test mode which time to getting this status
which requirement to fulfill
to geeting me this status
I've been telling you the exact same answer since the beginning of this conversation
you need to create an external account for this account
external_account = bank account for payout
yes i have created man
which one?
but status give me new
give me the request ID please
"external_accounts": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/accounts/acct_1Qch6dPbZrUcmQvA/external_accounts"
},
"future_requirements": {
"alternatives": [
],
"current_deadline": null,
"currently_due": [
],
"disabled_reason": null,
"errors": [
],
"eventually_due": [
],
"past_due": [
],
"pending_verification": [
]
},
"individual": {
"id": "person_1Qch6dPbZrUcmQvAKXMYkt5q",
"object": "person",
"account": "acct_1Qch6dPbZrUcmQvA",
"address": {
"city": "London",
"country": "GB",
"line1": "221B Baker Street",
"line2": "Apt 3",
"postal_code": "NW1 6XE",
"state": null
},
"created": 1735796283,
"dob": {
"day": 1,
"month": 1,
"year": 1970
},
"email": "mohit@yopmail.com",
"first_name": "Mohit",
"future_requirements": {
"alternatives": [
],
"currently_due": [
],
"errors": [
],
"eventually_due": [
],
"past_due": [
],
"pending_verification": [
]
},
"last_name": "Mahavar",
"metadata": {
},
req_8ohqFBegnUYilZ
req_8ohqFBegnUYilZ
this request creates the Connected Account
not the External Account
and based on "/v1/accounts/acct_1Qch6dPbZrUcmQvA/external_accounts" Request
it means you haven't created any External Account yet
{
"id": "ba_1N9DrD2eZvKYlo2C58f4DaIa",
"object": "bank_account",
"account": "acct_1032D82eZvKYlo2C",
"account_holder_name": "Jane Austen",
"account_holder_type": "individual",
"account_type": null,
"available_payout_methods": [
"standard"
],
"bank_name": "STRIPE TEST BANK",
"country": "US",
"currency": "usd",
"fingerprint": "1JWtPxqbdX5Gamtz",
"last4": "6789",
"metadata": {},
"routing_number": "110000000",
"status": "new"
}
did you attach it to the account?
yess
I can't find this bank account id
ba_1QbfBXPd6NyRomsIh23dXKUQ
in this external account id right currently this sattus is new correct so how to get as verifed in test mode
ok you need to use this account number https://docs.stripe.com/connect/testing#trigger-bank-account-ownership-verification