> ## Documentation Index
> Fetch the complete documentation index at: https://docs.localpayment.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Basics

Welcome to the Localpayment API documentation. Our REST API enables you to integrate payment processing capabilities directly into your applications, websites, and platforms with comprehensive payin and payout functionality across Latin America.

The Localpayment API provides a robust, RESTful interface for processing payments and managing financial operations. Built with developer experience in mind, our API features resource-oriented URLs, JSON request/response formats, and standard HTTP conventions to ensure seamless integration across all platforms and programming languages.

> [card] RESTful Design
>
> Clean, predictable endpoints following REST principles for easy integration

> [card] JSON Format
>
> Consistent JSON request/response format across all endpoints

> [card] HTTP Standards
>
> Standard HTTP methods, status codes, and authentication

***

## API Fundamentals

Understand the core concepts and components of the Localpayment API to build robust integrations.

> [card] [Authentication](https://docs.localpayment.com/reference/authentication-overview.md)
>
> Learn how to generate access tokens and authenticate API requests using
> Bearer token authentication

> [card] [Request & Responses](https://docs.localpayment.com/docs/error-handling.md)
>
> Understand API request format, response structure, and common response
> patterns

> [card] [Error Codes](https://docs.localpayment.com/reference/transaction-status-error-codes)
>
> Reference comprehensive error codes and handling strategies for API failures

> [card] [Webhooks](https://docs.localpayment.com/docs/webhooks.md)
>
> Implement real-time notifications for transaction events and status changes

***

## Environments

> [tab] Stage
>
> Use our sandbox environment for testing and development without processing real transactions.
>
> ### Base URLs
>
> | Component | URL |
> | - | - |
> | **API Base URL** | `https://api.stage.localpayment.com` |
> | **Dashboard** | `https://ui.stage.localpayment.com` |
>
> ### Features
>
> * Test card numbers and bank accounts
> * Simulated payment processing
> * Webhook testing
> * No real money movement
> * Full API functionality
>
> ### Getting Started
>
> 1. Sign up for a Stage account
> 2. Retrieve your API credentials from the dashboard
> 3. Configure IP whitelisting for security
> 4. Begin testing your integration

> [tab] Production
>
> Access the live environment after completing testing and certification.
>
> ### Base URLs
>
> | Component | URL |
> | - | - |
> | **API Base URL** | `https://api.v3.localpayment.com` |
> | **Dashboard** | `https://ui.v3.localpayment.com` |
>
> ### Requirements
>
> * Completed integration testing in Stage
> * Security review and certification
> * Approved business verification
> * Live transaction processing
>
> ### Go-Live Process
>
> 1. Complete thorough testing in Stage environment
>
> 2. Submit integration for security review
>
> 3. Complete business verification
>
> 4. Receive production credentials
>
> 5. Update your application to use production URLs
>
> > [!TIP]
> >
> > **Ready for Production?**
> >
> > Contact our support team to begin the certification process once your Stage testing is complete.

***

## Quick Start

Get up and running quickly with our essential getting started resources.

> [card] [Make Your First Test Payment](https://docs.localpayment.com/docs/make-your-first-test-payment.md)
>
> Step-by-step guide to creating your first test payment in the Stage
> environment with example code

> [card] [Postman Collection](https://docs.localpayment.com/reference/postman-collection.md)
>
> Download our pre-configured Postman collection with all API endpoints and
> test scenarios

***

> [card] [Support Resources](https://docs.localpayment.com/docs)
>
> * [**Integration Guide:**](https://docs.localpayment.com/docs) Step-by-step tutorials for common integration scenarios.
> * [**Support:**](mailto:support@localpayment.com) Technical support for API integration issues.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.