Skip to content
Theory · Payment system · lesson 4 of 11

API and data model

The API of a payment system answers three questions. How does the order service create a payment and learn how it ended? How does support give money back? How does the provider report the outcome?

In this lesson

  • Calls
  • Amounts are integers
  • Tables
  • Payment states
  • Common mistake
  • Key points