PHPackages                             placetopay/mpi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. placetopay/mpi

ActiveLibrary[Payment Processing](/categories/payments)

placetopay/mpi
==============

A SDK to connect with PlacetoPay 3DS MPI

0.7.2(3y ago)011.6k↓79.5%4[2 PRs](https://github.com/placetopay-org/mpi/pulls)MITPHPPHP &gt;=7.4.0

Since Apr 4Pushed 2y ago2 watchersCompare

[ Source](https://github.com/placetopay-org/mpi)[ Packagist](https://packagist.org/packages/placetopay/mpi)[ RSS](/packages/placetopay-mpi/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (4)Versions (34)Used By (0)

3DS MPI Service SDK
===================

[](#3ds-mpi-service-sdk)

Installation
------------

[](#installation)

This SDK can be installed easily through composer

```
composer require placetopay/mpi

```

Usage
-----

[](#usage)

Instantiate the object with the service, you can send 3ds version, default value is V1

```
$mpi = new \PlacetoPay\MPI\MPIService([
    'url' => 'THE_MPI_URL',
    'apiKey' => 'THE_API_KEY_HERE'
     // --- OPTIONAL ---
    '3dsVersion' => 'V2'
]);

```

Lookup the card on the directories
----------------------------------

[](#lookup-the-card-on-the-directories)

```
$response = $mpi->lookUp([
    'card' => [
        'number' => '5476328554652171',
        'expirationYear' => '20',
        'expirationMonth' => '12',
    ],
    'amount' => 12000,
    'currency' => 'COP',
    'redirectUrl' => 'https://dnetix.co/ping/3ds',
    // --- OPTIONAL ---
    // Only 3dsVersion V2
    'threeDSAuthenticationInd' => '',
    'recurringFrequency' => '',
    'recurringExpiry' => '',
    'recurringFrequency' => '',
    'purchaseInstalData' => '',
]);

```

### Optional Parameters

[](#optional-parameters)

FieldDescriptionFormatRequirethreeDSAuthenticationIndtype of authentication request.String(02): - 01: Paymen transaction - 02: Recurring transaction -03: Installment transactionOptional, default is 01recurringFrequencythe minimum number of days between authorizations.String (max 32)if threeDSAuthenticationInd is '02' o '03'recurringExpiryDate after which no further authorizations will be madeString(8) / Format YYYYMMDDif threeDSAuthenticationInd is '02' o '03'recurringFrequencyMinimum number of days between authorizations.String(max 32)if threeDSAuthenticationInd is '02' o '03'purchaseInstalDataMaximum number of authorizations allowed for installment payments.String(max 8) major than 1if threeDSAuthenticationInd is '03'Query validation status
-----------------------

[](#query-validation-status)

```
$response = $mpi->query(12345678);

```

Update transaction status
-------------------------

[](#update-transaction-status)

```
$response = $mpi->update(12345678, new \PlacetoPay\MPI\Messages\UpdateTransactionRequest([
    'provider' => 'PlacetoPay',
    'processor' => 'CREDIBANCO',
    'authorization' => '909823',
    'iso' => '00'
]));

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 82.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~53 days

Recently: every ~68 days

Total

31

Last Release

1425d ago

PHP version history (2 changes)0.3.0PHP &gt;=7.1.0

0.5.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/188a6d118a8949533ff4154931c90b50f20e0fdebfb98831fd215a50430cfa67?d=identicon)[placetopay](/maintainers/placetopay)

---

Top Contributors

[![dnetix](https://avatars.githubusercontent.com/u/4644865?v=4)](https://github.com/dnetix "dnetix (92 commits)")[![eduarguz](https://avatars.githubusercontent.com/u/14934055?v=4)](https://github.com/eduarguz "eduarguz (11 commits)")[![davidv99](https://avatars.githubusercontent.com/u/17091646?v=4)](https://github.com/davidv99 "davidv99 (7 commits)")[![placetopay](https://avatars.githubusercontent.com/u/6070773?v=4)](https://github.com/placetopay "placetopay (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/placetopay-mpi/health.svg)

```
[![Health](https://phpackages.com/badges/placetopay-mpi/health.svg)](https://phpackages.com/packages/placetopay-mpi)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[imdhemy/google-play-billing

Google Play Billing

491.5M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
