#rstupek
1 messages · Page 1 of 1 (latest)
I don't believe so, since the URL for the domain verification file has to entered in the Dashboard
curl https://api.stripe.com/v1/apple_pay/domains
-u "sk_live_••••••••••••••••••••••••":
-d domain_name="example.com"
this seems to say I can set the domain?
but I can't find the api in the documenation
Ahhh, right. I misunderstood. I don't know if that API is in the reference or not. I don't think it is, but let me check
Yeah, it doesn't look like it is
is it still supported? and I guess there's no way to get the contents of the well known file? I assume it differs per domain?
I'm not sure I understand. Yes it's still supported as far as I know, but what do you mean by "get the contents of the well known file"?
as part of the setup process, a website owner has to download a file "domain association file" from their stripe console... I'm trying to do that automatically because most of my customers aren't technically inclined
Ahhhh, okay. The domain file is identical for all cases. You can just download it from the docs you mentioned
ohhh... ok so I just use the undocumented api call to associate the domain
also does that API call work through Connect
yup! There's a section that uses that same API call to set up the Payment Request Button for connect: https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#html-js-using-with-connect