#morteza_34604
1 messages · Page 1 of 1 (latest)
Hi, how can I help?
hi , I'm developing an expense management app , and using issuing cards, I want to show the user an authorization screen when he uses his card to make a payment and he can approve or reject it, how can I do that ? I checked the sample issuing and treasury app and didn't find anything , does it include that feature ?
You mean one user (e.g. "manager") to approve/reject payments of another user (e.g. "employee")?
Why would they reject a card payment that they just initiated?
The acceptance/rejection of card paymets for Issuing must take a few milliseconds and should be automatic, so the scenario you're describing is not realistic: https://stripe.com/docs/issuing/controls/real-time-authorizations
as a food ordering platform we isuue cards for our customers (restaurant owners) and we develop an expense management app to let them approve or reject their payment , you know Pleo ? when you make a payment with pleo card a notification pops up and asks you if you wanna approve that payment, something like that
The link above explains how you handle approving/declining authorisations with Issuing
so it's possible for issuing right ?
Yes, did you read the doc @errant finch shared?
not yet
The general idea is that you have an automated system to approve them via a webhook rather than a UI somebody has to manually use
if it's the case then how we can know if we need to approve it or reject it ? how we know we should approve or reject
As I said, you normally build some rules/logic into your code that automatically approves the payments depending on amount, purchase type, merchant, purchaser, etc. Card payments are synchronous so you can't delay the approval/decline of those payments whilst somebody goes into a UI and works through a list
for example someone else, use the card how we know we should reject it
We expect a response within ~2 seconds: https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling:~:text=If Stripe doesn’t receive your approve or decline response or request within 2 seconds%2C the Authorization is automatically approved or declined based on your timeout settings.