Quickstart

Get started with the Stacc Mortgage API in minutes. This guide will show you how to make your first API request and start building mortgage applications.

Making your first API request

Let's start by creating a new mortgage application. Here's a simple example using cURL:

POST
/flows
curl -G https://api-gateway.demo.mortgage.link-demo.stacc.live/api/mortgage \
  -H "Authorization: Bearer {token}" \
  -d '{
    "application": {
      "applicationType": "NEW_MORTGAGE",
      "customer": {
        "ssn": "12345678901"
      }
    }
  }'

This request will:

  1. Create a new mortgage application
  2. Initialize it with basic customer information
  3. Return a flow ID that you can use to track the application's progress

What's next?

Now that you've created your first application, you can:

  • Learn about the different processes available in the API
  • Understand how we handle errors and how to respond to them
  • See how we handle frontend implementation of the Stacc Mortgage API