Type Definition libindy_sys::indyBuildGetPaymentSourcesRequestCB[][src]

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

Builds Indy request for getting sources list for payment address according to this payment method.

#Params command_handle: command handle to map callback to context wallet_handle: wallet handle submitter_did: (Optional) DID of request sender payment_address: target payment address

#Returns get_sources_txn_json - Indy request for getting sources list for payment address