#dhaval_api

1 messages ¡ Page 1 of 1 (latest)

tropic radishBOT
#

👋 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/1408081968033173636

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

lavish zealot
#

Customer customer = Customer.retrieve(customerId)

in this i am getting null sources for 29.3.0 version

#

and also

BankAccount bankAccount =
(BankAccount) customer
.getSources()
.retrieve(bankId);

        // verify the account
        BankAccountVerifyParams bparams =
                BankAccountVerifyParams.builder()
                        .addAmount(Long.parseLong(amount1)) //need to question
                        .addAmount(Long.parseLong(amount2))
                        .build();

        BankAccount bank= bankAccount.verify(bparams);

verification was not working in 29.3.0 version

pure basin
#

Hi, can you share the request id where you're making this request please? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request . Also, what are you trying to achieve?

lavish zealot
#

My quetion is how to get sources in 29.3.0 SDK version
from
Customer customer = Customer.retrieve(customerId)

#

??

#

i am trying to get sources from this customer 'cus_J7szNUkFn05NCP'

#

but i am getting null response in 29.3.0 SDK version i want this sources

#

what i have to do

#

?

pure basin