#919889495555_api
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/1290224802912534599
๐ 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.
- 919889495555_api, 16 minutes ago, 54 messages
- 919889495555_api, 2 days ago, 66 messages
- 919889495555_api, 4 days ago, 41 messages
- 919889495555_api-account-support, 5 days ago, 32 messages
hi! sorry, what does that mean?
I'd suggest reading https://docs.stripe.com/payouts#standard-payout-timing , and that full page in general.
stripe payouts create --amount="1000" --currency="gbp" --method="instant" --source-type="bank_account" --destination="ba_1Q4cL8IC7vss08LIAdm3ztZL" --stripe-account="acct_1Q3BZyIC7vss08LI"
i am having amount for payout
but still getting this error
why?
I don't know, you didn't say what error "this error" is.
I'd suggest you check the balance of the account with stripe balance retrieve --stripe-account="acct_1Q3BZyIC7vss08LI" and that will tell you how much funds you have and in what state.
why are you using --source-type="bank_account" ?
i saw that in api call
should i remove it?
{
"object": "balance",
"available": [
{
"amount": 197501,
"currency": "gbp",
"source_types": {
"card": 197501
}
}
],
"instant_available": [
{
"amount": 196000,
"currency": "gbp",
"source_types": {
"card": 196000
}
}
],
"livemode": false,
"pending": [
{
"amount": -1501,
"currency": "gbp",
"source_types": {
"card": -1501
}
}
]
}
this is the balance available
the short answer is yes, the long answer is use stripe balance retrieve and look at the source_types returned, and check the API reference and realise that you shouldn't use it.
notice how these are all missing any bank_account source_type? what that does that tell you? ๐
but i want to send balance to bank account
but in above its not showing bank acoount
yes. That has nothing to do with source_type.
card it shoes
ok
let me try without sourcetype
and what about destination?
should i send that?
I would say yes, but you don't need to ask me. try it in test mode and see if it works or not.
stripe payouts create --amount="1000" --currency="gbp" --method="instant" --destination="ba_1Q4cL8IC7vss08LIAdm3ztZL" --stripe-account="acct_1Q3BZyIC7vss08LI"
worked
thanks
1 more thing
if the amount is available for payout in the main account
and i do a tranfer in connected account
will it again take sometime to be able for payout or it will be directly available for payout?
directly
great
instant_available - source_type card
does this have any impact on payout to bank account?
connected account bank account is added via api. so we first do 1 transfer of amount
and since the amount is available for payout directly like you said will create a new payout to bank
it will work right?
instant_available - source_type card irrespective of this
source_type is not important to this and is irrelevant except in a few circumstances that probably don't apply to you(it's related to using a legacy ACH payments product/API)
ok
i made a payout
po_1Q4f4tIC7vss08LINIFTyG9p
but i cant see in payoutlist
{
"object": "list",
"data": [],
"has_more": false,
"url": "/v1/payouts"
}
{
"id": "po_1Q4f4tIC7vss08LINIFTyG9p",
"object": "payout",
"amount": 1000,
"application_fee": null,
"application_fee_amount": null,
"arrival_date": 1727685335,
"automatic": false,
"balance_transaction": "txn_1Q4f4tIC7vss08LIVsdE6Noe",
"created": 1727685335,
"currency": "gbp",
"description": null,
"destination": "ba_1Q4cL8IC7vss08LIAdm3ztZL",
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"livemode": false,
"metadata": {},
"method": "instant",
"original_payout": null,
"reconciliation_status": "not_applicable",
"reversed_by": null,
"source_type": "card",
"statement_descriptor": null,
"status": "pending",
"type": "bank_account"
}
look i have this
remember --stripe-account is needed when listing objects on connected accounts.
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such payout: 'po_1Q4f4tIC7vss08LINIFTyG9p'",
"param": "payout",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_PWhBr94mhrlyOy?t=1727686034",
"type": "invalid_request_error"
}
}
^^ again
yes. 1 sec
trying that
stripe payouts list --stripe-account="acct_1Q3BZyIC7vss08LI"
is this ok
?
just try it
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
1 min
stripe payouts retrieve po_1Q4f4tIC7vss08LINIFTyG9p --stripe-account = "acct_1Q3BZyIC7vss08LI"
not working
stripe payouts retrieve --payout = "po_1Q4f4tIC7vss08LINIFTyG9p" --stripe-account = "acct_1Q3BZyIC7vss08LI"
Wrong number of arguments passed. Expected arguments: payout
?
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
so i am trying to get payout details via payoutid
i just need an api to receive that
Can you share that requestId ?
from where i can get requestid?
req_fwnq5kkBHm9Ckg
That payout belongs to your Connected Account:
stripe payouts retrieve po_1Q4f4tIC7vss08LINIFTyG9p --stripe-account=acct"_1Q3BZyIC7vss08LI"
stripe payouts retrieve po_1Q4f4tIC7vss08LINIFTyG9p --stripe-account=acct"_1Q3BZyIC7vss08LI"
Wrong number of arguments passed. Expected arguments: payout
?
there?
Can you share the requestId ?
this one
No, I need the requestId of the other error
this one.
We need the requestId of this error:
Wrong number of arguments passed. Expected arguments: payout
stripe payouts retrieve po_1Q4f4tIC7vss08LINIFTyG9p --stripe-account="acct_1Q3BZyIC7vss08LI"
you had an type here. acct"_1Q3BZyIC7vss08LI"
which was wrong
stripe payouts retrieve po_1Q4f4tIC7vss08LINIFTyG9p --stripe-account="acct_1Q3BZyIC7vss08LI"
worked
Ah sorry, yes that's the correct format.
thanks for the update