Skip to main content

Documentation Index

Fetch the complete documentation index at: https://support.wepayments.com.br/llms.txt

Use this file to discover all available pages before exploring further.

This guide provides a step-by-step walkthrough on how to create an API user, generate an API key, assign permissions, and configure allowed IP addresses for secure API integration.

Required access

Creating users for API integration and managing permissions are actions restricted to users with Moderator permission.
RequirementDetails
Permission levelModerator
Who should have thisLegal representatives or persons with formal power of attorney
WhyThis area is sensitive and should be managed by authorized persons only
⚠️ For security reasons, Moderator permission should only be granted to legal representatives of the company or persons authorized by legal power of attorney.

Step-by-step API authentication setup

Step 1: Create a dedicated user for API integration

ActionInstructions
1. Access DashboardLog in with a Moderator user
2. NavigateSettings > Access Control
3. Create userClick “Create User”
4. Fill detailsUse information specifically for integration purposes (can be a fictitious email)
5. ExampleUsername: API - Merchant Name / Email: api.merchantname@yourcompany.com
6. Associate companySelect the corresponding company and save
⚠️ Important: This user should not be used for human login. It may be deleted if linked to an employee who leaves the company. Create it solely for technical/integration use.

Step 2: Assign permissions to the API user

ActionInstructions
1. Locate userFind the newly created user in the list
2. Open userClick on the user to edit
3. Select permissionsCheck the features the API can perform
4. SaveSave the changes

Available permissions (examples)

PermissionWhat it allows
Create charges (payin)API can create PIX, boleto, and credit card charges
Create payments (payout)API can send payments to beneficiaries
View statementAPI can retrieve balance and transaction statements
Insert KYC documentsAPI can submit compliance documents
Other permissionsDepending on your contract and product
💡 The permissions available depend on the type of product you have purchased.

Required access

Creating users for API integration and managing permissions are actions restricted to users with Moderator permission.
RequirementDetails
Permission levelModerator
Who should have thisLegal representatives or persons with formal power of attorney
WhyThis area is sensitive and should be managed by authorized persons only
⚠️ For security reasons, Moderator permission should only be granted to legal representatives of the company or persons authorized by legal power of attorney.

Step-by-step API authentication setup

Step 1: Create a dedicated user for API integration

ActionInstructions
1. Access DashboardLog in with a Moderator user
2. NavigateSettings > Access Control
3. Create userClick “Create User”
4. Fill detailsUse information specifically for integration purposes (can be a fictitious email)
5. ExampleUsername: API - Merchant Name / Email: api.merchantname@yourcompany.com
6. Associate companySelect the corresponding company and save
⚠️ Important: This user should not be used for human login. It may be deleted if linked to an employee who leaves the company. Create it solely for technical/integration use.

Step 2: Assign permissions to the API user

ActionInstructions
1. Locate userFind the newly created user in the list
2. Open userClick on the user to edit
3. Select permissionsCheck the features the API can perform
4. SaveSave the changes

Available permissions (examples)

PermissionWhat it allows
Create charges (payin)API can create PIX, boleto, and credit card charges
Create payments (payout)API can send payments to beneficiaries
View statementAPI can retrieve balance and transaction statements
Insert KYC documentsAPI can submit compliance documents
Other permissionsDepending on your contract and product
💡 The permissions available depend on the type of product you have purchased.

Step 3: Generate the API keyStep 3: Generate the API key

ActionInstructions
1. Locate API Key sectionOn the user editing screenOn the user editing screen
2. Click in “Create API KeyA new screen will open new screen will open
3. Enter IP addresses
4. Provide 2FA codeTwo-factor authentication code is requiredTwo-factor authentication code is required
5. Copy the key5. Copy the keyThe key is only shown once – at creation timeThe key is only shown once – at creation time
6. Store securelyPaste and store the key in a safe place
7. Enter into your systemUse this key for API communication with WEpayments
6. Store securelyPaste and store the key in a safe place
7. Enter into your systemUse this key for API communication with WEpayments
⚠️ Security note: For your security, we request the two-factor authentication code to create an API key, delete it, and add IP addresses to the allowed list⚠️ Security note: For your security, we request the two-factor authentication code to create an API key, delete it, and add IP addresses to the allowed list.
You’ll go to “Preferences” > “Acces Control” > Click in the user > Go to the end of the page > “Create API Key”\
Captura De Tela 2026 06 01 095527

Step 4: Configure allowed IP addresses

ActionDetails
Why requiredOnly IPs listed can make calls using the API key – prevents unauthorized access
How to addDuring API key creation or by editing the user
Update when neededRemember to update allowed IPs if your system infrastructure changes

Summary: API authentication checklist

Step
✅ Create dedicated API user (not for human login)
✅ Assign appropriate permissions (payin, payout, statements, etc.)
✅ Generate API key (copy and store immediately)
✅ Configure allowed IP addresses
✅ Enable two-factor authentication for the Dashboard user
✅ Store API key securely in your system

Security best practices

PracticeWhy
Use a dedicated API userPrevents access loss if an employee leaves
Minimize permissionsGrant only what the API needs
Rotate API keys periodicallyReduces risk of compromised keys
Review IP whitelist regularlyRemove outdated or unused IPs
Monitor API usageDetect unusual patterns
Never share API keysTreat them like passwords