Business Logic Handling

Describe the list of error code for business logic error and meanings

Status
Message
Description

S0

Successful

Generic response if the request is successful

S1

Duplication of Tracking Number

A Tracking Number can have one policy only

S2

Invalid premium amount

The premium amount does not match with insurance policy and product

S3

Order has been completed or cancelled and cannot be updated

An order can only be set as “completed” or "cancelled" once

S4

Invalid Tracking number or SAL Policy ID

System cannot detect a match between an Tracking number and SAL Policy ID

S5

Invalid Signature

The signature param does not follow required hash format

S99

Unhandled errors

Other error messages

Last updated