#919889495555_api

1 messages ยท Page 1 of 1 (latest)

dense mirageBOT
#

๐Ÿ‘‹ 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.

whole loom
#

hi! sorry, what does that mean?

stable escarp
#

when will i get this amount to transfer in bank?

#

how many days do it takes?

whole loom
stable escarp
#

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?

whole loom
#

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" ?

stable escarp
#

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

whole loom
#

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.

stable escarp
#

ok

#

will remove

whole loom
stable escarp
#

but i want to send balance to bank account

#

but in above its not showing bank acoount

whole loom
#

yes. That has nothing to do with source_type.

stable escarp
#

card it shoes

#

ok

#

let me try without sourcetype

#

and what about destination?

#

should i send that?

whole loom
#

I would say yes, but you don't need to ask me. try it in test mode and see if it works or not.

stable escarp
#

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?

whole loom
#

directly

stable escarp
#

great

stable escarp
#

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

whole loom
#

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)

stable escarp
#

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

whole loom
#

remember --stripe-account is needed when listing objects on connected accounts.

stable escarp
#

{
"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"
}
}

Learn more about error codes and how to resolve them.

stable escarp
#

yes. 1 sec

#

trying that

#

stripe payouts list --stripe-account="acct_1Q3BZyIC7vss08LI"

#

is this ok

#

?

whole loom
#

just try it

stable escarp
#

worked

#

without stripe account also it worked

#

showed all payouts

#

in 10 limit

dense mirageBOT
fast vigil
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

stable escarp
#

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

#

?

fast vigil
stable escarp
#

so i am trying to get payout details via payoutid

#

i just need an api to receive that

fast vigil
#

Yes you should be able to do that using the retrieve API

stable escarp
fast vigil
#

Can you share that requestId ?

stable escarp
#

from where i can get requestid?

fast vigil
#

It's in that screenshot

#

it starts with req_fw...

stable escarp
#

req_fwnq5kkBHm9Ckg

fast vigil
#

That payout belongs to your Connected Account:

stripe payouts retrieve po_1Q4f4tIC7vss08LINIFTyG9p --stripe-account=acct"_1Q3BZyIC7vss08LI"

stable escarp
#

stripe payouts retrieve po_1Q4f4tIC7vss08LINIFTyG9p --stripe-account=acct"_1Q3BZyIC7vss08LI"
Wrong number of arguments passed. Expected arguments: payout

#

?

#

there?

fast vigil
#

Can you share the requestId ?

stable escarp
#

req_fwnq5kkBHm9Ckg

#

i have hit the request which you have send

fast vigil
dense mirageBOT
stable escarp
#

req_fwnq5kkBHm9Ckg

#

this is the old id

fast vigil
#

We need the requestId of this error:

Wrong number of arguments passed. Expected arguments: payout

stable escarp
#

stripe payouts retrieve po_1Q4f4tIC7vss08LINIFTyG9p --stripe-account="acct_1Q3BZyIC7vss08LI"

stable escarp
#

which was wrong

#

stripe payouts retrieve po_1Q4f4tIC7vss08LINIFTyG9p --stripe-account="acct_1Q3BZyIC7vss08LI"

#

worked

fast vigil
#

Ah sorry, yes that's the correct format.

stable escarp
#

thanks for the update