Skip to content
Lean Help Center home
Lean Help Center home

What is the difference between an end-user and customer in the Lean Corporate Bank Payment Flow?

A customer is an object that becomes the resource to consume all Lean services you’ve integrated with. The customer object will be linked to a specific corporate bank account using the .connect() flow. All .connect() calls require you to have a customer_id which can be created using the POST /customers endpoint.

An end_user is a customer object that either queues or authorizes corporate payments. An end_user creation’s prerequisite is a customer object’s existence; an end_user_id can be created using the POST /ends_users endpoint.

One customer_id can have multiple end_user_id.