2022-12-05 20:11:36 -08:00
{
"$schema" : "http://json-schema.org/draft-07/schema#" ,
"type" : "object" ,
"additionalProperties" : false ,
2023-05-25 17:40:46 +02:00
"added" : "v23.02" ,
2022-12-05 20:11:36 -08:00
"required" : [
"destination" ,
"payment_hash" ,
"amount_msat"
] ,
"properties" : {
"destination" : {
"type" : "pubkey" ,
2024-02-02 15:17:43 +10:30
"description" : "it is a 33 byte, hex-encoded, node ID of the node that the payment should go to" ,
2022-12-05 20:11:36 -08:00
"added" : "v23.02"
} ,
"payment_hash" : {
"type" : "hex" ,
"added" : "v23.02" ,
2024-02-02 15:17:43 +10:30
"description" : "it is the unique identifier of a payment" ,
2022-12-05 20:11:36 -08:00
"maxLength" : 64 ,
"minLength" : 64
} ,
"amount_msat" : {
"type" : "msat" ,
2024-02-02 15:17:43 +10:30
"description" : "the amount to send in millisatoshi precision; it can be a whole number, or a whole number with suffix `msat` or `sat`, or a three decimal point number with suffix `sat`, or an 1 to 11 decimal point number suffixed by `btc`" ,
2022-12-05 20:11:36 -08:00
"added" : "v23.02"
}
}
}