#theal-t_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/1359476815143374945
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Sure, Payment Links support placing a 'hold' on cards
Did you try setting one up via the Dashboard, or the API?
I tried via cURL, I did not see the "hold" option in the Dashboard.
The link that I created has id plink_1RBvHNEdTxUIegTRv3QeIAFr
This is the parameter you need to set: https://docs.stripe.com/api/payment-link/create#create_payment_link-payment_intent_data-capture_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Looks like you used that when creating this, so not sure what your ask is?
I do not see it stated anywhere in the Dashboard, so I was not sure if it is ok
I do not see any field that I can fill out to set the release date
You can't configure that. By default it will use the 'max' auth window according to your MCC and the card used: https://docs.stripe.com/payments/place-a-hold-on-a-payment-method#authorization-validity-windows
If not captured within that time, set on this field, then we'd automatically release/refund the money from the card
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So if someone books 2 months in advance, I can not hold the deposit?
Also, what about stays longer than 7 days, I can not capture the funds before the guest check out
Probably not given that the max is generally ~7 days
You probably need to speak to support about your use case. This is not something that we can help with as the auth window is dependent on your account as I said
There's ways to extend that window, but only available for certain account types: https://docs.stripe.com/payments/extended-authorization
If I provide accomodation via Boooking, then my MCC should be lodging related, right ? Where can I check it/set it to be ?
Doesn't matter really, but here: https://dashboard.stripe.com/settings/business-details
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
And one last question, I see a section with fake Stripe credit cards, Test your integration. How can I create links for the test environment and not the live one?
You just use your sk_test_xxx key to make the API request(s) to create the Payment Link
You'll get a test link where you can use the test cards
No problem, glad I could help!
Maybe one more question, if I may.
How do I set the request_extended_authorization: 'if_available' for the /payment_links endpoint? The docs specify it only for /checkout/sessions.
If that's the object that needs to be created, can I somehow make a link from that ?
hi! I'm taking over this thread.
I think this feature/parameter is simply not available for Payment Links.
I see, so in order to use that, I would need a client application with stripe.js ?
it depends. you could use the hosted Checkout Session for this, which means you don't need stripe.js.