-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the compliance and kyc status fields into payeedata.
This better matches the use of payeedata and how payerdata already works.
- Loading branch information
Showing
3 changed files
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,20 +10,6 @@ The full structure of the LNURLP response is: | |
"pr": string, | ||
// Empty for legcy LNURL reasons. | ||
"routes": [], | ||
"compliance": { | ||
// Public key of the recipient node for pre-screening. | ||
"nodePubKey": string, | ||
// A list of the expected UTXOs over which the receiver may receive the transaction (receiver's channels). | ||
"utxos": string[], | ||
// A url which the sending VASP should call on transaction completion to notify the receiving VASP of | ||
// the utxos used to complete the transaction. See [UMAD-07](/umad-07-post-tx-hooks.md). | ||
"utxoCallback": string, | ||
// The receiving VASP's signature over sha256_hash(<sender UMA> (eg. [email protected]) + <receiver UMA> (eg. [email protected]) + | ||
// signatureNonce + signatureTimestamp) | ||
"signature": string, | ||
"signatureNonce": string, | ||
"signatureTimestamp": number, // in seconds since epoch | ||
}, | ||
"converted": { | ||
// The amount that the receiver will receive in the receiving currency not including fees. The amount is specified | ||
// in the smallest unit of the currency (eg. cents for USD). | ||
|
@@ -45,6 +31,22 @@ The full structure of the LNURLP response is: | |
"fee": number | ||
}, | ||
"payeeData": { | ||
"compliance": { | ||
// [enum] KYC state indicating whether the receiver is a KYC'd customer of VASP2. | ||
"kycStatus": KycStatus, | ||
// Public key of the recipient node for pre-screening. | ||
"nodePubKey": string, | ||
// A list of the expected UTXOs over which the receiver may receive the transaction (receiver's channels). | ||
"utxos": string[], | ||
// A url which the sending VASP should call on transaction completion to notify the receiving VASP of | ||
// the utxos used to complete the transaction. See [UMAD-07](/umad-07-post-tx-hooks.md). | ||
"utxoCallback": string, | ||
// The receiving VASP's signature over sha256_hash(<sender UMA> (eg. [email protected]) + <receiver UMA> (eg. [email protected]) + | ||
// signatureNonce + signatureTimestamp) | ||
"signature": string, | ||
"signatureNonce": string, | ||
"signatureTimestamp": number, // in seconds since epoch | ||
}, | ||
"name": string, | ||
"identifier": string, | ||
"countryCode": string, | ||
|