Download the PHP package acrosure/acrosure-php-sdk without Composer
On this page you can find all versions of the php package acrosure/acrosure-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download acrosure/acrosure-php-sdk
More information about acrosure/acrosure-php-sdk
Files in acrosure/acrosure-php-sdk
Package acrosure-php-sdk
Short Description PHP SDK for connecting with Acrosure Insurance Gateway
License MIT
Homepage https://github.com/acrosure/acrosure-php-sdk.git
Informations about the package acrosure-php-sdk
acrosure-php-sdk
PHP SDK for connecting with Acrosure Insurance Gateway
Installation
Install via Composer:
composer require acrosure/acrosure-php-sdk
Getting Started
Import AcrosureClient into your project.
Instantiate with an API key from Acrosure Dashboard.
Basic Usage
AcrosureClient provides several objects such as application
, product
, etc. and associated APIs.
Any data will be inside an response object with data
key, along with meta data, such as:
Application
Get
Get application with specified id.
Create
Create an application.
Update
Update an application.
Get packages
Get current application available packages.
Select package
Select package for current application.
Get package
Get selected package of current application.
Submit
Submit current application.
Confirm
Confirm current application.
List
List your applications (with or without query).
Product
Get
Get product with specified id.
List
List your products (with or without query).
Policy
Get
Get policy with specified id.
List
List your policies (with or without query).
Data
Get
Get values for a handler (with or without dependencies, please refer to Acrosure API Document).
Team
Get info
Get current team information.
Other functionality
Verify webhook signature
Verify webhook signature by specify signature and raw data string. (Only Node.js environment)