-
Notifications
You must be signed in to change notification settings - Fork 0
Acrosure Client
Represents an Acrosure API client.
AcrosureClient(token)
Create an AcrosureClient.
Parameters:
| Name | Type | Description |
|---|---|---|
| token | string | An access token. |
| api_url | string, optional | An api endpoint (default is https://api.acrosure.com) |
ApplicationManager (You should be using this instead of trying to access ApplicationManager directly)
Type
- ApplicationManager
DataManager (You should be using this instead of trying to access DataManager directly)
Type:
- DataManager
PolicyManager (You should be using this instead of trying to access PolicyManager directly)
Type:
- PolicyManager
ProductManager (You should be using this instead of trying to access ProductManager directly)
Type:
- ProductManager
TeamManager (You should be using this instead of trying to access TeamManager directly)
Type:
- TeamManager
Access token (or API Key)
Type:
- string
Call Acrosure API with corresponding url & current API key.
Parameters:
| Name | Type | Description |
|---|---|---|
| path | string | An API path. |
| data | dict | A data object which is specified by Acrosure. |
Verify signature in webhook event.
Parameters:
| Name | Type | Description |
|---|---|---|
| signature | string | A signature received from webhook. |
| data | string | A string of raw data. |
Returns: Whether the signature is valid or not.
Type
- boolean