Skip to main content

send_allowance_acceptance

Function send_allowance_acceptance 

Source
pub async fn send_allowance_acceptance(
    link: &mut EncryptedLink,
    app_id: &PaykitAppId,
    event: &AllowanceAcceptance,
) -> Result<()>
Expand description

Send a paykit.allowance_acceptance Event Message.

Call AllowanceAcceptance::validate_for_proposal first with the authenticated sender role when the proposal is available.