konfig / dojah-php-sdk
Use Dojah to verify, onboard and manage user identity across Africa!
v4.1.0
2023-07-28 22:37 UTC
Requires
- php: ^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- phpunit/phpunit: ^8.0 || ^9.0
README
Use Dojah to verify, onboard and manage user identity across Africa!
Installation & Usage
Requirements
This library requires PHP ^8.0
Composer
To install the bindings via Composer, add the following to composer.json
:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/dojah-inc/dojah-php-sdk.git" } ], "require": { "konfig/dojah-php-sdk": "4.1.0" } }
Then run composer install
Manual Installation
Download the files and include autoload.php
:
<?php require_once('/path/to/dojah-php-sdk/vendor/autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $dojah = new \Dojah\Client( Authorization: "AUTHORIZATION", AppId: "APP_ID", ); $profile_id = "WC7117469"; try { $result = $dojah->aML->getScreeningInfo( profile_id: $profile_id ); } catch (\Exception $e) { echo 'Exception when calling AMLApi->getScreeningInfo: ', $e->getMessage(), PHP_EOL; }
API Endpoints
All URIs are relative to https://api.dojah.io
Models
- AmlScreenAmlRequest
- AmlScreenAmlResponse
- AmlScreenAmlResponseEntity
- AnalyzeDocumentResponse
- AnalyzeDocumentResponseEntity
- AnalyzeDocumentResponseEntityDocumentImages
- AnalyzeDocumentResponseEntityDocumentType
- AnalyzeDocumentResponseEntityStatus
- AnalyzeDocumentResponseEntityTextDataInner
- AuthenticationSendOtpRequest
- AuthenticationSendOtpResponse
- AuthenticationSendOtpResponseEntityInner
- AuthenticationValidateOtpResponse
- AuthenticationValidateOtpResponseEntity
- DeleteWebhookResponse
- FraudGetEmailReputationResponse
- FraudGetEmailReputationResponseEntity
- FraudGetEmailReputationResponseEntityBreachDetails
- FraudGetEmailReputationResponseEntityDetails
- FraudGetEmailReputationResponseEntityDomainDetails
- FraudGetIpReputationResponse
- FraudGetIpReputationResponseEntity
- FraudGetIpReputationResponseEntityReport
- FraudGetIpReputationResponseEntityReportAnonymity
- FraudGetIpReputationResponseEntityReportBlacklists
- FraudGetIpReputationResponseEntityReportInformation
- FraudGetIpReputationResponseEntityReportRiskScore
- FraudScreenPhoneResponse
- FraudScreenPhoneResponseEntity
- FraudScreenUserResponse
- FraudScreenUserResponseEntity
- FraudScreenUserResponseEntityEmailCheckResult
- FraudScreenUserResponseEntityEmailCheckResultBreachDetails
- FraudScreenUserResponseEntityEmailCheckResultBreachDetailsBreachesInner
- FraudScreenUserResponseEntityEmailCheckResultDomainDetails
- FraudScreenUserResponseEntityIpCheckResult
- FraudScreenUserResponseEntityIpCheckResultAnonymity
- FraudScreenUserResponseEntityIpCheckResultBlacklists
- FraudScreenUserResponseEntityIpCheckResultIpDetails
- FraudScreenUserResponseEntityIpCheckResultRiskScore
- FraudScreenUserResponseEntityPhoneCheckResult
- GeneralGetNubanResponse
- GeneralGetNubanResponseEntity
- GetBanksResponse
- GetBanksResponseEntityInner
- GetBasicBvnResponse
- GetBasicBvnResponseEntity
- GetBinResponse
- GetBinResponseEntity
- GetDriversLicenseResponse
- GetDriversLicenseResponseEntity
- GetFullBvnResponse
- GetFullBvnResponseEntity
- GetKycDriversLicenseResponse
- GetKycDriversLicenseResponseEntity
- GetKycDriversLicenseResponseEntityPersonalDetails
- GetKycPassportResponse
- GetKycPassportResponseEntity
- GetNationalIdResponse
- GetNationalIdResponseEntity
- GetNubanResponse
- GetNubanResponseEntity
- GetPassportResponse
- GetPassportResponseEntity
- GetPhoneNumber404Response
- GetPhoneNumber404ResponseEntity
- GetPhoneNumberResponse
- GetPhoneNumberResponseEntity
- GetPremiumBvnResponse
- GetPremiumBvnResponseEntity
- GetSenderIdResponse
- GetSenderIdResponseEntityInner
- GetSmsStatusResponse
- GetSmsStatusResponseEntity
- GetSsnitResponse
- GetSsnitResponseEntity
- GetVinResponse
- GetVinResponseEntity
- GetVninResponse
- GetVninResponseEntity
- GetWalletBalanceResponse
- GetWalletBalanceResponseEntity
- GetWebhooksResponse
- GetWebhooksResponseEntityInner
- KybGetCacResponse
- KybGetCacResponseEntity
- KybGetTinResponse
- KybGetTinResponseEntity
- KycCheckLivenessRequest
- KycSubmitAddressRequest
- KycSubmitAddressResponse
- KycSubmitAddressResponseEntity
- KycSubmitAddressResponseEntityData
- KycSubmitAddressResponseEntityDataApplicant
- KycSubmitAddressResponseEntityDataNeighbor
- MlVerifyPhotoIdWithSelfieRequest
- NigeriaKycGetNinResponse
- NigeriaKycGetNinResponseEntity
- NotifyWebhookRequest
- NotifyWebhookRequestData
- NotifyWebhookResponse
- PurchaseAirtimeRequest
- PurchaseAirtimeResponse
- PurchaseAirtimeResponseEntity
- PurchaseAirtimeResponseEntityDataInner
- RequestSenderIdRequest
- RequestSenderIdResponse
- RequestSenderIdResponseEntityInner
- SendSmsRequest
- SendSmsResponse
- SendSmsResponseEntity
- SubscribeServiceRequest
- SubscribeServiceResponse
- ValidateBvnResponse
- ValidateBvnResponseEntity
- ValidateBvnResponseEntityBvn
- ValidateBvnResponseEntityFirstName
- VerificationsVerifySelfieNinRequest
- VerificationsVerifySelfieVninRequest
- VerifyAgeResponse
- VerifyAgeResponseEntity
- VerifySelfieBvnRequest
- VerifySelfieBvnResponse
- VerifySelfieBvnResponseEntity
- VerifySelfieBvnResponseEntitySelfieVerification
- ZafKycGetIdResponse
- ZafKycGetIdResponseEntity
- ZwKycCheckCreditResponse
- ZwKycCheckCreditResponseEntity
- ZwKycVerifyIdResponse
- ZwKycVerifyIdResponseEntity
Author
This PHP package is automatically generated by Konfig: