#bvo_api

1 messages · Page 1 of 1 (latest)

polar fossilBOT
#

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

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

lyric cobalt
#

Hi there

#

Can you share an Invoice ID (starts with in_) or a Customer ID (starts with cus_)?

wary valley
#

req_pXQAeYYjPJ35dl

in_1QlzxZDqkihSaoJZeETivU32

#

Here is another example of a different customer with more invoices attempts:

cus_RfIDYLgKiWPbzw

lyric cobalt
#

Thanks!

#

If its amount due is less than the minimum chargeable amount, it automatically transitions to paid status and Stripe debits the amount from the customer’s credit balance.

#

So, in the case of in_1QlzxZDqkihSaoJZeETivU32, this customer had an earlier Invoice where the total was 0.21 CAD: in_1QlzpTDqkihSaoJZKJKZLGIZ

#

Since this is below the minimum chargeable amount, this 0.21 CAD was treated as an amount that this customer still owes you

wary valley
#

I see, so there's a minimum chargable amount of 0.50 CAD that's why it's doing that?

lyric cobalt
#

That's right!

wary valley
#

Omg. So the behaviour is correct. And there's nothing wrong with my API permissions?

lyric cobalt
#

Yep, that's right

wary valley
#

Can I ask you another question relating to my OAuth permissions where I'm getting this error code:

Unable to load payment form
This application does not have the required permissions for this endpoint on account 'acct_1JJhbEDqkihSaoJZ'. Having the 'read_only' scope would allow this request to continue.

This is a different connection that I'm using from the initial question above. I had to create a different API key to get the payout form to load properly

lyric cobalt
#

Hm, can you share what you're trying to do when you get that error? Also, is the key you're using a restricted key/one you created via the Dashboard? (don't share the key here)

wary valley
#

Pay for the invoice. I believe its created via Dashboard

lyric cobalt
#

Can you share more? Like, are you trying to access a URL or something else?

wary valley
#

@lyric cobalt let's disregard this question for now. Im not facing another obstacle when it comes to retrieving data. After a payment_intent is successful, I am having a hard time finding the Stripe fees data using the Payment Intent lookup or Stripe Invoice lookup

lyric cobalt
#

I see, okay

#

The PaymentIntent is more of a state machine for an actual Charge. Given a PI, you can retrieve the underlying Charge. The Charge will have a BalanceTransaction, which represents the movement of funds. The BalanceTransaction for the Charge should have a fee

wary valley
#

Im having a hard time finding the txn number

#

Or rather how do I use the charge ID

lyric cobalt
#

Can you share where you're stuck?