Building an External Payment Gateway with the Twitter API

Users and organizations

To get started with Commerce Layer, a user needs to create a single account. This user can create and manage one or more organizations. In this section, you will learn more about users and how to structure a new organization.


Users are individuals who create an account in Commerce Layer. A user can create or join one or more organizations to manage memberships, assign, or be assigned specific roles and permissions. To become a user, you have to create an account using an email address or the other available options.


An organization is an independent group that comprises members with assigned roles and permissions. A user can manage many companies, clients, or merchants within a single account with an organization. With the appropriate permission, members of an organization can create new merchants, markets, and business models for each market without any data duplication.


Each organization is completely independent; you can invite one or more users to join an organization. You can also assign members with a role associated with specific permissions. The new member(s) will receive the invitation by email and will be prompted to create an account if they don’t already have one.

Roles and permissions

To allow a seamless collaborative workflow, you can create custom roles and assign permissions to each role created. This allows different members and integration applications to have different privileges. Each role will have several create, read, update, and destroy permissions to several key resources.