Tha shopify app billing process

hello, i want to ask what’s the details when customer choose to apply pay plan redirect

1.in the page of confirmationUrl,when costomer choose to apply, This time is the first binding,deduction, etc and then jump returnUrl?or jump first then cut payment async and notify cut payment result by webhook?

in other words, if payment fails, will the page be redirected? or complete payment the jump?

https://shopify.dev/apps/billing

2.mutation: appSubscriptionCreate, how is it guaranteed idempotent or no need?

https://shopify.dev/api/admin-graphql/2022-10/mutations/appsubscriptioncreate

look forward to and appreciate your reply