Download the PHP package moipayway/mpw-php without Composer
On this page you can find all versions of the php package moipayway/mpw-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download moipayway/mpw-php
More information about moipayway/mpw-php
Files in moipayway/mpw-php
Package mpw-php
Short Description The library simplifies interaction with Moipayway APIs in your PHP applications. It streamlines the process of integration, eliminating the need to deal with intricate details, and facilitates rapid API calls.
License MIT
Informations about the package mpw-php
MoiPayWay PHP Library
Introduction
The MoiPayWay PHP Library simplifies interaction with Moipayway APIs in your PHP applications. It streamlines the process of integration, eliminating the need to deal with intricate details, and facilitates rapid API calls. Key features include:
- Wallets: creating and managing wallets (fiat, crypto).
- Making transfers, single/bulk. Fiat (NGN, GBP, EUR, USD) & Crypto.
- Manage virtual accounts.
- Tokens: create and manage token, such as; NFT, fungible token, stable coins, storage token, etc.
- Verification: running identity checks, credit checks, etc.
- AI: verify document image (drivers license NIN, BVN, etc), Face Comparison.
- Lookups: Document validity check, CAC, etc.
Table of Content
- Requirements
- Installation
- Initialization
- Authenticate
- Sending requests with payload
- Error handling
- More usage documentation
- Testing
- License
Requirements
- PHP 7.4 or higher.
Installation
Initialization
Authenticate
Refer to the documentation linked below to understand how to generate secret tokens for authenticating the Moipayway SDK.
Authentication
Sending requests with payload
Some endpoint requires additional data to be included in the request payload. Below is an example demonstrating sending requests with payload:
Error handling
You can catch request errors by wrapping the method in a try / catch block.
Response :
More usage documentation
- Authentication
- User
- Wallet
- Token
- Verification
- Misc