When developing a native iOS app that supports Apple Pay, we recommend using our iOS SDK. And if you are developing a web-based solution, we recommend our JavaScript Library integration.
Alternatively, if you have / plan on having a direct integration with Apple to process Apple Pay on the web and simply need a method of submitting the payment card wallettoken for authorisation to Trust Payments, you can follow this document to learn how.