API Reference
GET
/api/platform/oauth/authorize

Redirects the user to the Lunch Flow login page. After sign-in and bank connection, the user is redirected to your redirect_uri with a code parameter.

Query Parameters

client_id*string

Your app's client ID

redirect_uri*string

Where to redirect after authorization

Formaturi
state?string

Opaque value passed back in the redirect

email?string

Pre-fill the user's email on the login page

Formatemail

Response Body

application/json

curl -X GET "https://example.com/api/platform/oauth/authorize?client_id=string&redirect_uri=http%3A%2F%2Fexample.com"
Empty
{
  "error": "string",
  "message": "string"
}