Company: Stripe_1nov
Difficulty: medium
Payment Intent System Problem Description Background Stripe processes billions of dollars of payments to businesses every day through dozens of different payment methods like cards, bank debits, and even paper cheques. We don't want merchants (the businesses who use Stripe to accept payments) to have to worry about the details for each specific payment method. For example, for many payment methods, payments are not completed instantly and can take a few days to process and be confirmed or fail, while others are processed much more quickly. Stripe abstracts this payment flow with a simple state machine object called a Payment Intent. Today, imagine you are an engineer working at Stripe in its early days. You will implement a system that handles the creation and management of these Payment Intents, helping merchants easily setup and accept payments from customers. Please read all instructions for each part before you begin coding for that part. What is a Payment Intent? A Payment Intent