#Arvind hariharan

1 messages ยท Page 1 of 1 (latest)

mystic forgeBOT
karmic kettle
#

@half latch let's chat in this thread only

half latch
#

Please help me with the backend API exclusively for wallets

#

this is what we see in the payment object response for Apple_pay

#

So do we you have an API for wallets as payment methods which we can use when we call payment intent API

karmic kettle
#

not really understanding what exactly you're looking for

half latch
#

I am looking for an API which creates wallets like apple_pay or google_pay as a payment method

#

so that we can attach this newly created payment method in the paymentIntent API and perform some integration testing

#

from the backend

karmic kettle
half latch
#

is there any way to send wallet information(like apple_pay or google_pay) in payload of creating payment method API through Stripe CLI or postman

#

For ex i am using the below API for creating the payment method

#

stripe payment_methods create
--type=card
-d "card[number]"=4242424242424242
-d "card[exp_month]"=8
-d "card[exp_year]"=2023
-d "card[cvc]"=314

#

as per the stripe docs

#

do we have an option to set the wallet information as well like apple_pay or google_pay as an argument in the above API?

karmic kettle
#

no and that doesn't really make sense

#

like Apple/Google Pay are wallets, they involve the customer directly being on a website and pressing a button and using their Apple/Google account, scanning their fingerprint etc, and then the card information in their wallet is shared with Stripe. They're not backend methods.

half latch
#

So the card information in their wallet which is shared with stripe does involve an API calls from server side? If yes then can you please provide additional info on the same

karmic kettle
#

no

#

since it's between Apple->Stripe and Google->Stripe directly, it's not something in the public API you can do

half latch
#

Ok so we need to test this only by having an Apple_pay or google_pay button placed on the front end site and integration would automatically flow to the paymentIntent request based on the wallet selected

karmic kettle
#

sounds right

half latch
#

Ok and also one more question. Is confirmPayment API is nothing but Authorize right

karmic kettle
#

what do you mean exactly?

mystic forgeBOT
half latch
#

We have stripe.confirmPayment() API right. So this API is nothing but a payment intent Authorize API correct?

#

Because i don see specific payment intent API to Authorize, like is see for capture, return etc

karmic kettle
#

confirming the PaymentIntent authorizes a charge on the card network and by default captures the authorisaton too, yes. Basically it processes the payment.

#

our API in general does not use low-level card acquiring names like 'authorizations'

spark sandal
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

half latch
#

Ok sure thanks for the confimation