#meisei81_api

1 messages · Page 1 of 1 (latest)

winter siloBOT
#

👋 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.

stuck matrixBOT
#

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.

fringe cape
#

If you try to Retrieve Payment Method, what does it give you?

#

on the Payment Method Id from this Checkout Session pm_1OqpddE2ZZnUHRVWpW74FRw5

quasi goblet
#

{
"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

fringe cape
#

okie, can you try to call Retrieve Customer Balance API

#

passing the Customer Id?

quasi goblet
#

wait a minute

#

I just found the customer balance transaction api

#

Is that right?

fringe cape
#

Yes!

quasi goblet
#

{
"object": "list",
"data": [],
"has_more": false,
"url": "/v1/customers/cus_Pfqp2kSYJUisei/balance_transactions"
}

#

there's no data

#

Btw, I'm in test mode.

fringe cape
#

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?

quasi goblet
#

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.

fringe cape
#

Yeah but they can use multiple bank accounts to transfer into the fund

#

but anyway let me see

quasi goblet
#

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.

fringe cape
#

Yeah

#

I think that's what you are looking for

quasi goblet
#

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.

fringe cape
#

Hmm can you give an example?

quasi goblet
#

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

fringe cape
#

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

quasi goblet
#

So I just care about the type=funded, it indicates that this transaction was transferred from a real bank, right?

fringe cape
quasi goblet
#

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?

fringe cape
#

You can try in Test mode and look at the Balance Transaction

quasi goblet
#

It was not the client's real transfer scene.

fringe cape
#

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...

quasi goblet
#

Ok

#

I expected €15.06 then I make a test request with $14.00, and it failed. This is the request id: req_sB5Ue2sLXIC4TX

fringe cape
#

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

quasi goblet
#

Ok

stuck matrixBOT