#Bagira-apple-pay

1 messages · Page 1 of 1 (latest)

kindred ocean
#

Hi there!

near summit
#

Hey

kindred ocean
#

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

near summit
#

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

kindred ocean
#

Sure thing!

#

Let me know if you run into any issues

near summit
#

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?

kindred ocean
#

Are you using Apple Pay on web or mobile?

near summit
#

On web

kindred ocean
#

And yes you need to send the decoded JSON

near summit
#

So we can not directly use the payment token generated from apple payments API?