Does anyone knows how to integrate API payment provided by Apple Pay in order to perform only the capture ( the money are captured from the the customer's bank account ) and the refund ( the money are refunded to the customer's bank account)?
In my business model, the order is placed on the website and authorized for the payment. Once done, the order is sent to the OMS (Order Management System) that check the stock availabilty. If the order can be picked because the stock is available, I have to call the API for the capture. The same thing if the customer asks to return the goods and once the return request is sent to OMS, i have to call the API for the REFUND. How can i implement the payment "request" for both scenarious? Is there any request example?
How can i manage the "response" coming from Apple pay for both scenarious? Is there any "response" example?
tks