#knuppi_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/1296118800235761674
๐ 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.
- knuppi_payout-descriptors, 22 hours ago, 48 messages
This conversation continues where I left off yesterday
Hi there ๐ yup I do, but I don't understand your question. Are you on manual payouts now? If so you can pass a statement_descriptor when creating those:
https://docs.stripe.com/api/payouts/create#create_payout-statement_descriptor
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I'm not sure what you're referring to by "payment descriptor" here
I was planning to update the payment_descriptor day-by-day, but received this (undocumented) error from the API:
I1016 13:55:42 _util <stripe:128> message='Request to Stripe api' method=post url=https://api.stripe.com/v1/accounts/acct_1MizxUQ1KtFWbldN
I1016 13:55:44 _util <stripe:128> message='Stripe API response' path=https://api.stripe.com/v1/accounts/acct_1MizxUQ1KtFWbldN response_code=400
I1016 13:55:44 _util <stripe:128> error_code=None error_message='You cannot change `settings[payouts][statement_descriptor]` via API once an account has been activated. Please contact us via https://support.stripe.com/contact if you need to change the information associated with this account.' error_param=settings[payouts][statement_descriptor] error_type=invalid_request_error message='Stripe API error received'
We were trying to not use manual payments just yet, because it will demand more work - not only from the platform, but perhaps from the client (the connected account) as well
I'm afraid I gave you bad advice yesterday because I forgot you were using Standard Connected Accounts, which control a lot of this on their own rather than letting you exclusively control it as the platform.
OK,
With this new knowledge, what would your advice be instead?
Depends on where you're at in your implementation. Are you already live and trying to figure out how to adapt your flow to accomplish this? Or are you still in the initial planning/building phase?
We're already live with existing paying customers
I don't think there is a good way to accomplish this then.
So creating manual payouts with a custom payment_descriptor is also out of the question?
If so, could you please create a feature request(?), telling Stripe to expose the payment_descriptor with the random characters as well?
I think so. Because I think the Connected Accounts would A) have the ability to switch their payout schedule on their own and B) create their own payouts if they switch to manual payouts.
I filed that yesterday I'm pretty sure, but I will double check to make sure!
Please check ๐๐พ
Ah, glad I checked, I filed different feedback and forgot to go back to +1 this one. Handling that now.
Another (related) question:
Is it possible to see/know the exact stripe fee in each transaction (which is included in a Payout)?
Yup, each Balance Transaction object contains fee and fee_details fields for understanding that:
https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-fee
and when using Automatic Payouts you can list all Balance Transactions included in a Payout:
https://docs.stripe.com/api/balance_transactions/list#balance_transaction_list-payout
One point of clarification though, can you remind me whether you're using Direct Charges or Destination Charges?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
E.g. Inside the payout: https://dashboard.stripe.com/acct_1NvFsKQ6t7QQwXAB/transfers/po_1Q5zuCQ6t7QQwXABTAE1yyc8,
there is a transaction: https://dashboard.stripe.com/acct_1NvFsKQ6t7QQwXAB/payments/pi_3Q51alQ6t7QQwXAB1EkcJFt2,
There are two fees; one fee to the platform, the other to Stripe. Is the Stripe-fee available in the API?
Hmm, don't remember which type of charge. Where can I read about those again?
They're here:
https://docs.stripe.com/connect/charges
But the example you shared looks like a Direct Charge.
Just wanted to make sure because with Destination Charges the fees are on a different account and getting to them is a bit more involved. What I shared should work for your flow, but let me know if it doesn't give you the details you're looking for.
I'm pretty sure we're using Direct Charges with application fee
Do you know if we can fake payout.paid webhooks through the Stripe CLI?
I know that you can't, and just ran stripe trigger payout.paid to confirm as much.
I think we'll try to collect the payment fees for each transaction and do some reverse work in trying to match the payout with the transactions in our systems
Looking at https://docs.stripe.com/api/balance_transactions/list#balance_transaction_list-payout
Is there more information about what fee_details can/will contain?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The structure of the fee_details hash is shown in our API ref here:
https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-fee_details
Is that what you're looking for or did you have a more specific question about one of those fields?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.