This connector is a custom integration for Mattilda and is only available to enrolled users. Contact Mattilda directly to begin the onboarding process.
Setup
Contact the Tapi account manager to obtain credentials.Credentials
When setting up Tapi Cash in the dashboard, configure the following credentials:- Username - The Tapi username.
- Password - The Tapi password.
- Login API key - The API key for the
/loginendpoint. - References API key - The API key used to create and retrieve reference data via the
/referenceendpoint. - Approval URL - The custom frontend URL provided by Mattilda.
- Tapi Modality ID - The identifier of the payment modality used in the transaction.
- Tapi company code - The company code associated with the operation.
- Tapi identifier name (optional) - The identifier name associated with the operation.
Capabilities
Supported countries
Supported currencies
Webhooks
Tapi requires manual webhook setup. Contact Mattilda to request the webhook URL and configure it for your account. Tapi sends the following webhook events:- confirmed - The payment was successfully captured.
- failed - The payment could not be processed or was rejected.
- reverse - A retraction of a previous capture event. This indicates the capture did not actually complete on Tapi’s side. Mattilda handles the reversal by triggering a full refund to align the transaction state.
A reversal is not a real refund at the PSP level. It marks the transaction as reversed in alignment with Tapi’s state.
Integration
The default integration for Tapi Cash uses a redirect flow. Start by creating a new transaction with the following required fields.processing. The payment reference expires after 7 days.
approval_url where they receive payment instructions. Once payment is confirmed through a webhook, the transaction progresses to a capture_succeeded state.
Custom expiration date
You can control when a Tapi payment reference expires using two approaches:- Top-level
approval_expires_at: Set the expiration directly on the transaction request using an ISO 8601 datetime value. connection_options.payment_method_expires_at: Override the expiration at the connector level using aYYYY-MM-DDdate string.
connection_options.payment_method_expires_at takes priority. If neither is set, the reference expires after 7 days.
To use the top-level field, include approval_expires_at in your transaction request.
Connection options
The Tapi connector also supports passing a payment expiration date viaconnection_options. This takes priority over the top-level approval_expires_at field.
payment_method_expires_at field must be in ISO 8601 format (YYYY-MM-DD). If not specified, it defaults to 7 days from the transaction creation date.