#Arvind hariharan
1 messages ยท Page 1 of 1 (latest)
@half latch let's chat in this thread only
Please help me with the backend API exclusively for wallets
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
not really understanding what exactly you're looking for
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
well you can just for example use https://stripe.com/docs/payments/save-and-reuse?platform=web to collect payment details from the customer, that includes Apple/Google Pay. You can charge the resulting pm_xxx in backend off-session PaymentIntents too.
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?
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.
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
no
since it's between Apple->Stripe and Google->Stripe directly, it's not something in the public API you can do
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
sounds right
Ok and also one more question. Is confirmPayment API is nothing but Authorize right
what do you mean exactly?
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
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'
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Ok sure thanks for the confimation