#alfaro28
1 messages · Page 1 of 1 (latest)
Hi there. One minute
So the way to proceed here is you have to exchange your Apple Pay token for a Stripe token. Then, you'll be able to use that Stripe token to create a PaymentIntent
You can use this endpoint: https://stripe.com/docs/api/tokens/create_card with an undocumented param: pk_token. The request would look something like this:
-d pk_token=<PKPaymentToken.paymentData decoded as JSON> \
-d pk_token_instrument_name=<PKPaymentToken.paymentInstrumentName> \
-d pk_token_payment_network=<PKPaymentToken.paymentNetwork> \
-d pk_token_transaction_id=<PKPaymentToken.transactionIdentifier>```
awesome, thanks, let me try