Callback structure

This document describes the inai SDK's callback object.

SDK Callback Object

This document describes inai SDK's callback object. After reading this document, you will be ready to handle successes and failures returned by the inai SDK.

On Success

  "message": "Payment Success",
  "transaction_id": "txn_Rtzne9vEK9C"

On Failure

  "transaction_id": "txn_Vh7xQcvgpG1"

On failure, the code property describes the error. The list of errors returned by inai is documented on the Errors page.