#maxrundoo_16388
1 messages · Page 1 of 1 (latest)
Hi 👋
hi!
So are you looking to test the webhook response for an issuing authorization? https://stripe.com/docs/issuing/purchases/authorizations
@little tulip Nope! At a high level, I am looking to generate a Transaction object whose flow_type is issuing_authorization. With ReceivedCredits & ReceivedDebits, it's simple because creating them also creates a Transaction. I'm just not sure how I can generate a Transaction after creating an Issuing Authorization (and how to create a test Authorization object)
I should ask - Does what I'm asking make sense?
I"m not 100% certain I'm grasping this (Treasury is a particularly unique beast) but have you attempted triggering an authorization request usine stripe trigger?
@little tulip I haven't tried that but I will! Do you have a link to docs for that? and is there a CURL equivalent for that
Our CLI let's you test that
You can trigger events to occur on your Stripe Account in Test mode; https://stripe.com/docs/cli/trigger
@little tulip I did this: stripe trigger issuing_authorization.request --stripe-account=acct_1NOlliR6Zg1IspWQ and this was the output:
Running fixture for: cardholder
Setting up fixture for: card
Running fixture for: card
Setting up fixture for: authorization_request
Running fixture for: authorization_request
Trigger succeeded! Check dashboard for event details.```
I can't seem to find out where the event details are, do you have an idea of where to look for this?
Okay so this is doing a bunch of thins, creating all the necessary objects to make an authorization request
The Authorization request is sent to you using a webhook
Have you set up your test webhook endpoint?
@little tulip nope, and I don't need webhooks. I think I'm lacking some understanding of this so don't worry - I'm gonna look into this a little bit more myself. My end goal is to just trigger an authorization request linked to a financial account (i.e. have an Authorization object with a populated treasury field - https://stripe.com/docs/api/issuing/authorizations/object#issuing_authorization_object-treasury)
Hello! I'm taking over and catching up...
Ah, I think I know what the missing piece is here.
You need to trigger an authorization which is funded by a Treasury Financial Account.
Using stripe trigger will fund the transaction from your Stripe balance.
That won't involve Treasury at all, and thus won't create a Treasury Transaction object.
This guide will show you how to get Issuing up and running with Treasury and funded from a Financial Account, which should in turn produce the Transaction object you want: https://stripe.com/docs/treasury/account-management/issuing-cards
Thank you so much! I'll try that
@glad granite I followed the instructions but in step 3 (https://stripe.com/docs/treasury/account-management/issuing-cards#handle-auth), I created a test Issuing card. However, I can't see it in the dashboard (https://stripe.com/docs/issuing/testing) - any idea why?
For more context, I created a cardholder first (ich_1Ndhr5Qx2RQtl2fcOWsBtsLn) and an issuing card (ic_1NdhrzQx2RQtl2fc8VtFWLjX)
but can't seem to find that issuing card that I created in the dashboard
Looks like you created it on a connected account. Are you viewing the Dashboard as that connected account?
@glad granite oh I didn't know I had to do that, my bad! thought I was in some sort of superaccount haha. Thanks - I see the card now, but when I navigate to the authorizations tab (https://dashboard.stripe.com/acct_1NcdrVQx2RQtl2fc/test/issuing/authorizations/), I don't see a button that lets me create/trigger an authorization. Am I in the correct place?
I recommend using the API. I doubt the Dashboard has support for this when using Connect.