1{ 2 "$schema": "http://json-schema.org/draft-07/schema#", 3 "type": "object", 4 "additionalProperties": false, 5 "required": [ "payment_preimage", "payment_hash", "created_at", "parts", "amount_msat", "amount_sent_msat", "status" ], 6 "properties": { 7 "payment_preimage": { 8 "type": "hex", 9 "description": "the proof of payment: SHA256 of this **payment_hash**", 10 "maxLength": 64, 11 "minLength": 64 12 }, 13 "destination": { 14 "type": "pubkey", 15 "description": "the final destination of the payment" 16 }, 17 "payment_hash": { 18 "type": "hex", 19 "description": "the hash of the *payment_preimage* which will prove payment", 20 "maxLength": 64, 21 "minLength": 64 22 }, 23 "created_at": { 24 "type": "number", 25 "description": "the UNIX timestamp showing when this payment was initiated" 26 }, 27 "parts": { 28 "type": "u32", 29 "description": "how many attempts this took" 30 }, 31 "msatoshi": { 32 "deprecated": true 33 }, 34 "amount_msat": { 35 "type": "msat", 36 "description": "Amount the recipient received" 37 }, 38 "msatoshi_sent": { 39 "deprecated": true 40 }, 41 "amount_sent_msat": { 42 "type": "msat", 43 "description": "Total amount we sent (including fees)" 44 }, 45 "warning_partial_completion": { 46 "type": "string", 47 "description": "Not all parts of a multi-part payment have completed" 48 }, 49 "status": { 50 "type": "string", 51 "enum": [ "complete" ], 52 "description": "status of payment" 53 } 54 } 55} 56