#jessecertain_api
1 messages ยท Page 1 of 1 (latest)
๐ 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/1288587136580452403
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐
Looks like you are calling the API directly?
Highly recommend using one of our client libraries
That said, taking a look.
Hmm definitely a bit strange as from looking at the request the path looks fine...
Can you show me your code for how you are making this request?
Sure, if that's helpful,
local.handoffRequest.setURL('https://api.stripe.com/v1/terminal/readers/#local.readerId#/collect_payment_method');
local.handoffRequest.setMethod('POST');
local.handoffRequest.setCharset('utf-8');
local.handoffRequest.addParam(type="header", name="Authorization", value="Bearer #local.txtStripePrivateKey#");
local.handoffRequest.addParam(type="formfield",name="payment_intent",value="#local.paymentIntentId#");
local.handoffResponse = local.handoffRequest.send().getPrefix();
Thanks
Okay sorry @wild kindle
So this endpoint is still in beta
So that's what you are seeing that error. Your account likely isn't configured yet for it
Aha
So you can request access there in the docs and then if you want you could also reach out to our Support team about this via https://support.stripe.com/contact/login and see if they can help you get access to the beta
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Thanks very much
Looking at that documentation, it looks like I should be using the process_payment_intent endpoint to handoff the payment intent to the reader in any case
That is the public endpoint so if that is what you need then you should be all set
I guess I misunderstood "Initiates a payment flow on a Reader." in the API documentation.
I'll give that a try.
๐
Thanks again!