#AQZ-issuing

1 messages ยท Page 1 of 1 (latest)

zenith lava
#

๐Ÿ‘‹ happy to help

steady talon
#

hello

#

account id
acct_1LHY9ZBLmgC51pn4

zenith lava
#

the approve request you're doing is on the platform account

#

you need to pass the stripeAccount header

steady talon
#

Here we should not pass stripe_account header

#
import stripe
stripe.api_key = "sk_test_51KZa9XAyWO8paU6r3j9lOo1eH98JBQtUqXxlruF7QmsqkreKPqUHmFu73c16V2kPUQ8wx7RuRMVwtPpfd36KKGqs00q7GdLFUC"

stripe.issuing.Authorization.approve(
  "iauth_1LQTI5AyWO8paU6ruDf2nXNc",
)
zenith lava
#

yes this is the case where the platform created the Issuing Card

#

in your case the issuing card is created with both the Platform secret key and the Stripe Account header of the Connected Account

#

when you need to access this resource either to retrieve, to decline, to approve, etc. you need to use both keys that were present upon the object creation

#

so your Secret key (from the stripe.api_key and the stripeAccount header for your connected account)

steady talon
#

Ok thanks

zenith lava
#

let me know if you need any more help

steady talon
#

okay