#benk6763

1 messages · Page 1 of 1 (latest)

west geodeBOT
mighty elm
#

Hi, I'm getting an error :
Invalid token id: tok_1Ns3yuHE46Ih6ki5Zt8hAcxW

#

the request is: req_0uYrBLZHkmZEEk

#

this is a Stripe token created from an ApplePay token

rose plaza
#

Looking, just a second

#

then you tried to use it in a direct charge flow on a connected account in the request you shared

#

You need to create the token using the account header, too, if this is how you intend to consume it

mighty elm
#

ah yes I see

#

since that tokens API is not documented I wasn't sure about the headers

#

what would that header to be?

rose plaza
#

stripe-account as with the other request

#

or using the stripeAccount option in Stripe.js initialization if you're rcreating the token client side