Create an API Token
SePay uses API Tokens for authentication. Therefore, the first step you need to do is to create an API Token.
Steps to create an API Token
Step 1: Go to Company Settings → API Access
Step 2: Click the + Add API button in the top-right corner
Step 3: Fill in all required information, including:
- Name: Any name you choose
- Status: Select Active
Step 4: Click Add
- After successfully adding, you will see your API Token listed under API Access.
NoteCurrently, SePay does not support role-based permissions for APIs. This means that any generated API Key will have full access rights.
How to use the API Token
The API Token must be included in the request header each time you call the SePay API, using the format:
Authorization: Bearer API_TOKENExample: Using an API Token to retrieve transaction information

SePay API Token