Skip to main content

send_allowance_proposal

Function send_allowance_proposal 

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

Send a paykit.allowance_proposal Event Message.

The caller is responsible for using the exact authenticated Encrypted Link that binds the Allower and Allowee and for retaining the Event Message for retry and lifecycle derivation.