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 an introduction to WEpayments APIs, including available endpoints, authentication methods, and environment information for developers integrating with the platform.

What can you do with WEpayments APIs?

WEpayments APIs enable you to integrate your system directly with our payment platform, automating operations without manual Dashboard access.
OperationWhat you can do
Payin (receiving)Create charges via PIX, boleto, and credit card; check charge status; request refunds
Payout (sending)Create single or mass payments; check payment status; validate beneficiary data
Statements & ReportsRetrieve balance information; download transaction statements; reconcile operations
KYC & ComplianceSubmit documents; check compliance status; request Smart User Limits
Data CollectGenerate self-onboarding links for beneficiaries; validate PIX keys
SettlementsRequest withdrawals; transfer balance between wallets

API authentication overview

WEpayments APIs use API keys for authentication.
AspectDetails
Authentication methodAPI key (bearer token)
Key generationVia Dashboard (Settings > Access Control)
IP whitelistingRequired – only allowed IPs can use the key
Two-factor authenticationRequired to generate and delete API keys
💡 API keys are generated per user. Each key inherits the permissions assigned to that user.

API environments

EnvironmentPurposeBase URL
SandboxTesting and developmentContact support for sandbox URL
ProductionLive operationsProvided during onboarding
💡 We recommend testing all integrations in the sandbox environment before moving to production.

Available API endpoints (overview)

CategoryExample endpoints
PayinCreate charge, get charge status, cancel charge, request refund
PayoutCreate payment, get payment status, validate beneficiary
Data CollectCreate collection request, get status, validate PIX key
StatementsGet balance, get statement, download reports
ComplianceSubmit KYC documents, check request status
SettlementsCreate settlement, get settlement status
💡 For complete API documentation, including request/response examples and error codes, please refer to our API Documentation (separate document).

Rate limits

LimitDescription
Requests per secondContact support for your contract-specific limits
Bulk operationsMass payments are supported with appropriate limits

Best practices for API integration

PracticeWhy it helps
Use a dedicated API userCreate a specific user for API integration, not shared with human users
Store API keys securelyKeys are only shown once – store them in a secure vault
Whitelist only necessary IPsMinimizes security risks
Test in sandbox firstValidate integration before going live
Handle errors gracefullyImplement retry logic for transient failures
Monitor API usageTrack usage to avoid hitting limits

Error handling

HTTP StatusDescriptionWhat to do
200SuccessProcess response normally
400Bad requestCheck request parameters
401UnauthorizedCheck API key and IP whitelist
403ForbiddenCheck user permissions
404Not foundVerify endpoint URL
429Too many requestsImplement rate limiting / backoff
500Server errorRetry with exponential backoff

Support and resources

ResourceWhere to find
API DocumentationProvided during onboarding / upon request
Sandbox environmentContact support for access
Technical supportcs@wepayments.com.br or Dashboard chat