Use any bank account
Link the bank account you already operate with and CoDi® payments settle directly into it, without opening any account or wallet with pey. Our technology is agnostic to your financial institution.
Add a payment accountCreate a CoDi charge with QR codes or push notifications, share it with your customer, and receive a webhook the moment the payment lands.
You send
POST https://api.pey.mx/codi/qr Authorization: Bearer <api-key> { "amount": 150, "concept": "Pedido #12345", "expiration": 600, "numRef": "12345" }
You receive, once the customer pays
POST https://your-server.example/webhooks webhook-signature: v1,… { "amount": 150, "apiKeyId": "01M3QMMR6X9CBVDY1SF3G8QBJW", "codiQrId": "01HXYZQR1234567890ABCDEFGH", "concept": "Pedido #12345", "datePaid": 1790724818, "numRef": "12345", "transactionId": "01HXYZTXN1234567890RSTUVWX", "type": "codi.qr.payment_received" }
We work with
Link the bank account you already operate with and CoDi® payments settle directly into it, without opening any account or wallet with pey. Our technology is agnostic to your financial institution.
Add a payment accountFor now, the API has no cost. No setup fee, no monthly plan and no charge per request. Create an API key in the portal, link your payment account and start generating CoDi® QR codes and push notifications.
Create your first QRBoth run on the same API key and report back through the same webhook endpoint. Pick the one that fits your checkout, or use both.
Bank transfers through Banxico's CoDi® network, settled in MXN to your Mexican bank account. Show the payer a QR code, or push a payment request straight to their phone number.
A hosted checkout page for CoDi, cards, Apple Pay and Google Pay. Create a link, send it to your customer, and we redirect them back to your site when they are done.
Sign up on the portal, add a payment account and create a key.
Test with real banks using small amounts such as $0.01 MXN, and use our testing bank account while yours activates.
Point an endpoint at pey and verify each delivery with Standard Webhooks.
Build and test directly against production using small amounts such as $0.01 MXN. You test with real banks and see the exact flow your customers will go through.
| Environment | API | Portal |
|---|---|---|
| Production | api.pey.mx | portal.mipey.mx |
| Test | Coming soon | |