#harishkumarshopism_api
1 messages ยท Page 1 of 1 (latest)
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.
- harishkumarshopism_api, 4 days ago, 9 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1254763764742492211
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Can you share the ID (req_xxx) of the API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
sure acct_1OgNVZSGOmkSqGMv this is the ID
No, the ID of the API request that returns the error
how can i create payout. i already try to create an account. that account was created but status shown restricted. i follow as per the document. but not working
what document are you following exactly? Because destination:accountId is not how this works. You have to onboard the connected account first and collect their bank details, and then you can do payouts later.
i am using test mode. is it possible to create payout in test mode ?
i create and onboard account but not working
payout
yes
what part doesn't work?
000-000 or the code you recieved on your phone if you used a real number.
i didn't used real number. i am using +1 800 555 0199 this number but 000-000 not working
then you need to use a real phone number I would say. How did you create this account? What API call? what guide are you following?
overall I suggest you stop, and go read the Connect documentation, and start with a specific guide. Start with https://docs.stripe.com/connect/design-an-integration.
curl https://api.stripe.com/v1/accounts \
-u "sk_test_3g0DwcF2ObsW3NHjwLoJKkRS:"
-d country=US
--data-urlencode email="harish.shopism@gmail.com"
-d "controller[fees][payer]"=application
-d "controller[losses][payments]"=application
-d "controller[stripe_dashboard][type]"=express"
$ curl https://api.stripe.com/v1/account_links \
-u "sk_test_3g0DwcF2ObsW3NHjwLoJKkRS:"
-d account=acct_1PVBkI4KEUa6OrXt
--data-urlencode refresh_url="https://example.com/reauth"
--data-urlencode return_url="https://example.com/return"
-d type=account_onboarding
e=account_onboarding;2717b4ce-2dcc-4b45-af65-07dcad791557{
"object": "account_link",
"created": 1719233435,
"expires_at": 1719233735,
"url": "https://connect.stripe.com/setup/e/acct_1PVBkI4KEUa6OrXt/KSgToEk0LFr9"
}
Hi there ๐ jumping in as my teammate needs to step away soon. I'd recommend rolling that secret key now that it's been shared in a public forum.
okay, please guide me to create an account and onboarding account.then i make a payout
What type of Connected Account are you trying to create?
express
Ah, actually, looks like you're using the controller hash instead? Is that correct?
okay then what can i do. please give me what the exact api and payload.
The exact payload you need to send depends on the structure of the account that you want to create. If you aren't sure of that yet, you should start here to view all the options and confirm which ones can be used together:
https://docs.stripe.com/connect/design-an-integration
Once you know that structure, this guide walks through the rest. Creating an account, creating an Account Link to let them onboard, how to process a payment.
https://docs.stripe.com/connect/collect-then-transfer-guide?platform=web
One thing to note there, I'm seeing the payment flow there uses Destination Charges. That's the charge structure I would recommend if you're using an express-like account, but I'd recommend double checking that's what you see when you get to that section and to use a different guide if you want to use Direct Charges instead.
let me check
$ curl -X POST https://api.stripe.com/v1/payouts \
-u '*******************':
-d amount=1000
-d currency=eur
-d destination=acct_1PVCzkQSmNfNuEp1
-d description="Payout description"
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such external account: 'acct_1PVCzkQSmNfNuEp1'",
"param": "destination",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_7Fk6mB0cGP0cNv?t=1719236575",
"type": "invalid_request_error"
}
}
resource missing means what can i do
It means you have structured your code wrong. You don't specify a Connected Account as the destination parameter when creating a Payout. What are you trying to do here?
You don't create Payouts from your Platform account to your Connected Accounts, that's not how the Connect flows work. The only thing close to that is if you're using the Separate Charges and Transfers pattern to manually create Transfers to move funds from your Platform Account to Connected Accounts.