The Integrations area was created to connect Gates2b to your system, website, or online store. On this screen, you can:Documentation Index
Fetch the complete documentation index at: https://docs.gates2b.com/llms.txt
Use this file to discover all available pages before exploring further.
- Generate or reset your API key
- Register allowed IPs and domains
- Add webhooks to receive automatic notifications
How to generate a new API Key?
In the side menu, click on “My Account” and then click on “Integrations”. In the “Generate API key” section, click “Generate new API key”. To complete this action, two-step verification must be active on the account. After generation, copy the displayed key immediately.
When generating a new key
You can reset the API key when:- Starting a new integration
- Suspecting a credential leak
- Switching systems or technology partners
- Wanting to invalidate the previous key for security
Best practices
- Keep the key only in your system’s backend
- Do not expose the key on public pages or the front-end
- Limit access only to those who truly need it
Registering allowed IPs and domains
The Allowed IPs and Domains section works as an additional security layer. Here, you inform which origins are authorized to use the API. Register the IPs or domains of the systems that will communicate with Gates2b. This is especially important when your operation depends on authenticated API calls. This registration helps restrict API usage only to your business’s trusted environments, such as:- Your system’s server
- Your website’s domain
- Your checkout environment
- Your application’s infrastructure
How to register an IP or domain?
- Still on the Integrations tab
- Go to the Allowed IPs and Domains block
- Click “Add a new IP or Domain”
- Enter the desired IP or domain
- Save the registration

Recommendation: Before saving, confirm with your technical team:
- What is the server’s public IP
- Which domain will make the requests
- Whether there are separate staging and production environments
Configuring webhooks
Webhooks allow Gates2b to send automatic notifications to your system whenever a transaction-related event occurs. Instead of manually checking the platform all the time, your system receives updates in real time at the configured URL. With webhooks, your system can be notified when there are changes such as:- Charge creation
- Status update
- Payment confirmation
- Failure or cancellation
- Other API events available on the platform
How to register a webhook?
- Still on the Integrations tab
- Locate the Webhooks section
- Click Add URL
- Enter the URL that will receive the notifications
- Save the configuration

URL requirements
- Accept requests from Gates2b
- Be publicly accessible via the internet
- Respond correctly upon receiving the event
- Record received data for auditing and support
Best practices
- Use an HTTPS URL
- Keep the endpoint stable
- Log incoming requests in your system
- Validate received data before processing actions
- Implement internal retries in case of failures in your processing
Consulting Webhook Logs
The Webhook Logs area allows you to track the history of notifications sent by Gates2b.How to access?
In the side menu, click on “My Account” and then click on “Webhook Logs”.
- Sending status
- Unique ID
- Sale ID that received the attempt
- Option to view content
- Date and time
- Button to resend a webhook
Usage example
- Your store’s system uses the API key to create charges
- The store’s domain or IP is previously authorized
- When the payment is updated, Gates2b sends a webhook
- The store receives this event and automatically updates the order status
- If there is a failure, the merchant consults the Webhook Logs and can resend the notification