Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ import kotlinx.serialization.Serializable

/**
*
* @param nodeId The node from which to create the invoice.
* @param amountMsats The amount for which the invoice should be created, in millisatoshis.
* @param metadataHash The SHA256 hash of the UMA metadata payload. This will be present in the h-tag (SHA256 purpose of payment) of the resulting Bolt 11 invoice.
* @param expirySecs The expiry of the invoice in seconds. Default value is 86400 (1 day).
* @param receiverHash An optional, monthly-rotated, unique hashed identifier corresponding to the receiver of the payment.
*/
@Serializable
@SerialName("CreateUmaInvoiceInput")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ enum class CurrencyUnit(
/** United States Dollar. **/
USD("USD"),

/** Mexican Peso. **/
MXN("MXN"),

/** 0.000000001 (10e-9) Bitcoin or a billionth of a Bitcoin. We recommend using the Satoshi unit instead when possible. **/
NANOBITCOIN("NANOBITCOIN"),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ enum class CurrencyUnit(
/** United States Dollar. **/
USD("USD"),

/** Mexican Peso. **/
MXN("MXN"),

/** 0.000000001 (10e-9) Bitcoin or a billionth of a Bitcoin. We recommend using the Satoshi unit instead when possible. **/
NANOBITCOIN("NANOBITCOIN"),

Expand Down
Loading