diff --git a/libs/sdk-core/src/models.rs b/libs/sdk-core/src/models.rs index b59df653e..0c2a0e1fa 100644 --- a/libs/sdk-core/src/models.rs +++ b/libs/sdk-core/src/models.rs @@ -666,12 +666,21 @@ pub struct ReverseSwapFeesRequest { /// Represents a receive payment request. #[derive(Clone, Debug, Serialize, Deserialize)] pub struct ReceivePaymentRequest { + /// The amount in satoshis for this payment request pub amount_sats: u64, + /// The description for this payment request. pub description: String, + /// Optional preimage for this payment request. + /// If specified, it will be used instead of generating a new one. pub preimage: Option>, + /// If set and valid, these fess options are used when a new channels is needed. + /// Otherwise the default fee options will be used. pub opening_fee_params: Option, + /// If set to true, then the bolt11 invoice returned includes the description hash. pub use_description_hash: Option, + /// if specified, set the time the invoice is valid for, in seconds. pub expiry: Option, + /// if specified, sets the min_final_cltv_expiry for the invoice pub cltv: Option, }