#meisei81_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. Thank you for your patience!
⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
🔗 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/1214464575659970572
📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.
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.
- meisei81_api, 48 minutes ago, 22 messages
- meisei81_api, 19 hours ago, 26 messages
If you try to Retrieve Payment Method, what does it give you?
on the Payment Method Id from this Checkout Session pm_1OqpddE2ZZnUHRVWpW74FRw5
{
"id": "pm_1OqpddE2ZZnUHRVWpW74FRw5",
"object": "payment_method",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": "s13946591631@163.com",
"name": null,
"phone": null
},
"created": 1709613001,
"customer": null,
"customer_balance": {},
"livemode": false,
"metadata": {},
"type": "customer_balance"
}
There's no bank card info
Yes!
{
"object": "list",
"data": [],
"has_more": false,
"url": "/v1/customers/cus_Pfqp2kSYJUisei/balance_transactions"
}
there's no data
Btw, I'm in test mode.
I made the transfer using testing api https://api.stripe.com/v1/test_helpers/customers/cus_Pfqp2kSYJUisei/fund_cash_balance
Alright, so this Customer has a Cash Balance and you basically wait for them to transfer fund in (where you simulated by making the test transfer). Technically you only need to care about the available fund in the Cash Balance
Going back to the question, why would you want to know the bank card owner name?
I want to use the bank transfer to identify the user
Doing a research about identify the user for our business
I expect to get the user's real name from his own card or real company name from the company bank card.
Yeah but they can use multiple bank accounts to transfer into the fund
but anyway let me see
Can you use this API? https://docs.stripe.com/api/cash_balance_transactions/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Let me try
I can get this info
And this is the sender_name's explanation: The full name of the sender, as supplied by the sending bank.
I want to know that, can I limit the client must transfer the fund from a real bank, not from his stripe balance?
Because I found that there're a few records from the cash balance transactions api, and some of them don't have the sender_name parameter.
Hmm can you give an example?
I don't have an example
But I found this from docs
It seems that the bank transfer payment intent would be paid by the customer's balance
The Cash Balance Transaction which doesn't have sender_name would be the one which is used to pay a PaymentIntent
It's expected though. Let's say they transferred in $200, $150 was used for a PI and $30 was used for another PI. You then have 3 transactions
You can look for transaction type = funded to only take the fund coming in
So I just care about the type=funded, it indicates that this transaction was transferred from a real bank, right?
Yep, see all the types here https://docs.stripe.com/api/cash_balance_transactions/object#customer_cash_balance_transaction_object-type
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
OK
Another question, if the transfer amount is $10, but the client is in Euro. How could he transfer the correct amount? Will exchange rates be involved in the middle? What about Stripe fees?
You can try in Test mode and look at the Balance Transaction
In test mode, I finish the bank transfer with using test api https://api.stripe.com/v1/test_helpers/customers/cus_Pfqp2kSYJUisei/fund_cash_balance
It was not the client's real transfer scene.
Yeah I know but you can try eur currency and then see how it pays the PI, then look at the details break down on Stripe fee...
Ok
I expected €15.06 then I make a test request with $14.00, and it failed. This is the request id: req_sB5Ue2sLXIC4TX
Ah I see, so the Cash Balance here is in EUR and you can only fund in by EUR
Cash Balance currency is fixed and can't fund other currency in
Ok