Welcome to Mangopay PHP SDK
The Mangopay PHP SDK is a client library that simplifies integration with the Mangopay REST API. It provides a comprehensive set of tools for managing users, wallets, payments, transfers, and more.What is Mangopay?
Mangopay is a payment infrastructure platform that enables marketplaces and platforms to accept payments, manage user accounts, and facilitate transfers between users. The PHP SDK abstracts the complexity of direct API calls and provides an intuitive object-oriented interface.Key Features
User Management
Create and manage natural and legal users with comprehensive KYC support
Payment Processing
Accept payments via cards, bank transfers, PayPal, and more
Wallet Management
Create and manage user wallets for secure fund storage
Transfers & Payouts
Facilitate transfers between users and payouts to bank accounts
Requirements
To use the Mangopay PHP SDK, you need:- PHP 5.6 or newer
- cURL (included and enabled in standard PHP distributions)
- OpenSSL (included and enabled in standard PHP distributions)
- psr/log v1.0 (automatically handled by Composer)
While Composer is not mandatory, it is strongly recommended for managing dependencies, particularly the PSR Log library.
API Version Compatibility
Since v2.1 of this SDK, you must use at least v2.01 of the Mangopay API. See the API v2.01 overview for migration details.
Getting Your API Credentials
Before you begin, you’ll need Mangopay API credentials:Choose Your Environment
- Sandbox: Free testing environment for development
- Production: Live environment for real transactions
Register Your Account
Visit the Mangopay registration page to create an account.
What’s Next?
Now that you understand the basics, proceed to installation and configuration:Installation
Install the SDK using Composer or manual download
Configuration
Configure the SDK with your API credentials
Quick Start
Build your first integration with a complete example
API Reference
Explore all available API methods and resources
Support and Resources
- Report bugs: GitHub Issues
- API Documentation: Mangopay API Docs
- License: MIT License