Client ID
and Client Secret
can can be found or generated in the Sardine sandbox dashboard
by navigating to the Admin & Settings menu > Organizations & Users > API Credentials. To set up a webhook endpoint and generate a Webhook Secret
you will need to contact your Sardine Implementations Manager.
Credential | Description |
---|---|
Client ID | Your unique Sardine account ID |
Client Secret | The password used to sign API requests |
Webhook Secret | The secret used to validate the authenticity, integrity and security of webhook requests originating from Sardine |
accept
/reject
/review
decision values, this result can be achieved by creating a specific workflow in Sardine, which will return a tag matching one of the Gr4vy decision values. You must set up the workflow on Sardine as follows:
Create Workflow
Workflows
from the menu in the sidebarNew Workflow
get-decision
as the name of the workflowCustomer
as the Input TypeSave block
Checkpoint
Checkpoint
block with 2 checkpoints: CUSTOMER
and PAYMENT
Multipath Splitter
Checkpoint
block, you should add a Multipath Splitter
block with the name set to decision
. This block should have 3 paths. Your non-default paths will each require
at least 1 condition (this will likely consist of choosing various risk
levels to be associated with the path. To see an example setup, load the
example workflow shown below)Paths
End block
to each of the three paths, each with specific
action
(s) set. See the tabs below for the action
settings for each End block
:Property | Value |
---|---|
Action | Update Tag |
Entity | Session |
Tag | decision |
Value | accept |
error
decision:get-decision
End blocks
, with the following action
Values: accept
, review
, reject
and with the Action Tag set to decision
review
path must enqueue an AlertWorkflows
from the menu in the sidebarNew Workflow
get-decision
as the name of the workflowCustomer
as the Input TypeSave block
Import Workflow
Submit
Confirm
when prompted about overriding the existing workflowSave
in the top rightSet as Live Version
Confirm
to save the workflowStatus
label set to Live
accept
path as the default path, and the Sardine risk levels associated with the review
/reject
paths are as follows:
Sardine Risk Level | Decision tag/Gr4vy Decision |
---|---|
medium | review |
high , very_high | reject |
Case
type webhooks. Once your webhooks have been enabled, Sardine will send you the Webhook Secret
, which is used for webhook validation as mentioned above.
Webhook Secret
to your dashboard, the webhook
signature validation process will be skipped, which may put your system at
risk of attacks from tampered webhook payloads.sessionKey
value as the anti_fraud_fingerprint
to the new transaction API.
Biometrics will be enabled by default, which may result in the following console errors and warnings:
Errors
Warnings