#theal-t_api

1 messages ¡ Page 1 of 1 (latest)

small needleBOT
#

👋 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.

wide ibex
#

Sure, Payment Links support placing a 'hold' on cards

#

Did you try setting one up via the Dashboard, or the API?

dull heath
#

I tried via cURL, I did not see the "hold" option in the Dashboard.

#

The link that I created has id plink_1RBvHNEdTxUIegTRv3QeIAFr

wide ibex
dull heath
#

I did set the capture method:

wide ibex
dull heath
#

I do not see it stated anywhere in the Dashboard, so I was not sure if it is ok

wide ibex
#

If not captured within that time, set on this field, then we'd automatically release/refund the money from the card

dull heath
#

Also, what about stays longer than 7 days, I can not capture the funds before the guest check out

wide ibex
#

Probably not given that the max is generally ~7 days

wide ibex
dull heath
#

If I provide accomodation via Boooking, then my MCC should be lodging related, right ? Where can I check it/set it to be ?

wide ibex
dull heath
#

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?

wide ibex
#

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

dull heath
#

Thank you!

#

You have been very helpful, have a nice day

wide ibex
#

No problem, glad I could help!

small needleBOT
dull heath
#

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 ?

sacred bloom
#

hi! I'm taking over this thread.

#

I think this feature/parameter is simply not available for Payment Links.

dull heath
#

I see, so in order to use that, I would need a client application with stripe.js ?

sacred bloom
#

it depends. you could use the hosted Checkout Session for this, which means you don't need stripe.js.