#Bagira-apple-pay
1 messages · Page 1 of 1 (latest)
Hey
Yep there is, one moment.
So there is an undocumented pk_token parameter as part of our Create Token API
So in cURL it would look something like: curl -u sk_test_123: https://api.stripe.com/v1/tokens \ -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>
But all of our libraries should support this as well
Great bismarck. I happened to come over this solution from stackoverflow but I didn't found any official doc so didn't tried this. So let me give it a try and see.
Thanks for a prompt reply
Apple pay paymentToken
I have above token so what will be the paymentInstrumentName?
And do you want decoded paymentData like in the above paymentToken I think it's encoded so we need to decode it and send it to you right?
Are you using Apple Pay on web or mobile?
On web
K you want to reference https://developer.apple.com/documentation/passkit/pkpaymenttoken for the properties
And yes you need to send the decoded JSON
So we can not directly use the payment token generated from apple payments API?