Retrieve Stripe account enabled payment methods - stripe-payments

The payment methods on a Stripe account are listed on the dashboard:
I need to know which payment methods are enabled on a stripe account using java-stripe.
How to do that?
I tried Account.retrieve() but that didn't return the enabled payment methods.

After contacting Stripe support team, it seems impossible to know on each connected account which payment methods are available.
The best they can offer is to detect on source creation the event payment_method_unactivated.

Related

Stripe Connected Account

I have a stripe connected account.
Is it possible to charge the Stripe connected Account with another Stripe Connected Account?
I am using Stripe Connected Custom not the Standard or Express
My Application is more on financing, Lender and Borrower Model.
Sincerely yours,
Pong
This isn't possible. If you're using custom Connect, then destination Charges are the recommended way of creating Payments. i.e. the Platform creates the charge.

SCA authentication while update subscription

i want to implement SCA in my project.i would like to know whether SCA forces the user to complete 2 factor authentication while update,cancel,resume subscription.so i can handle the code accordingly.so far stripe didn't ask me.Thanks in advance.
SDA comes into play for authenticating online card payments. Stripe Billing has been updated to support SCA requirements.
You won't necessarily need to authenticate for all subscription changes (such as cancel or update) but you could for scenarios like a subscription signup, a card change on a subscription, or on a recurring charge on a subscription.
The following link describes the scenarios and tools you would leverage for Stripe Billing + SCA: https://stripe.com/docs/billing/migration/strong-customer-authentication#upgrading-integration

Connect "Stripe Connect" with the Telegram Payment API

How can I use Stripe Connect, let's say to create a "Direct Charge", while sending an Invoice on the Telegram Payment API?
The Telegram API seems to only allow for a "provider_token", I see no further details for the Stripe API, like the required "stripe_account" property for direct charges.
I guess Telegram itself uses Stripe Connect to charge on the users behalf... But that doesn't seem to have stopped this guy from doing something very similar:
https://www.reddit.com/r/TelegramBots/comments/6f6b4z/telepay_a_bot_that_enables_instant_and_secure/
He uses express accounts, but the fundamental problem of not being able to speak to stripe directly seems to be the same.
Thanks :)
You're correct about the Telegram API: there is no way to create a direct charge to a connected Stripe account when receiving payments through Telegram. But there are workarounds. I'm the author of the bot you linked; here's how I managed to move funds from my account to a connected Stripe account via Telegram.
Firstly, you need to accept the payment as usual (e.g. follow the normal sendInvoice flow). For my purposes, I made the payload parameter the ID of the user that is being sent the money (it's later matched with the Stripe account ID in the database, but you can do this however you want). The rest is out of scope of the question, so I won't describe this process in detail; Telegram has a very nice guide on it.
Once you receive the successful_payment event from the Telegram API, you can then transfer the money from your own Stripe account to the linked Stripe account using the Stripe Connect transfers endpoint, but be careful: it doesn't give you the amount that was given to your own Stripe balance (taking fees into account), so you will need to calculate that yourself. Depending on your account, it would look something like this for JavaScript: payment.total_amount - Math.round(payment.total_amount * 0.029 + 30).
After you've transfered the money to their account, you can perform a payout as usual with the payouts Stripe Connect endpoint.
But note that this is just one example; you can use all of the Stripe Connect APIs with this. In fact, you probably have even more flexibility with this, since the funds hit your Stripe account before they reach the connected account's, so you can do whatever you want with them :)
So, TL;DR: Once you've received the successful_payment from Telegram, transfer the money to the connected Stripe account, then perform a payout on it.

How can i do Stripe payment direct transfer to merchant account?

How can i do adaptive payment with credit card in Stripe. Payment should directly transfer to merchant bank account.
Can anyone give solution for that?
You can get all required document here.
https://cartalyst.com/manual/stripe/2.0
Recipient service no longer available in stripe it's deprecated. it's replaced with connect.

Transfer from Stripe to another Stripe account

I implemented Stripe connect which provides token and other useful property of the signee(user). From the tokens provided, is there a way transfer payment from my account to the user Stripe account? This an option https://stripe.com/docs/connect/collecting-fees#charges for me right now because I would like to collect the payments first then transfer it later to the user(recipients).
there does seem to be support for this now:
https://support.stripe.com/questions/how-can-i-migrate-to-a-new-stripe-account
Right now (September 2014) Stripe does not support Stripe account-to-Stripe account transfers in any way. If you have a US Stripe account, you'd be better off using our transfers API, which would allow you to accept the payments and then transfer them to a third-party bank account when appropriate:
https://stripe.com/docs/tutorials/sending-transfers
Cheers,
Larry
PS I work on Support at Stripe.

Resources