Skip to main content

send_payment_request_rejection

Function send_payment_request_rejection 

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

Send a paykit.payment_request_rejection Event Message.

Rejections are payer-initiated; caller code must enforce the sender role.