From 66473c008dd552dfa94b6bfa7b4d49329d8c1905 Mon Sep 17 00:00:00 2001 From: Max Murphy Date: Tue, 10 Sep 2024 08:57:02 +0200 Subject: [PATCH] ++ --- src/api/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/api/src/lib.rs b/src/api/src/lib.rs index 1b807ec..faa80bb 100644 --- a/src/api/src/lib.rs +++ b/src/api/src/lib.rs @@ -22,6 +22,11 @@ pub enum PaymentError { #[derive(Debug, CandidType, Deserialize, Clone, Eq, PartialEq)] #[non_exhaustive] pub enum PaymentType { + /// The caller is paying with cycles attached to the call. + /// + /// Note: This is not available for ingress messages. + /// + /// Note: The API does not require additional arguments to support this payment type. AttachedCycles, Icrc2Cycles(Icrc2Payer), }