API Model for Stripe Service

We have set the background for modeling the API for Stripe by deciding on various technical aspects in the previous lesson. In this lesson, let’s dive deeper and model the Stripe API by discussing various endpoints, the request and response structure, and other relevant concepts.

Let's start by deciding the base URL for our API.

Base URL and endpoints

We consider the following base URL for our proposed Stripe API that we will consider in the following sections:

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