Send Apple Pay PKPaymentToken to Braintree

Hello,

I am integrating Apple Pay in a mobile app, that is connected to Magento REST API. For payments I use Braintree by Gene Commerce (credit cards, paypal, google pay and apple pay).

When I makePaymentRequest with all the details, I get an ecrypted PKPaymentToken. I know I can't decrypt it locally (in the app) and I need a server/API call where to send this data in order to get back the transaction details (nonce, credit card, etc) and complete the Magento transaction.

Does anyone know how and/or to send it? Asked both Braintree and Gene, no clear answer.

Thanks

Send Apple Pay PKPaymentToken to Braintree
 
 
Q