#davi_api

1 messages ¡ Page 1 of 1 (latest)

exotic pythonBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1359623472833364198

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

fading pollen
#

Hello there

ancient fable
#

Yep. Decrypted. I am using my own certs.

#

And using Apple's sdk in the frontend too.

fading pollen
#

Gotcha, then you would create a Token in our API using that data. Let me get you an example, one sec.

ancient fable
#

I send that apple token to my backend where I decrypt it

fading pollen
#

Hmm actually I think you need to send us the encrypted data

fading pollen
#

Here is an example cURL request:

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>
ancient fable
#

I think Stripe has both options, if I am not mistaken

fading pollen
#

Ah ah yes you are right.

#

Are you approved to pass the decrypted values already?

#

That API is private so would need approval.

ancient fable
#

Oh okay. Not yet.
What is the process like?

fading pollen
#

You would need to contact our Support team via https://support.stripe.com/contact/login to request approval for your account. Since this is a public server we don't do any account-specific things here.

#

That said, we overall recommend just passing the Apple Pay Token information.

#

Like the cURL example above.

#

Then you aren't actually handling the sensitive data.

ancient fable
#

Looking to add Stripe, so I am POCing

fading pollen
#

Yep makes sense. If you want to pursue the decrypted path then your next step is to reach out to our Support team.

ancient fable
#

Is there a ticket template or something that I can use?

#

Looking for guidance on how to engage them

fading pollen
#

Not really, no. They should have guidelines on how to handle these requests.

#

I don't know what the exact flow is as my team doesn't handle any account approvals like this.

ancient fable
#

Gotcha

#

Your team is really good though. I had other inquiries before, and I love how fast you are

#

@fading pollen I am curious about other Stripe private APIs haha. But I suppose that is not something you could give more insight into it, would you?

fading pollen
#

Haha no sorry.

ancient fable
#

NP. We will cross that bridge when we come to it. Thanks. Have a great day