mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
3cf1aa00fa
* Payments should use composite key * Invert PK for InvoiceAddress
732 lines
24 KiB
JSON
732 lines
24 KiB
JSON
[
|
|
{
|
|
"type": "invoice",
|
|
"input": {
|
|
"id": "HuzCsv9hghew2FD6zVqUyY",
|
|
"storeId": "3sgUCCtUBg6S8LJkrbdfAWbsJMqByFLfvSqjG6xKBWEd",
|
|
"orderId": "CustomOrderId",
|
|
"speedPolicy": 0,
|
|
"rate": 5672.82929871779,
|
|
"invoiceTime": 1538395793,
|
|
"expirationTime": 1538396693,
|
|
"depositAddress": "39mWwvUDoZ5CxXa6CmgaUda19qYj9LpQD1",
|
|
"productInformation": {
|
|
"itemDesc": "Masternode Staking",
|
|
"itemCode": null,
|
|
"physical": false,
|
|
"price": 100.0,
|
|
"currency": "EUR",
|
|
"taxIncluded": 0.0
|
|
},
|
|
"buyerInformation": {
|
|
"buyerName": null,
|
|
"buyerEmail": "customer@example.com",
|
|
"buyerCountry": null,
|
|
"buyerZip": null,
|
|
"buyerState": null,
|
|
"buyerCity": null,
|
|
"buyerAddress2": null,
|
|
"buyerAddress1": null,
|
|
"buyerPhone": null
|
|
},
|
|
"posData": null,
|
|
"derivationStrategy": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR-[p2sh]",
|
|
"derivationStrategies": "{\"BTC\":\"xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR-[p2sh]\"}",
|
|
"status": "new",
|
|
"exceptionStatus": null,
|
|
"payments": [],
|
|
"refundable": false,
|
|
"refundMail": "customer@example.com",
|
|
"redirectURL": "https://example.com/thanksyou",
|
|
"txFee": 100,
|
|
"fullNotifications": true,
|
|
"notificationURL": "https://example.com/callbacks",
|
|
"serverUrl": "https://mainnet.demo.btcpayserver.org",
|
|
"cryptoData": {
|
|
"BTC": {
|
|
"rate": 5672.82929871779,
|
|
"paymentMethod": {},
|
|
"feeRate": 1,
|
|
"txFee": 100,
|
|
"depositAddress": "39mWwvUDoZ5CxXa6CmgaUda19qYj9LpQD1"
|
|
}
|
|
},
|
|
"monitoringExpiration": 1538400293,
|
|
"historicalAddresses": null,
|
|
"availableAddressHashes": null,
|
|
"extendedNotifications": false,
|
|
"events": null,
|
|
"paymentTolerance": 1.0
|
|
},
|
|
"expected": {
|
|
"version": 3,
|
|
"metadata": {
|
|
"orderId": "CustomOrderId",
|
|
"itemDesc": "Masternode Staking",
|
|
"physical": false,
|
|
"buyerEmail": "customer@example.com",
|
|
"taxIncluded": 0.0
|
|
},
|
|
"rates": { "BTC": "5672.82929871779" },
|
|
"serverUrl": "https://mainnet.demo.btcpayserver.org",
|
|
"prompts": {
|
|
"BTC-CHAIN": {
|
|
"currency": "BTC",
|
|
"paymentMethodFee": "0.000001",
|
|
"details": {
|
|
"paymentMethodFeeRate": 1,
|
|
"recommendedFeeRate": 1,
|
|
"accountDerivation": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR-[p2sh]"
|
|
},
|
|
"divisibility": 8,
|
|
"destination": "39mWwvUDoZ5CxXa6CmgaUda19qYj9LpQD1"
|
|
}
|
|
},
|
|
"redirectURL": "https://example.com/thanksyou",
|
|
"receiptOptions": {},
|
|
"internalTags": [],
|
|
"expirationTime": 1538396693,
|
|
"notificationURL": "https://example.com/callbacks",
|
|
"paymentTolerance": 1.0,
|
|
"fullNotifications": true,
|
|
"monitoringExpiration": 1538400293
|
|
}
|
|
},
|
|
{
|
|
"type": "invoice",
|
|
"input": {
|
|
"id": "ANjq7kkV4mqDRPr5F8EmLZ",
|
|
"rate": "66823.066",
|
|
"price": "30",
|
|
"txFee": 0,
|
|
"events": null,
|
|
"status": "new",
|
|
"refunds": null,
|
|
"storeId": "8Ja5pfPydLZTt3YLWhZuZ5vfXT2bNfvk1krUhF8ykCyt",
|
|
"version": 2,
|
|
"customerEmail": "toto@toto.com",
|
|
"archived": false,
|
|
"currency": "USD",
|
|
"metadata": {
|
|
"orderId": "CC",
|
|
"itemDesc": "CC"
|
|
},
|
|
"payments": [],
|
|
"serverUrl": "https://mainnet.demo.btcpayserver.org",
|
|
"cryptoData": {
|
|
"BTC": {
|
|
"rate": 66823.066,
|
|
"txFee": 0,
|
|
"feeRate": 15.13,
|
|
"paymentMethod": {
|
|
"keyPath": "0/25903",
|
|
"activated": true,
|
|
"networkFeeRate": 12.319,
|
|
"payjoinEnabled": false
|
|
},
|
|
"depositAddress": "bc1quf9l42tnma7zws9vusrvun4wchau0ue4zj838g"
|
|
}
|
|
},
|
|
"paidAmount": {
|
|
"net": 0.0,
|
|
"gross": 0.0,
|
|
"currency": "USD"
|
|
},
|
|
"refundMail": null,
|
|
"invoiceTime": 1709806449,
|
|
"isUnderPaid": true,
|
|
"redirectURL": "https://test/",
|
|
"speedPolicy": 1,
|
|
"checkoutType": null,
|
|
"internalTags": [],
|
|
"depositAddress": "bc1quf9l42tnma7zws9vusrvun4wchau0ue4zj838g",
|
|
"expirationTime": 1709808249,
|
|
"receiptOptions": {
|
|
"showQR": null,
|
|
"enabled": null,
|
|
"showPayments": null
|
|
},
|
|
"defaultLanguage": null,
|
|
"exceptionStatus": "",
|
|
"notificationURL": null,
|
|
"storeSupportUrl": null,
|
|
"paymentTolerance": 0.0,
|
|
"fullNotifications": true,
|
|
"notificationEmail": null,
|
|
"lazyPaymentMethods": false,
|
|
"requiresRefundEmail": null,
|
|
"defaultPaymentMethod": "BTC",
|
|
"derivationStrategies": {
|
|
"BTC": {
|
|
"label": null,
|
|
"source": "ManualDerivationScheme",
|
|
"signingKey": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR-[p2sh]",
|
|
"isHotWallet": false,
|
|
"accountOriginal": null,
|
|
"accountDerivation": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR-[p2sh]",
|
|
"accountKeySettings": [
|
|
{
|
|
"accountKey": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR-[p2sh]",
|
|
"accountKeyPath": "84/0'/0'",
|
|
"rootFingerprint": "312e13db"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"monitoringExpiration": 1709894649,
|
|
"extendedNotifications": false,
|
|
"redirectAutomatically": false,
|
|
"availableAddressHashes": null
|
|
},
|
|
"expected": {
|
|
"version": 3,
|
|
"metadata": {
|
|
"orderId": "CC",
|
|
"itemDesc": "CC",
|
|
"buyerEmail": "toto@toto.com"
|
|
},
|
|
"serverUrl": "https://mainnet.demo.btcpayserver.org",
|
|
"rates": { "BTC": "66823.066" },
|
|
"prompts": {
|
|
"BTC-CHAIN": {
|
|
"currency": "BTC",
|
|
"destination": "bc1quf9l42tnma7zws9vusrvun4wchau0ue4zj838g",
|
|
"details": {
|
|
"recommendedFeeRate": 15.13,
|
|
"paymentMethodFeeRate": 12.319,
|
|
"keyPath": "0/25903",
|
|
"accountDerivation": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR-[p2sh]"
|
|
},
|
|
"divisibility": 8
|
|
}
|
|
},
|
|
"receiptOptions": {},
|
|
"redirectURL": "https://test/",
|
|
"speedPolicy": 1,
|
|
"internalTags": [],
|
|
"expirationTime": 1709808249,
|
|
"fullNotifications": true,
|
|
"defaultPaymentMethod": "BTC-CHAIN",
|
|
"monitoringExpiration": 1709894649
|
|
}
|
|
},
|
|
{
|
|
"type": "invoice",
|
|
"input": {
|
|
"currency": "USD",
|
|
"price": 0.0,
|
|
"cryptoData": {
|
|
"BTC": {
|
|
"feeRate": 10.0,
|
|
"paymentMethod": {
|
|
},
|
|
"depositAddress": "bc1q9l42tnma7zws9vusrvun4wchau0ue4zj838g"
|
|
}
|
|
}
|
|
},
|
|
"expected": {
|
|
"internalTags": [],
|
|
"metadata": {},
|
|
"version": 3,
|
|
"prompts": {
|
|
"BTC-CHAIN": {
|
|
"currency": "BTC",
|
|
"details": {
|
|
"paymentMethodFeeRate": 10.0,
|
|
"recommendedFeeRate": 10.0
|
|
},
|
|
"divisibility": 8,
|
|
"destination": "bc1q9l42tnma7zws9vusrvun4wchau0ue4zj838g"
|
|
}
|
|
},
|
|
"receiptOptions": {}
|
|
},
|
|
"skipRountripTest" : true
|
|
},
|
|
{
|
|
"type": "invoice",
|
|
"input": {
|
|
"currency": "USD",
|
|
"price": 0.0,
|
|
"cryptoData": {
|
|
"BTC": {
|
|
"feeRate": 4.0,
|
|
"paymentMethod": {
|
|
"networkFeeMode": 2
|
|
},
|
|
"depositAddress": "bc1q9l42tnma7zws9vusrvun4wchau0ue4zj838g"
|
|
}
|
|
}
|
|
},
|
|
"expected": {
|
|
"internalTags": [],
|
|
"metadata": {},
|
|
"version": 3,
|
|
"prompts": {
|
|
"BTC-CHAIN": {
|
|
"currency": "BTC",
|
|
"details": {
|
|
"feeMode": "Never",
|
|
"recommendedFeeRate": 4.0
|
|
},
|
|
"divisibility": 8,
|
|
"destination": "bc1q9l42tnma7zws9vusrvun4wchau0ue4zj838g"
|
|
}
|
|
},
|
|
"receiptOptions": {}
|
|
},
|
|
"skipRountripTest": true
|
|
},
|
|
{
|
|
"type": "invoice",
|
|
"input": {
|
|
"id": "AmoigMwzbaBNNCfo21yns1",
|
|
"rate": "67056.018",
|
|
"price": "13",
|
|
"txFee": null,
|
|
"events": null,
|
|
"status": "new",
|
|
"refunds": null,
|
|
"storeId": "2b4H99crZ4JuPiRQwUuYpLQsjtHWASLVWHHkQQ2moiED",
|
|
"version": 2,
|
|
"archived": false,
|
|
"currency": "USD",
|
|
"metadata": {},
|
|
"payments": [],
|
|
"serverUrl": "https://mainnet.demo.btcpayserver.org",
|
|
"cryptoData": {
|
|
"BTC": {
|
|
"rate": 67056.018,
|
|
"txFee": null,
|
|
"feeRate": null,
|
|
"paymentMethod": {
|
|
"keyPath": null,
|
|
"activated": false,
|
|
"networkFeeMode": 0,
|
|
"networkFeeRate": null,
|
|
"payjoinEnabled": false
|
|
},
|
|
"depositAddress": null
|
|
},
|
|
"BTC_LNURLPAY": {
|
|
"rate": 67056.018,
|
|
"txFee": null,
|
|
"feeRate": null,
|
|
"paymentMethod": {
|
|
"BOLT11": null,
|
|
"NodeInfo": "03d2a44997a0fb6deee0a31c389d9d6bcb6f929f1dd0ba67201d195f2b3c76087c@170.75.160.16:9735",
|
|
"Preimage": {},
|
|
"Activated": true,
|
|
"InvoiceId": null,
|
|
"Bech32Mode": true,
|
|
"PayRequest": null,
|
|
"PaymentHash": {},
|
|
"ProvidedComment": null,
|
|
"GeneratedBoltAmount": null,
|
|
"ConsumedLightningAddress": null,
|
|
"LightningSupportedPaymentMethod": {
|
|
"CryptoCode": "BTC",
|
|
"InternalNodeRef": "Internal Node"
|
|
}
|
|
},
|
|
"depositAddress": null
|
|
},
|
|
"BTC_LightningLike": {
|
|
"rate": 67056.018,
|
|
"txFee": null,
|
|
"feeRate": null,
|
|
"paymentMethod": {
|
|
"BOLT11": null,
|
|
"NodeInfo": null,
|
|
"Preimage": null,
|
|
"Activated": false,
|
|
"InvoiceId": null,
|
|
"PaymentHash": null
|
|
},
|
|
"depositAddress": null
|
|
}
|
|
},
|
|
"paidAmount": {
|
|
"net": 0.0,
|
|
"gross": 0.0,
|
|
"currency": "USD"
|
|
},
|
|
"refundMail": null,
|
|
"invoiceTime": 1709864059,
|
|
"isUnderPaid": true,
|
|
"redirectURL": null,
|
|
"speedPolicy": 1,
|
|
"checkoutType": null,
|
|
"internalTags": [],
|
|
"depositAddress": null,
|
|
"expirationTime": 1709864959,
|
|
"receiptOptions": {
|
|
"showQR": null,
|
|
"enabled": null,
|
|
"showPayments": null
|
|
},
|
|
"defaultLanguage": null,
|
|
"exceptionStatus": "",
|
|
"notificationURL": null,
|
|
"storeSupportUrl": null,
|
|
"paymentTolerance": 0.0,
|
|
"fullNotifications": true,
|
|
"notificationEmail": null,
|
|
"lazyPaymentMethods": true,
|
|
"requiresRefundEmail": false,
|
|
"defaultPaymentMethod": "BTC",
|
|
"derivationStrategies": {
|
|
"BTC": {
|
|
"label": null,
|
|
"source": "NBXplorerGenerated",
|
|
"signingKey": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR",
|
|
"isHotWallet": true,
|
|
"accountOriginal": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR",
|
|
"accountDerivation": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR",
|
|
"accountKeySettings": [
|
|
{
|
|
"accountKey": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR",
|
|
"accountKeyPath": "84'/0'/0'",
|
|
"rootFingerprint": "312e13db"
|
|
}
|
|
]
|
|
},
|
|
"BTC_LNURLPAY": {
|
|
"CryptoCode": "BTC",
|
|
"LUD12Enabled": false,
|
|
"UseBech32Scheme": true
|
|
},
|
|
"BTC_LightningLike": {
|
|
"CryptoCode": "BTC",
|
|
"InternalNodeRef": "Internal Node"
|
|
}
|
|
},
|
|
"monitoringExpiration": 1709951359,
|
|
"extendedNotifications": false,
|
|
"redirectAutomatically": false,
|
|
"availableAddressHashes": null
|
|
},
|
|
"expected": {
|
|
"version": 3,
|
|
"metadata": {},
|
|
"serverUrl": "https://mainnet.demo.btcpayserver.org",
|
|
"rates": { "BTC": "67056.018" },
|
|
"prompts": {
|
|
"BTC-CHAIN": {
|
|
"inactive": true,
|
|
"currency": "BTC",
|
|
"details": {
|
|
"accountDerivation": "xpub6DAbghfuRCW6Qqr3KfSDjik4kEUivAkfhcGHMkVEe4bZq53VQz79k44EoQ5MDpLJKKAPK5vVV6Px7U1R39eQibnbhDsW9uEQ1Kdh9CDbmgR"
|
|
},
|
|
"divisibility": 8
|
|
},
|
|
"BTC-LNURL": {
|
|
"currency": "BTC",
|
|
"divisibility": 11,
|
|
"details": {
|
|
"nodeInfo": "03d2a44997a0fb6deee0a31c389d9d6bcb6f929f1dd0ba67201d195f2b3c76087c@170.75.160.16:9735",
|
|
"bech32Mode": true
|
|
}
|
|
},
|
|
"BTC-LN": {
|
|
"currency": "BTC",
|
|
"divisibility": 11,
|
|
"inactive": true,
|
|
"details": {}
|
|
}
|
|
},
|
|
"speedPolicy": 1,
|
|
"expirationTime": 1709864959,
|
|
"receiptOptions": {},
|
|
"fullNotifications": true,
|
|
"lazyPaymentMethods": true,
|
|
"defaultPaymentMethod": "BTC-CHAIN",
|
|
"internalTags": [],
|
|
"monitoringExpiration": 1709951359
|
|
}
|
|
},
|
|
{
|
|
"type": "invoice",
|
|
"input": {
|
|
"id": "ULzMvaSEpvV4XxGb6F78LZ",
|
|
"rate": "0",
|
|
"type": "TopUp",
|
|
"price": "0.0",
|
|
"txFee": null,
|
|
"events": null,
|
|
"status": "new",
|
|
"refunds": null,
|
|
"storeId": "EBeAyDVUwBSNa6bdZNrytay9ARNL5UB9xnvNPh5xdnhy",
|
|
"version": 2,
|
|
"archived": false,
|
|
"currency": "USD",
|
|
"metadata": {
|
|
},
|
|
"payments": [
|
|
],
|
|
"serverUrl": "https://donate.nicolas-dorier.com",
|
|
"cryptoData": {
|
|
"BTC_LNURLPAY": {
|
|
"rate": 29501.4,
|
|
"txFee": null,
|
|
"feeRate": null,
|
|
"paymentMethod": {
|
|
"BOLT11": "lnbc10n1pjn9nmzpp5a7znt4tv9gy5v6342xrgnntltkljffp255dph40vaf6964j27pvqhp59ly2g7flsy97vqahh9yue8qz7u6tvlpjfh9r0m9nzfezhm6fgmqscqzzsxqzursp55l9zht4zya3jyjdr9khr22z6afvjqdcw06l7vyd6tksdtsc8ezqs9qyyssqwswp9dnz9txv8t8zjrrts9rv4agu40ufqc04434f6lszdwvlhjk45m3pdcpqzghswkrcvgeaztcr6h82xp35suu64hnk4ms929pcahgpfg7sza",
|
|
"NodeInfo": "03d2a44997a0fb6deee0a31c389d9d6bcb6f929f1dd0ba67201d195f2b3c76087c@170.75.160.16:9735",
|
|
"Preimage": null,
|
|
"Activated": true,
|
|
"InvoiceId": "ef8535d56c2a09466a35518689cd7f5dbf24a42aa51a1bd5ecea745d564af058",
|
|
"Bech32Mode": true,
|
|
"PayRequest": {
|
|
"tag": "payRequest",
|
|
"callback": "https://donate.nicolas-dorier.com/BTC/UILNURL/pay/i/ULzMvaSEpvV4XxGb6F78LZ",
|
|
"metadata": "[[\"text/identifier\",\"donate@donate.nicolas-dorier.com\"],[\"text/plain\",\"Paid to Nicolas Donation Store (Order ID: )\"]]",
|
|
"maxSendable": 612000000000,
|
|
"minSendable": 1000,
|
|
"commentAllowed": 0
|
|
},
|
|
"PaymentHash": "ef8535d56c2a09466a35518689cd7f5dbf24a42aa51a1bd5ecea745d564af058",
|
|
"ProvidedComment": null,
|
|
"GeneratedBoltAmount": "1000",
|
|
"ConsumedLightningAddress": "donate@donate.nicolas-dorier.com",
|
|
"LightningSupportedPaymentMethod": {
|
|
"CryptoCode": "BTC",
|
|
"InternalNodeRef": "Internal Node"
|
|
}
|
|
},
|
|
"depositAddress": null
|
|
}
|
|
},
|
|
"paidAmount": {
|
|
"net": 0.0,
|
|
"gross": 0.0,
|
|
"currency": "USD"
|
|
},
|
|
"refundMail": null,
|
|
"invoiceTime": 1697828706,
|
|
"isUnderPaid": false,
|
|
"redirectURL": null,
|
|
"speedPolicy": 1,
|
|
"checkoutType": null,
|
|
"internalTags": [
|
|
],
|
|
"depositAddress": null,
|
|
"expirationTime": 1697829606,
|
|
"receiptOptions": {
|
|
"showQR": null,
|
|
"enabled": null,
|
|
"showPayments": null
|
|
},
|
|
"defaultLanguage": null,
|
|
"exceptionStatus": "",
|
|
"notificationURL": null,
|
|
"storeSupportUrl": null,
|
|
"paymentTolerance": 0.0,
|
|
"fullNotifications": false,
|
|
"notificationEmail": null,
|
|
"lazyPaymentMethods": false,
|
|
"requiresRefundEmail": null,
|
|
"defaultPaymentMethod": "BTC",
|
|
"derivationStrategies": {
|
|
"BTC_LNURLPAY": {
|
|
"CryptoCode": "BTC",
|
|
"LUD12Enabled": false,
|
|
"UseBech32Scheme": true
|
|
}
|
|
},
|
|
"monitoringExpiration": 1697833206,
|
|
"extendedNotifications": false,
|
|
"redirectAutomatically": false,
|
|
"availableAddressHashes": null
|
|
},
|
|
"expected": {
|
|
"type": "TopUp",
|
|
"version": 3,
|
|
"rates": {
|
|
"BTC": "29501.4"
|
|
},
|
|
"metadata": {
|
|
},
|
|
"serverUrl": "https://donate.nicolas-dorier.com",
|
|
"prompts": {
|
|
"BTC-LNURL": {
|
|
"currency": "BTC",
|
|
"divisibility": 11,
|
|
"destination": "lnbc10n1pjn9nmzpp5a7znt4tv9gy5v6342xrgnntltkljffp255dph40vaf6964j27pvqhp59ly2g7flsy97vqahh9yue8qz7u6tvlpjfh9r0m9nzfezhm6fgmqscqzzsxqzursp55l9zht4zya3jyjdr9khr22z6afvjqdcw06l7vyd6tksdtsc8ezqs9qyyssqwswp9dnz9txv8t8zjrrts9rv4agu40ufqc04434f6lszdwvlhjk45m3pdcpqzghswkrcvgeaztcr6h82xp35suu64hnk4ms929pcahgpfg7sza",
|
|
"details": {
|
|
"nodeInfo": "03d2a44997a0fb6deee0a31c389d9d6bcb6f929f1dd0ba67201d195f2b3c76087c@170.75.160.16:9735",
|
|
"invoiceId": "ef8535d56c2a09466a35518689cd7f5dbf24a42aa51a1bd5ecea745d564af058",
|
|
"bech32Mode": true,
|
|
"payRequest": {
|
|
"tag": "payRequest",
|
|
"callback": "https://donate.nicolas-dorier.com/BTC/UILNURL/pay/i/ULzMvaSEpvV4XxGb6F78LZ",
|
|
"metadata": "[[\"text/identifier\",\"donate@donate.nicolas-dorier.com\"],[\"text/plain\",\"Paid to Nicolas Donation Store (Order ID: )\"]]",
|
|
"maxSendable": 612000000000,
|
|
"minSendable": 1000,
|
|
"commentAllowed": 0
|
|
},
|
|
"paymentHash": "ef8535d56c2a09466a35518689cd7f5dbf24a42aa51a1bd5ecea745d564af058",
|
|
"generatedBoltAmount": "1000",
|
|
"consumedLightningAddress": "donate@donate.nicolas-dorier.com"
|
|
}
|
|
}
|
|
},
|
|
"speedPolicy": 1,
|
|
"internalTags": [],
|
|
"expirationTime": 1697829606,
|
|
"receiptOptions": {},
|
|
"defaultPaymentMethod": "BTC-CHAIN",
|
|
"monitoringExpiration": 1697833206
|
|
}
|
|
},
|
|
{
|
|
"type": "payment",
|
|
"input": {
|
|
"version": 1,
|
|
"receivedTime": 1556044076,
|
|
"networkFee": 0.000002,
|
|
"outpoint": "552b74ff2fc2c8564de40c8cbefd8eb78f1bef5d3010009c643ff889e159663a3d000000",
|
|
"output": "7a636f000000000017a914fd2a2d1d15eb6a490512953c12d6db0de662741d87",
|
|
"accounted": true,
|
|
"cryptoCode": "BTC",
|
|
"cryptoPaymentData": "{\"ConfirmationCount\":1414,\"RBF\":false,\"NetworkFee\":0.0,\"Legacy\":false}",
|
|
"cryptoPaymentDataType": "BTCLike"
|
|
},
|
|
"expected": {
|
|
"version": 2,
|
|
"destination": "3QmdQXq3tSMqiuwNy2ZcbFEHxZ5De4SBYJ",
|
|
"paymentMethodFee": "0.000002",
|
|
"divisibility": 8,
|
|
"details": {
|
|
"confirmationCount": 1414,
|
|
"outpoint": "3a6659e189f83f649c0010305def1b8fb78efdbe8c0ce44d56c8c22fff742b55-61"
|
|
}
|
|
},
|
|
"expectedProperties": {
|
|
"Created": "04/23/2019 18:27:56 +00:00",
|
|
"PaymentMethodId": "BTC-CHAIN",
|
|
"Currency": "BTC",
|
|
"Status": "Settled",
|
|
"Amount": "0.07299962",
|
|
"Accounted": null
|
|
}
|
|
},
|
|
{
|
|
"type": "payment",
|
|
"input": {
|
|
"receivedTime": 1538403202,
|
|
"outpoint": "3211391d9dd2d01c8d9f164d0231f72a166c9b27b15fb2603f58a193ca47bea800000000",
|
|
"output": "c74500000000000017a9145d741911858531a4e0a8b6a58bf5036d7f68857587",
|
|
"accounted": true,
|
|
"cryptoCode": "BTC",
|
|
"cryptoPaymentData": "{\"ConfirmationCount\":19,\"RBF\":true,\"Legacy\":false}",
|
|
"cryptoPaymentDataType": "BTCLike"
|
|
},
|
|
"expected": {
|
|
"destination": "3AD9r1UyXXNFA2o3cucBwqX58xNaXvrdsv",
|
|
"divisibility": 8,
|
|
"details": {
|
|
"confirmationCount": 19,
|
|
"rbf": true,
|
|
"outpoint": "a8be47ca93a1583f60b25fb1279b6c162af731024d169f8d1cd0d29d1d391132-0"
|
|
},
|
|
"version": 2
|
|
},
|
|
"expectedProperties": {
|
|
"Created": "10/01/2018 14:13:22 +00:00",
|
|
"PaymentMethodId": "BTC-CHAIN",
|
|
"Currency": "BTC",
|
|
"Status": "Settled",
|
|
"Amount": "0.00017863",
|
|
"Accounted": null
|
|
}
|
|
},
|
|
{
|
|
"type": "payment",
|
|
"input": {
|
|
"output": null,
|
|
"version": 1,
|
|
"outpoint": null,
|
|
"accounted": true,
|
|
"cryptoCode": "BTC",
|
|
"networkFee": 0.0,
|
|
"receivedTimeMs": 1711005875969,
|
|
"cryptoPaymentData": "{\"amount\":1000,\"bolT11\":\"lnbc10n1pjlhc90pp5smwdey0c5skr758lpm0w7tf56cafmdd0hey2nylwfl9q398jgf5shp5qra0y2q5w98at2vv0upux3sn2p0efrxs4h2nyzghqcj7009nqpsqcqzzsxqyz5vqsp5y8fvj3dxnwdaavx89nc5vykuywcmzdefh7x7z62q873hmawh7pws9qyyssq8f7ptu037y2vcclwst6nj8cy8ndhrcxj729ea4ntwdmpgtrwfqun5jnh4zul9s7vvtqd58wurdzk9e3xpzs3ykm0umjdwcttfussaxqqayadfs\",\"paymentHash\":\"86dcdc91f8a42c3f50ff0edeef2d34d63a9db5afbe48a993ee4fca0894f24269\",\"paymentType\":\"LNURLPAY\",\"networkFee\":0.0}",
|
|
"cryptoPaymentDataType": "LNURLPAY"
|
|
},
|
|
"expected": {
|
|
"version": 2,
|
|
"divisibility": 11,
|
|
"destination": "lnbc10n1pjlhc90pp5smwdey0c5skr758lpm0w7tf56cafmdd0hey2nylwfl9q398jgf5shp5qra0y2q5w98at2vv0upux3sn2p0efrxs4h2nyzghqcj7009nqpsqcqzzsxqyz5vqsp5y8fvj3dxnwdaavx89nc5vykuywcmzdefh7x7z62q873hmawh7pws9qyyssq8f7ptu037y2vcclwst6nj8cy8ndhrcxj729ea4ntwdmpgtrwfqun5jnh4zul9s7vvtqd58wurdzk9e3xpzs3ykm0umjdwcttfussaxqqayadfs",
|
|
"details": {
|
|
"paymentHash": "86dcdc91f8a42c3f50ff0edeef2d34d63a9db5afbe48a993ee4fca0894f24269"
|
|
}
|
|
},
|
|
"expectedProperties": {
|
|
"Created": "03/21/2024 07:24:35 +00:00",
|
|
"CreatedInMs": "1711005875969",
|
|
"Amount": "0.00000001",
|
|
"PaymentMethodId": "BTC-LNURL",
|
|
"Currency": "BTC"
|
|
}
|
|
},
|
|
{
|
|
"type": "payment",
|
|
"input": {
|
|
"output": null,
|
|
"version": 1,
|
|
"outpoint": "2e0ee2cccec304926677621ab5c1c80723f695740f1aed6915b4e72995d8172016000000",
|
|
"accounted": true,
|
|
"cryptoCode": "BTC",
|
|
"networkFee": 0.0,
|
|
"receivedTimeMs": 1710974348741,
|
|
"cryptoPaymentData": "{\"confirmationCount\":6,\"rbf\":false,\"address\":\"bc1qdamnd0fjegj4a5efrwx4gvjc69zufmu7ntf5ft\",\"keyPath\":\"0/708\",\"value\":197864,\"legacy\":false}",
|
|
"cryptoPaymentDataType": "BTCLike"
|
|
},
|
|
"expected": {
|
|
"destination": "bc1qdamnd0fjegj4a5efrwx4gvjc69zufmu7ntf5ft",
|
|
"divisibility": 8,
|
|
"details": {
|
|
"confirmationCount": 6,
|
|
"keyPath": "0/708",
|
|
"outpoint": "2017d89529e7b41569ed1a0f7495f62307c8c1b51a6277669204c3cecce20e2e-22"
|
|
},
|
|
"version": 2
|
|
},
|
|
"expectedProperties": {
|
|
"Created": "03/20/2024 22:39:08 +00:00",
|
|
"CreatedInMs": "1710974348741",
|
|
"Amount": "0.00197864",
|
|
"PaymentMethodId": "BTC-CHAIN",
|
|
"Currency": "BTC",
|
|
"Status": "Settled",
|
|
"Accounted": null
|
|
}
|
|
},
|
|
{
|
|
"type": "payment",
|
|
"input": {
|
|
"output": null,
|
|
"version": 1,
|
|
"outpoint": "2e0ee2cccec304926677621ab5c1c80723f695740f1aed6915b4e72995d8172016000000",
|
|
"accounted": true,
|
|
"cryptoCode": "BTC",
|
|
"networkFee": 0.0,
|
|
"receivedTimeMs": 1710974348741,
|
|
"cryptoPaymentData": "{\"confirmationCount\":6,\"rbf\":true,\"address\":\"bc1qdamnd0fjegj4a5efrwx4gvjc69zufmu7ntf5ft\",\"keyPath\":\"0/708\",\"value\":197864,\"legacy\":false}",
|
|
"cryptoPaymentDataType": "BTCLike"
|
|
},
|
|
"expected": {
|
|
"divisibility": 8,
|
|
"destination": "bc1qdamnd0fjegj4a5efrwx4gvjc69zufmu7ntf5ft",
|
|
"details": {
|
|
"confirmationCount": 6,
|
|
"keyPath": "0/708",
|
|
"outpoint": "2017d89529e7b41569ed1a0f7495f62307c8c1b51a6277669204c3cecce20e2e-22",
|
|
"RBF": true
|
|
},
|
|
"version": 2
|
|
}
|
|
}
|
|
]
|