Direct API
Direct API is the direct connection to TaloPay
Compatible with every programming language: use what you need from our Platform and combine it with your user experience.
import TaloPay from "talopay"
const talopay = new TaloPay(process.env.TALOPAY_KEY)
const order = await talopay.orders.create({
currency: "MXN",
customer: { email: "maria@ejemplo.mx" },
line_items: [{ name: "Sneakers", unit_price: 249900, quantity: 1 }],
charges: [{ payment_method: { type: "spei" } }],
})Features
Our APIs are built by developers for developers
Universal
Libraries to ease integration: Ruby, PHP, Python, Node, Java, .NET, Go. Integrate once and use our whole payments platform.
Secure
Direct integration with our core services, without complex abstractions, to cut implementation time. End-to-end encrypted data.
Flexible
Fits your systems alongside your data and UI. Automate sales and post-sale processes with our Webhooks.
Our experience in the Mexican market helps us improve integration.
*Terms and conditions apply.
Integration flow
How to integrate TaloPay via Direct API?
- 01
Test API Keys
Once your TaloPay Dashboard account is active, get your test-mode API Keys.
- 02
Sandbox
Follow our tutorials to accept payments in sandbox mode.
- 03
Webhooks
Configure your webhooks and review logs and events.
- 04
Production
Switch to production and start accepting Transfers, BNPL and/or bank apps.
Frequently asked questions
No. API integration has no extra cost: you only pay the fee for each successful transaction.