#davidlfox_api

1 messages ยท Page 1 of 1 (latest)

smoky fableBOT
#

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

๐Ÿ“ 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.

main aurora
proven grove
#

i had to use transfer_data.destination to make this work. im not creating a charge. im creating a payment intent in my code

      amount: chargedAmountCents,
      currency: 'usd',
      customer: senderStripeCustomerId,
      payment_method: senderStripePaymentMethodId,
      payment_method_types: ['us_bank_account'],
      transfer_data: {
        destination: receiverConnectAccount.stripeAccountId,
      },
      confirm: true,
      off_session: true,
      description: `Admin test charge ${senderUserId} -> ${receiverUserId}`,
      metadata: {
        mode: 'admin_test_charge_transfer',
        senderUserId,
        receiverUserId,
      },
    });```
#

so my platform isnt really involved

#

the money has landed in the recipient stripe account but it hasnt automatically paid out yet. should it have? how do i know when it does? the payment intent still has status "processing"

main aurora
#

Can you please share your Payment Intent ID?

proven grove
#

are those id's safe to show in these threads?

main aurora
#

Yes, the only thing you don't want to share publicly are API keys / secrets.

proven grove
#

pi_3TEVLVBLGbNkM6ia2pPWwbVm

main aurora
#

Thanks! Since the payment method is a bank account, it can take a few days to process. Therefore, the funds should be in your account's pending balance which you can check like this: https://docs.stripe.com/connect/account-balances#check-connected-account-balance

Once the payment intent's status is succeeded the funds will be in your account's available balance and folllow your automatic payout schedule. Does that make sense?

proven grove
#

what cli command can i use to see the stripe connect account pending and available balance?
i tried stripe balance retrieve --stripe-account ...Rb0
but all balances are 0

main aurora
#

Hm that should be right. Are you making that request with your platform's API key? Can you share your request ID?

proven grove
#

that was it. i added the api key and i now see the pending balance of 914

main aurora
#

Nice!

proven grove
#

can i make my cli always recognize that key when my intention is to query production so i dont have to add it to history

main aurora
proven grove
#

awesome. ill continue monitoring balances and pi's for a couple more days. once the balance is available, will stripe trigger the payout the next day?

main aurora
#

It should, yes! Feel free to contact us again with the payment intent or account ID if something doesn't go as expected.

proven grove
#

great thanks for your help!