Return formats and fields

All callbacks from the SDK will contain a javascript object containing the following properties.

Key Value
success Boolean value indicating whether the request has been completed successfully or not.
result Return value in JSON format. Available when the request is successful.
[error] Error message as described by the API. Available when the request is unsuccessful.
[status] HTTP status code for the error. Available when the request is unsuccessful.