This package is abandoned and no longer maintained. No replacement package was suggested.

This is the core or base package of the MasterCard Api, all different flavours of Api provided by MasterCard will reuse this package

1.4.7 2018-06-25 08:19 UTC

This package is auto-updated.

Last update: 2022-04-29 23:24:00 UTC


⚠️ This project is deprecated. See Mastercard / oauth1-signer-php and Mastercard / client-encryption-php instead.


This is the SDK Core Api for all the SDK used in MasterCard. It provides some Core functionality for all our SDKs. It provide:

  • exception handling
  • security (OAUTH)
  • crypt utilities
  • message pump
  • smart map (for inline request creation using fluent style api)


This is composer project. For simplicity i've added to the project under the bin an instance of composer.

chmod +x
chmod +x
./composer install

Run a single test

./composer exec -- phpunit --filter test500_invalidrequest_json_native