Payment Service and Fraud Detection in Uber Design

Learn how the payment service of Uber works and how they deal with payment fraud.

Our goal in this lesson is to highlight the need to secure the system against malicious activities. We’ll discuss fraudulent activities in the context of payment. We’ll first briefly go through how the payment system works, and then we’ll cover how to guard our system against malicious activity.

The payment service deals with the payments side of the Uber application. It includes collecting payment from the rider to give it to the driver. As the trip completes, it collects the trip information, calculates the cost of the journey, and initiates the payment process.

Major functionality

The Uber payments platform includes the following functionality:

  • New payment options: It adds new payment options for users.
  • Authorization: It authorizesIn a payment service, authorization is a process to verify the payment method—for example, whether a certain credit card is valid or not. the payments for transactions.
  • Refund: It refunds a payment that was authorized before.
  • Charging: It moves money from a user account to Uber.

What to prevent

We need to prevent the following scenarios for the success of the payment system:

  • Lack of payment
  • Duplicate payments
  • Incorrect payment
  • Incorrect currency conversion
  • Dangling authorization

The Uber payment platform is based on the double-entry bookkeepingDouble-entry bookkeeping, also known as, double-entry accounting, is a method of bookkeeping that relies on a two-sided accounting entry to maintain financial information. Every entry to an account requires a corresponding and opposite entry to a different account. Source: Wikipedia method.

Design

Let’s look at the design of the payment platform in Uber and learn ...

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.