Setup
Monato does not provide self-service sandbox sign-up. Contact Monato to create your account and enable SPEI.Credentials
When you configure Monato SPEI in the dashboard, provide the following credentials.- Client ID (
client_id): Monato client ID. - Client Secret (
client_secret): Monato client secret. - API Key (
api_key): API key for Monato credential token access. - Approval URL (
approval_url, optional): Custom URL for the approval experience when you passconnection_options.
approval_url, Gr4vy uses the hosted approval page.
Supported countries
Monato supports transactions from buyers inMX.
Supported currencies
Monato supports processing payments inMXN.
Integration
Monato SPEI uses a redirect flow.Redirect integration
Create a transaction with the required fields.payment_method.approval_url and a processing status.
payment_method.approval_url to show the approval UI in a popup, iframe, or redirect. Approval links expire after 7 days.
Recurring payments
Monato SPEI supports payment method tokenization for recurring payments. To set up recurring payments:- Store the payment method during the first SPEI transaction by setting
store: true. - Create subsequent charges with the stored
payment_method.idand setis_subsequent_payment,merchant_initiated, andpayment_source.
Recurring caveats
When you implement recurring payments with Monato SPEI, keep these caveats in mind.- For one-off transactions,
payment_service_transaction_idis the CLABE value. - For recurring transactions,
payment_service_transaction_idis the CLABE plus the Gr4vy transaction ID. This combination gives each recurring transaction a unique value, because SPEI does not provide a stable unique transaction ID. - Because of this format, Gr4vy can not automatically reconcile recurring webhooks from SPEI. You should proxy
MONEY_INevents, find the matching transaction in Gr4vy, and then includetransaction_idin the webhook body you send to Gr4vy.
MONEY_IN for recurring transactions.
Custom expiration date
By default, Monato SPEI approval links expire after 7 days. You can set a custom expiration per transaction using the top-levelapproval_expires_at field on the transaction request. The value must be a future datetime in ISO 8601 format.
Monato SPEI does not pass the expiration date to the PSP. The value is stored in Gr4vy and used to manage the transaction lifecycle on the platform side.
Webhooks
This connector requires webhooks. Contact Monato support to configure webhook delivery. Monato sendsMONEY_IN when a payment is captured.
Testing
Contact Monato support and request a SPEI test transaction (MONEY_IN) using the CLABE from the payment session flow.