Register Application

Guide on how to register an application to obtain client_id and client_secret from SePay.


How to Register an Application

Before starting OAuth2 integration, you need to register your application on SePay to obtain client_id and client_secret. These are required credentials to perform OAuth2 authentication.

Note

Currently, you cannot create applications by yourself. You must contact SePay for approval and application creation support on your account.

The application registration steps are as follows:

  • Step 1: Log in to your SePay account.
  • Step 2: Navigate to Account menu → OAuth Applications.
OAuth2 SePay
Click to expand
  • Step 3: Click on Create new application button
OAuth2 SePay
Click to expand
OAuth2 SePay
Click to expand

Application Information

When creating a new application, you need to provide the following information:

InformationDescription
Application NameDisplay name of the application. Users will see this name when prompted to grant permissions.
Required ScopesPermissions that the application requires. Only select permissions necessary for your application.
Redirect URLThe URL that SePay will redirect users to after they approve or deny the permission request.

Scopes

When registering an application, you need to select the scopes that your application needs to access.

Available scopes include:

ScopeDescriptionPermissions
bank-account:readAccess bank account informationView account list, balance, details of each account
transaction:readAccess transaction informationView transaction history, transaction details, count transactions
webhook:readAccess webhook informationView webhook list, details of each webhook
webhook:writeManage webhooksCreate new, update webhooks
webhook:deleteDelete webhooks
profileAccess user informationView personal user information
companyAccess company informationView detailed company information
Important Principle

Only request scopes that are truly necessary for your application. Requesting too many unnecessary permissions will reduce the acceptance rate of users granting permissions.

Client ID and Client Secret

After successful registration, the system will provide you with:

  • Client ID: Public identifier of the application
  • Client Secret: Secret key used to authenticate the application
Important

Client Secret is sensitive information and must be kept secure. Do not share or expose Client Secret in public source code or client-side applications.

Client ID and Client Secret will be displayed as shown below:

OAuth2 SePay
Click to expand

Application Management

After creating an application, you can manage registered applications at Account menu → OAuth Applications to manage created OAuth applications:

  • Edit application information: Update name, redirect URL
  • Update scopes: Change required permissions
  • Delete application: Completely delete the application and revoke all issued tokens

Next Step

After successfully registering an application and obtaining Client ID and Client Secret, you are ready to implement OAuth2 authentication flow. Continue to the Authentication Flow page to learn the next steps.