#donovan
1 messages · Page 1 of 1 (latest)
I'm not that familiar with the go library but it doesn't look like you need to instantiate a client. We show how to authenticate requests in go here: https://stripe.com/docs/api/authentication?lang=go
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hmm let me try that'
That worked. I am a little curious why the client had issues since I'll be using Connect and the docs keep saying something along the lines of
You can also set a per-request key with an option. This is often useful for Connect applications that use multiple API keys during the lifetime of a process.
Ah you can scroll down a tiny bit on that page I linked and it shows how to do connect requests. Shouldn't need to juggle api keys. Just need to use the stripe account header
Assuming you have standard accounts
Express and Custom accounts use destination charges in which objects are just created on the platform, so no need to pass account header or other api keys
Oh I see, thank you