Type Definition libindy_sys::indyParsePaymentResponseCB[][src]

type indyParsePaymentResponseCB = Option<unsafe extern "C" fn(command_handle: indy_handle_t, resp_json: *const c_char, cb: indy_err_str_cb) -> indy_error_t>;

Parses response for Indy request for payment txn.

#Params command_handle: command handle to map callback to context resp_json: response for Indy request for payment txn

#Returns receipts_json - parsed (payment method and node version agnostic) receipts info as json: [{ receipt: , // receipt that can be used for payment referencing and verification recipient: , //payment address for this receipt amount: , // amount extra: , // optional data from payment transaction }]