Postman Colection

Streamline your API testing and integration with Localpayment's official Postman collection. This comprehensive collection provides pre-configured requests for all our endpoints, making it easy to explore, test, and understand our API without writing any code.

What is Postman?

API Development Platform

Postman is a collaborative platform for API development that simplifies building, testing, and documenting APIs

No-Code Testing

Test API endpoints visually with pre-built requests, environments, and automated workflows

Key Postman features

  • Collections: Organize API requests into folders and share them with your team
  • Environments: Manage different configurations (stage vs production) with variables
  • Automated Testing: Write and run tests to validate API responses automatically
📘

New to Postman? Download Postman for free and check out their learning center for comprehensive tutorials.

Get Started with Postman Collection

Download the Collection

Get the latest version of our Postman collection:

Run in Postman

Or download the JSON file directly:

Download Postman Collection

Import into Postman

Option 1: Direct Import

  • Click the "Run in Postman" button above
  • Postman will open and prompt you to import the collection

Option 2: Manual Import

  1. Open Postman
  2. Click Import in the top-left corner
  3. Drag and drop the downloaded JSON file or select it from your computer
  4. Click Import to add the collection to your workspace

Set Up Environment

Import our pre-configured environment template:

Download Environment Template

This includes all necessary variables for testing with Localpayment APIs.

Environment Configuration

The Localpayment environment contains essential variables that need to be configured for your testing scenarios. Update these values in your Postman environment before making requests.

Environment Variables


VariableDescriptionExample ValueRequired
accountNumberLocalpayment account number where the operation is performed3.203.200.000.001Yes
baseUrlAPI environment URL (stage or production)https://api.stage.localpayment.comYes
userNameUsername for token generation requestsyour_usernameYes
passwordPassword for token generation requestsyour_passwordYes
accessTokenBearer token for API authentication (auto-filled from token requests)Bearer eyJhbGciOiJ...No
refreshTokenRefresh token for obtaining new access tokenseyJhbGciOiJ...No
countryCountry code for operations (ISO 3166-1 alpha-3)MEXYes
externalIdUUID4 identifier auto-generated by Postmanf47ac10b-58cc-4372-a567-0e02b2c3d479No
internalIdInternal transaction identifier (auto-filled by API responses)0dcf3970-006a-46e8-b914-f3853abc3cf3No
currencyCurrency code for operations (ISO 4217)MXNYes
conceptCodePredefined concept code from Localpayment's concept list0001Yes

Configure Your Environment

  1. In Postman, click Environments in the sidebar
  2. Select Localpayment Environment
  3. Update the Current Value for each variable with your actual credentials
  4. Make sure the environment is selected in the top-right dropdown

Collection Structure

Our Postman collection is organized by product and functionality for easy navigation:

Localpayment API
├── Before a payment
│ ├── Authentication
│ ├── Validation Services
│ └── Resources
├── Payins
│ ├── Cards
│ ├── Virtual Accounts
│ └── Subscriptions
├── Payouts
└── Treasury & FX
  ├── FX Services
  ├── Reports
  └── Transactions

Additional Resources