Transaction Safety

Beneath our simple APIs are connections to many payment networks and banks in the region. These payment networks and banks have varying degrees of reliability and feature sets, and these intricacies are handled automatically by StraitsX behind the scenes.

Here are two rules you should follow to handle your transactions:

Checking the success of a transaction

The status is key here. Always check the status of the transaction in the API response / callback to make sure that it is completed before considering it a successful transaction for your customer.

Handling failures

On rare occasions, there might be network failures such as timeouts, or HTTP 5xx responses.
Always double check whether the previous transaction has really failed by doing a GET to retrieve the transaction status again.