apple pay Authorize a transaction with unknown amount and charge the amount for the service later

I'm developing a kind of Car Booking iOS Application and I want to develop following kind of process for payment


Want to implement Consumption based payment for my App Users. Rather than pre-payment User will do Post Payment based on his Usage.

In my Application, User will book a Car, He can use it for as many Hours as he wants to use. E.g. he used it for 10 Hours, And at the time of submitting car back , System automatically deducts the money from his credit card for his usage.


So, e.g. Hourly Rate is 2$ Hour and User used it for 20 hours, than system will deduct 40 $ From his credit card.


My Plan is to Use Apple Pay,I got below information

https://developer.apple.com/apple-pay/get-started/


Transaction type Authorization unknown amount & capture

Descritpion Authorize a transaction with unknown amount, and charge the amount for the service later

Example
Taxi ride




Thanks in Advance.

apple pay Authorize a transaction with unknown amount and charge the amount for the service later
 
 
Q