Type Definition libindy_sys::indyParseGetPaymentSourcesResponseCB[][src]

type indyParseGetPaymentSourcesResponseCB = 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 getting sources list.

#Params command_handle: command handle to map callback to context resp_json: response for Indy request for getting sources list

#Returns sources_json - parsed (payment method and node version agnostic) sources info as json: [{ source: , // source input paymentAddress: , //payment address for this source amount: , // amount extra: , // optional data from payment transaction }]