Note: Fast Payments is currently available only for selected merchants. We are working to make it available to everyone soon.
- Node.js
- NPM (dependency manager)
- Express
- Node.js v20.11.1 or higher (you can download it here).
- Read our instructions on how to create an application at the Mercado Pago Developer Panel in order to acquire your public key and access token. They will grant you access to Mercado Pago's public APIs.
- Clone the project.
git clone https://github.com/mercadopago/payment-brick-fast-payments-sample.git
- Go to the project's folder.
cd payment-brick-fast-payments-sample
- Then install the dependencies.
npm install
Fast Payments are only available on mobile devices. Therefore, to test this integration, you must either use an Android/iOS emulator or access it directly from your mobile device. To make it easier to access this project's content on these devices, we'll use localtunnel.
- Run the following command to start the application:
MERCADO_PAGO_SAMPLE_PUBLIC_KEY=YOUR_PUBLIC_KEY MERCADO_PAGO_SAMPLE_ACCESS_TOKEN=YOUR_ACCESS_TOKEN npm start
Remember to replace the values of YOUR_PUBLIC_KEY
and YOUR_ACCESS_TOKEN
with the corresponding credentials from your account.
- Run the following command in a new terminal window to create a tunnel:
npm run localtunnel
- Access the public URL generated by the previous command through your mobile device or emulator.
payment.brick.for.fast.payments2.mp4
You can contribute to this project by reporting problems and bugs. Before opening an issue, make sure to read our code of conduct.
MIT License. Copyright (c) 2025 - Mercado Pago
For more information, see the LICENSE file.