trillzglobal/securemyid
Composer 安装命令:
composer require trillzglobal/securemyid
包简介
Package to connect application to secureMyID for Identity Verification
README 文档
README
🏁 Staring
This package automatically assist with packing and sending API to SecureMyID for;
- ID Verification Request
- Reporting Identity
- Decrypting Webhook to get both Identity Details and Account Suspension details
🚀 Usage
use TrillzGlobal\SecureMyID\SecureMyID; # Initiate new Class with API Key and Secret Key generated on your dashboard on SecureMyID $verify = new SecureMyID($api_key, $secret_key); # Sending Request to Verify ID. Response will either be successful or failed. Identity of customer will be sent as response to webhook provided on secureMyID dashboard. # Sample Payload $payload = '{"phone_number":"090000000001"}'; $result = $verify->verifyID($data); # Reporting a suspected Fraudulent User comes handy with this endpoint as you can use this to protect against same user from future fraud. # Sample Payload $payload = '{"phone_number":"090000000001", "risk_level":3, "details":"Hacked into our system"}'; $result = $verify->reportIdentity($data); #Registered webhook receives identity verification response and also Panic Notification if user want to suspend action on their account for some times. $result = $verify->decryptWebhook($data);
📝 License
This project is under license from MIT. For more details, see the LICENSE file.
Made with ❤️ by Michael Ojo
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-11