backend-manager 5.9.5 → 5.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -1
- package/src/manager/events/cron/runner.js +0 -1
- package/src/manager/libraries/email/data/disposable-domains.json +21 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/metadata.json +14 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/newsletter.html +486 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/newsletter.md +41 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/newsletter.mjml +97 -0
- package/{test/email/fixtures/clean.json → src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/structure.json} +16 -4
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/summary.md +1 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/metadata.json +14 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/newsletter.html +486 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/newsletter.md +41 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/newsletter.mjml +97 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/structure.json +42 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/summary.md +1 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/metadata.json +14 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/newsletter.html +486 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/newsletter.md +41 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/newsletter.mjml +97 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/structure.json +42 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/summary.md +1 -0
- package/src/test/fixtures/firebase-project/.temp/test-mode.json +6 -0
- package/src/test/fixtures/firebase-project/database-debug.log +12 -0
- package/src/test/fixtures/firebase-project/firestore-debug.log +132 -0
- package/src/test/fixtures/firebase-project/pubsub-debug.log +17 -0
- package/.codeclimate.yml +0 -32
- package/.nvmrc +0 -1
- package/CHANGELOG.md +0 -1440
- package/PROGRESS.md +0 -93
- package/TODO-2.md +0 -121
- package/TODO-CHARGEBLAST.md +0 -32
- package/TODO-WEBHOOK-KEY-LEGACY-REMOVAL.md +0 -15
- package/TODO-WEBHOOK-KEY-UPGRADE.md +0 -138
- package/TODO-email-auth.md +0 -14
- package/TODO.md +0 -187
- package/plans/mcp2.md +0 -247
- package/plans/suspended-subscription-dead-zone.md +0 -97
- package/scripts/test-helper-providers.js +0 -162
- package/scripts/update-disposable-domains.js +0 -44
- package/templates/_.env +0 -42
- package/templates/_.gitignore +0 -60
- package/templates/backend-manager-config.json +0 -249
- package/templates/database.rules.json +0 -83
- package/templates/firebase.json +0 -66
- package/templates/firestore.indexes.json +0 -4
- package/templates/firestore.rules +0 -112
- package/templates/public/404.html +0 -26
- package/templates/public/index.html +0 -24
- package/templates/remoteconfig.template.json +0 -1
- package/templates/storage-lifecycle-config-1-day.json +0 -9
- package/templates/storage-lifecycle-config-30-days.json +0 -9
- package/templates/storage.rules +0 -8
- package/test/_init/accounts-validation.js +0 -58
- package/test/_legacy/ai/index.js +0 -231
- package/test/_legacy/ai/test.jpg +0 -0
- package/test/_legacy/ai/test.pdf +0 -0
- package/test/_legacy/index.js +0 -31
- package/test/_legacy/payment-resolver/chargebee/orders/refunded.json +0 -0
- package/test/_legacy/payment-resolver/chargebee/orders/unpaid.json +0 -98
- package/test/_legacy/payment-resolver/chargebee/subscriptions/active.json +0 -578
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-in-trial.json +0 -38
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-skipped-to-active.json +0 -135
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-active-to-cancelled.json +0 -42
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-active.json +0 -44
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-cancelled.json +0 -39
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-refund.json +0 -143
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-suspended.json +0 -48
- package/test/_legacy/payment-resolver/coinbase/orders/regular.json +0 -204
- package/test/_legacy/payment-resolver/coinbase/subscriptions/cancelled.json +0 -204
- package/test/_legacy/payment-resolver/coinbase/subscriptions/paid-2.json +0 -125
- package/test/_legacy/payment-resolver/index.js +0 -1558
- package/test/_legacy/payment-resolver/paypal/orders/refunded.json +0 -0
- package/test/_legacy/payment-resolver/paypal/orders/regular.json +0 -120
- package/test/_legacy/payment-resolver/paypal/subscriptions/active-refund-previous-stmnt.json +0 -323
- package/test/_legacy/payment-resolver/paypal/subscriptions/active.json +0 -192
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-in-trial.json +0 -125
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-payment-not-complete.json +0 -76
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-payment-overdue-2.json +0 -114
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-payment-overdue.json +0 -114
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-active-to-cancelled.json +0 -111
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-active.json +0 -132
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-cancelled.json +0 -107
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-expired.json +0 -91
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-refund.json +0 -147
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-suspended.json +0 -120
- package/test/_legacy/payment-resolver/stripe/orders/refunded.json +0 -0
- package/test/_legacy/payment-resolver/stripe/orders/regular.json +0 -91
- package/test/_legacy/payment-resolver/stripe/subscriptions/active.json +0 -421
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-in-trial.json +0 -349
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-active-failed-authorization.json +0 -430
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-active.json +0 -319
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-cancelled.json +0 -319
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-refund.json +0 -414
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-suspended.json +0 -319
- package/test/_legacy/payment-resolver/stripe/subscriptions/unsure.json +0 -339
- package/test/_legacy/test-new +0 -1178
- package/test/_legacy/test.md +0 -89
- package/test/_legacy/usage.js +0 -175
- package/test/_legacy/user.js +0 -31
- package/test/ai/tools-live.js +0 -170
- package/test/boot/emulator-boots.js +0 -37
- package/test/content/blog-generate.js +0 -160
- package/test/email/campaign-send.js +0 -45
- package/test/email/consent-lifecycle.js +0 -257
- package/test/email/feedback-and-plain-send.js +0 -52
- package/test/email/fixtures/editorial.json +0 -30
- package/test/email/fixtures/field-report.json +0 -53
- package/test/email/marketing-lifecycle.js +0 -132
- package/test/email/newsletter-generate.js +0 -819
- package/test/email/newsletter-templates.js +0 -491
- package/test/email/templates.js +0 -207
- package/test/email/transactional-send.js +0 -34
- package/test/email/transactional.js +0 -560
- package/test/email/validation.js +0 -710
- package/test/events/auth-delete-race.js +0 -201
- package/test/events/payments/journey-payments-cancel-endpoint.js +0 -100
- package/test/events/payments/journey-payments-cancel.js +0 -182
- package/test/events/payments/journey-payments-discount.js +0 -89
- package/test/events/payments/journey-payments-failure.js +0 -146
- package/test/events/payments/journey-payments-legacy-product.js +0 -149
- package/test/events/payments/journey-payments-one-time-failure.js +0 -111
- package/test/events/payments/journey-payments-one-time.js +0 -136
- package/test/events/payments/journey-payments-plan-change.js +0 -144
- package/test/events/payments/journey-payments-refund-webhook.js +0 -180
- package/test/events/payments/journey-payments-suspend.js +0 -181
- package/test/events/payments/journey-payments-trial-cancel.js +0 -130
- package/test/events/payments/journey-payments-trial.js +0 -171
- package/test/events/payments/journey-payments-uid-resolution.js +0 -132
- package/test/events/payments/journey-payments-upgrade.js +0 -135
- package/test/fixtures/chargebee/invoice-one-time.json +0 -27
- package/test/fixtures/chargebee/subscription-active.json +0 -44
- package/test/fixtures/chargebee/subscription-cancelled.json +0 -42
- package/test/fixtures/chargebee/subscription-in-trial.json +0 -41
- package/test/fixtures/chargebee/subscription-legacy-plan.json +0 -41
- package/test/fixtures/chargebee/subscription-non-renewing.json +0 -41
- package/test/fixtures/chargebee/subscription-paused.json +0 -42
- package/test/fixtures/chargebee/webhook-payment-failed.json +0 -51
- package/test/fixtures/chargebee/webhook-subscription-created.json +0 -47
- package/test/fixtures/paypal/order-approved.json +0 -62
- package/test/fixtures/paypal/order-completed.json +0 -110
- package/test/fixtures/paypal/subscription-active.json +0 -76
- package/test/fixtures/paypal/subscription-cancelled.json +0 -50
- package/test/fixtures/paypal/subscription-suspended.json +0 -65
- package/test/fixtures/stripe/checkout-session-completed.json +0 -130
- package/test/fixtures/stripe/invoice-payment-failed.json +0 -148
- package/test/fixtures/stripe/invoice-subscription-payment-failed.json +0 -28
- package/test/fixtures/stripe/subscription-active.json +0 -161
- package/test/fixtures/stripe/subscription-canceled.json +0 -161
- package/test/fixtures/stripe/subscription-trialing.json +0 -161
- package/test/functions/admin/database-read.js +0 -134
- package/test/functions/admin/database-write.js +0 -159
- package/test/functions/admin/edit-post.js +0 -366
- package/test/functions/admin/firestore-query.js +0 -207
- package/test/functions/admin/firestore-read.js +0 -129
- package/test/functions/admin/firestore-write.js +0 -105
- package/test/functions/admin/get-stats.js +0 -115
- package/test/functions/admin/send-email.js +0 -119
- package/test/functions/admin/send-notification.js +0 -208
- package/test/functions/admin/write-repo-content.js +0 -223
- package/test/functions/general/add-marketing-contact.js +0 -335
- package/test/functions/general/fetch-post.js +0 -54
- package/test/functions/general/generate-uuid.js +0 -114
- package/test/functions/test/authenticate.js +0 -64
- package/test/functions/user/create-custom-token.js +0 -73
- package/test/functions/user/delete.js +0 -135
- package/test/functions/user/get-active-sessions.js +0 -111
- package/test/functions/user/get-subscription-info.js +0 -99
- package/test/functions/user/regenerate-api-keys.js +0 -156
- package/test/functions/user/resolve.js +0 -52
- package/test/functions/user/sign-out-all-sessions.js +0 -94
- package/test/functions/user/sign-up.js +0 -252
- package/test/functions/user/submit-feedback.js +0 -104
- package/test/functions/user/validate-settings.js +0 -82
- package/test/helpers/ai-request-payload.js +0 -300
- package/test/helpers/ai-test-provider.js +0 -202
- package/test/helpers/ai-tools-format.js +0 -383
- package/test/helpers/content/blog-auto-publisher.js +0 -484
- package/test/helpers/content/feed-parser.js +0 -528
- package/test/helpers/content/ghostii-blocks.js +0 -134
- package/test/helpers/content/ghostii-feed-integration.js +0 -404
- package/test/helpers/content/ghostii-write-article.js +0 -243
- package/test/helpers/environment.js +0 -230
- package/test/helpers/infer-contact.js +0 -113
- package/test/helpers/merge-line-files.js +0 -271
- package/test/helpers/payment/chargebee/parse-webhook.js +0 -413
- package/test/helpers/payment/chargebee/to-unified-one-time.js +0 -147
- package/test/helpers/payment/chargebee/to-unified-subscription.js +0 -648
- package/test/helpers/payment/paypal/parse-webhook.js +0 -539
- package/test/helpers/payment/paypal/to-unified-one-time.js +0 -382
- package/test/helpers/payment/paypal/to-unified-subscription.js +0 -820
- package/test/helpers/payment/stripe/parse-webhook.js +0 -447
- package/test/helpers/payment/stripe/to-unified-one-time.js +0 -306
- package/test/helpers/payment/stripe/to-unified-subscription.js +0 -708
- package/test/helpers/sanitize.js +0 -222
- package/test/helpers/slugify.js +0 -394
- package/test/helpers/storage.js +0 -194
- package/test/helpers/user.js +0 -755
- package/test/helpers/webhook-forward.js +0 -418
- package/test/mcp/discovery.js +0 -53
- package/test/mcp/oauth.js +0 -161
- package/test/mcp/protocol.js +0 -268
- package/test/mcp/roles.js +0 -188
- package/test/mcp/utils.js +0 -245
- package/test/routes/admin/create-post.js +0 -364
- package/test/routes/admin/database.js +0 -131
- package/test/routes/admin/deduplicate-image-alts.js +0 -190
- package/test/routes/admin/email.js +0 -114
- package/test/routes/admin/firestore-query.js +0 -204
- package/test/routes/admin/firestore.js +0 -127
- package/test/routes/admin/infer-contact.js +0 -218
- package/test/routes/admin/notification.js +0 -198
- package/test/routes/admin/post-resize-image.js +0 -184
- package/test/routes/admin/post.js +0 -368
- package/test/routes/admin/repo-content.js +0 -223
- package/test/routes/admin/stats.js +0 -112
- package/test/routes/content/post.js +0 -54
- package/test/routes/general/uuid.js +0 -115
- package/test/routes/marketing/campaign.js +0 -125
- package/test/routes/marketing/contact.js +0 -370
- package/test/routes/marketing/email-preferences.js +0 -292
- package/test/routes/marketing/push-send.js +0 -32
- package/test/routes/marketing/webhook-forward.js +0 -61
- package/test/routes/marketing/webhook.js +0 -639
- package/test/routes/payments/cancel.js +0 -163
- package/test/routes/payments/discount.js +0 -80
- package/test/routes/payments/dispute-alert.js +0 -320
- package/test/routes/payments/intent.js +0 -336
- package/test/routes/payments/portal.js +0 -92
- package/test/routes/payments/refund.js +0 -179
- package/test/routes/payments/trial-eligibility.js +0 -71
- package/test/routes/payments/webhook.js +0 -107
- package/test/routes/test/authenticate.js +0 -59
- package/test/routes/test/schema.js +0 -554
- package/test/routes/test/usage.js +0 -342
- package/test/routes/user/api-keys.js +0 -156
- package/test/routes/user/delete.js +0 -136
- package/test/routes/user/feedback.js +0 -104
- package/test/routes/user/sessions.js +0 -199
- package/test/routes/user/settings-validate.js +0 -82
- package/test/routes/user/signup.js +0 -542
- package/test/routes/user/subscription.js +0 -99
- package/test/routes/user/token.js +0 -73
- package/test/routes/user/user.js +0 -157
- package/test/rules/notifications.js +0 -410
- package/test/rules/payments-carts.js +0 -371
- package/test/rules/user.js +0 -396
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"addresses": {
|
|
3
|
-
"pusdc": "0x21a82002d9d144a88da763429332ae66abccc489",
|
|
4
|
-
"dai": "0xd521590a206b7a768c2b91e76b1e55416cc957a4",
|
|
5
|
-
"polygon": "0x1103a791462d893b47d557b797a8373cb369923a",
|
|
6
|
-
"bitcoin": "34fzH947Xbb9frUHQgxDkdeeZ5CHQkVdG5",
|
|
7
|
-
"apecoin": "0xd197eb4d9e4bdb124c99903157287bef2c1ec83b",
|
|
8
|
-
"pweth": "0x3ebfa486147820d1d155d88f8a5c1b4fe2c749bc",
|
|
9
|
-
"usdc": "0x21a82002d9d144a88da763429332ae66abccc489",
|
|
10
|
-
"litecoin": "MTfdmP8hknqi8Jv7oyFHPQcDA21XiXSS9d",
|
|
11
|
-
"dogecoin": "D8G1MzRrdifM9Cq6wELyCde7VF52TnmdGH",
|
|
12
|
-
"ethereum": "0x3ebfa486147820d1d155d88f8a5c1b4fe2c749bc",
|
|
13
|
-
"tether": "0x1016c9d7f623d73825ede16c718b7d5c18650ac2",
|
|
14
|
-
"shibainu": "0xa00b30d38c5d878d7556e8d380fee19d1c0747c4",
|
|
15
|
-
"bitcoincash": "qpurv662v6kt7t2ugg23x0lv9t4d44cyvgx4mzxgfp"
|
|
16
|
-
},
|
|
17
|
-
"brand_color": "#122332",
|
|
18
|
-
"brand_logo_url": "https://res.cloudinary.com/commerce/image/upload/v1669469783/o5msi7avehknjrpyjwts.png",
|
|
19
|
-
"code": "FBHJR22R",
|
|
20
|
-
"coinbase_managed_merchant": true,
|
|
21
|
-
"confirmed_at": "2023-04-26T10:31:42Z",
|
|
22
|
-
"created_at": "2023-04-26T09:59:19Z",
|
|
23
|
-
"description": "Slapform Sumo",
|
|
24
|
-
"exchange_rates": {
|
|
25
|
-
"USDC-USD": "1.0",
|
|
26
|
-
"LTC-USD": "91.1",
|
|
27
|
-
"SHIB-USD": "0.000010505",
|
|
28
|
-
"PMATIC-USD": "1.0148",
|
|
29
|
-
"BCH-USD": "120.33",
|
|
30
|
-
"USDT-USD": "1.000225",
|
|
31
|
-
"ETH-USD": "1897.2",
|
|
32
|
-
"DOGE-USD": "0.081105",
|
|
33
|
-
"APE-USD": "4.027",
|
|
34
|
-
"BTC-USD": "28883.255",
|
|
35
|
-
"DAI-USD": "0.99995",
|
|
36
|
-
"PWETH-USD": "1896.73",
|
|
37
|
-
"PUSDC-USD": "1.0"
|
|
38
|
-
},
|
|
39
|
-
"expires_at": "2023-04-26T10:29:19Z",
|
|
40
|
-
"fee_rate": 0.01,
|
|
41
|
-
"hosted_url": "https://commerce.coinbase.com/charges/FBHJR22R",
|
|
42
|
-
"id": "8f783fa6-eaa3-4460-af64-cac26b183ed1",
|
|
43
|
-
"local_exchange_rates": {
|
|
44
|
-
"USDC-USD": "1.0",
|
|
45
|
-
"LTC-USD": "91.1",
|
|
46
|
-
"SHIB-USD": "0.000010505",
|
|
47
|
-
"PMATIC-USD": "1.0148",
|
|
48
|
-
"BCH-USD": "120.33",
|
|
49
|
-
"USDT-USD": "1.000225",
|
|
50
|
-
"ETH-USD": "1897.2",
|
|
51
|
-
"DOGE-USD": "0.081105",
|
|
52
|
-
"APE-USD": "4.027",
|
|
53
|
-
"BTC-USD": "28883.255",
|
|
54
|
-
"DAI-USD": "0.99995",
|
|
55
|
-
"PWETH-USD": "1896.73",
|
|
56
|
-
"PUSDC-USD": "1.0"
|
|
57
|
-
},
|
|
58
|
-
"logo_url": "https://res.cloudinary.com/commerce/image/upload/v1669469783/o5msi7avehknjrpyjwts.png",
|
|
59
|
-
"metadata": {
|
|
60
|
-
"uid": "O4Env11pWgSCYnQ0zSfwSjv44ak2",
|
|
61
|
-
"email": "customer@gmail.com",
|
|
62
|
-
"planId": "sumo",
|
|
63
|
-
"clientOrderId": "1682503105825-0982",
|
|
64
|
-
"name": null
|
|
65
|
-
},
|
|
66
|
-
"name": "Slapform Sumo",
|
|
67
|
-
"offchain_eligible": true,
|
|
68
|
-
"organization_name": "ITW Creative Works",
|
|
69
|
-
"payment_threshold": {
|
|
70
|
-
"overpayment_absolute_threshold": {
|
|
71
|
-
"amount": "9999.00",
|
|
72
|
-
"currency": "USD"
|
|
73
|
-
},
|
|
74
|
-
"underpayment_relative_threshold": "0.05"
|
|
75
|
-
},
|
|
76
|
-
"payments": [{
|
|
77
|
-
"payment_id": "23668f49-5b1f-43cc-8d43-0e0a4aa373ea",
|
|
78
|
-
"network": "bitcoin",
|
|
79
|
-
"transaction_id": "5f77305b7d09572cb4cd4bf758baf7d59bffebd55cfe727362646cdd08fbaee9",
|
|
80
|
-
"status": "CONFIRMED",
|
|
81
|
-
"detected_at": "2023-04-26T10:06:55Z",
|
|
82
|
-
"value": {
|
|
83
|
-
"local": {
|
|
84
|
-
"amount": "16.00",
|
|
85
|
-
"currency": "USD"
|
|
86
|
-
},
|
|
87
|
-
"crypto": {
|
|
88
|
-
"amount": "0.00055395",
|
|
89
|
-
"currency": "BTC"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"block": {
|
|
93
|
-
"height": 787072,
|
|
94
|
-
"hash": "00000000000000000000032c1682e545847242a8486a8c0ceb996af46eeb1c57",
|
|
95
|
-
"confirmations": 1,
|
|
96
|
-
"confirmations_required": 1
|
|
97
|
-
},
|
|
98
|
-
"deposited": {
|
|
99
|
-
"autoconversion_enabled": true,
|
|
100
|
-
"autoconversion_status": "PENDING",
|
|
101
|
-
"status": "PENDING",
|
|
102
|
-
"destination": "hello@business.com",
|
|
103
|
-
"exchange_rate": null,
|
|
104
|
-
"amount": {
|
|
105
|
-
"gross": {
|
|
106
|
-
"local": null,
|
|
107
|
-
"crypto": {
|
|
108
|
-
"amount": "0.00055395",
|
|
109
|
-
"currency": "BTC"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"net": {
|
|
113
|
-
"local": null,
|
|
114
|
-
"crypto": {
|
|
115
|
-
"amount": "0.00054842",
|
|
116
|
-
"currency": "BTC"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"coinbase_fee": {
|
|
120
|
-
"local": null,
|
|
121
|
-
"crypto": {
|
|
122
|
-
"amount": "0.00000553",
|
|
123
|
-
"currency": "BTC"
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}],
|
|
129
|
-
"pricing": {
|
|
130
|
-
"local": {
|
|
131
|
-
"amount": "16.00",
|
|
132
|
-
"currency": "USD"
|
|
133
|
-
},
|
|
134
|
-
"pusdc": {
|
|
135
|
-
"amount": "16.000000",
|
|
136
|
-
"currency": "PUSDC"
|
|
137
|
-
},
|
|
138
|
-
"dai": {
|
|
139
|
-
"amount": "16.000800048000000000",
|
|
140
|
-
"currency": "DAI"
|
|
141
|
-
},
|
|
142
|
-
"polygon": {
|
|
143
|
-
"amount": "15.766654000",
|
|
144
|
-
"currency": "PMATIC"
|
|
145
|
-
},
|
|
146
|
-
"bitcoin": {
|
|
147
|
-
"amount": "0.00055395",
|
|
148
|
-
"currency": "BTC"
|
|
149
|
-
},
|
|
150
|
-
"apecoin": {
|
|
151
|
-
"amount": "3.973181028060591011",
|
|
152
|
-
"currency": "APE"
|
|
153
|
-
},
|
|
154
|
-
"pweth": {
|
|
155
|
-
"amount": "0.008435570692718521",
|
|
156
|
-
"currency": "PWETH"
|
|
157
|
-
},
|
|
158
|
-
"usdc": {
|
|
159
|
-
"amount": "16.000000",
|
|
160
|
-
"currency": "USDC"
|
|
161
|
-
},
|
|
162
|
-
"litecoin": {
|
|
163
|
-
"amount": "0.17563117",
|
|
164
|
-
"currency": "LTC"
|
|
165
|
-
},
|
|
166
|
-
"dogecoin": {
|
|
167
|
-
"amount": "197.27513717",
|
|
168
|
-
"currency": "DOGE"
|
|
169
|
-
},
|
|
170
|
-
"ethereum": {
|
|
171
|
-
"amount": "0.008433000",
|
|
172
|
-
"currency": "ETH"
|
|
173
|
-
},
|
|
174
|
-
"tether": {
|
|
175
|
-
"amount": "15.996401",
|
|
176
|
-
"currency": "USDT"
|
|
177
|
-
},
|
|
178
|
-
"shibainu": {
|
|
179
|
-
"amount": "1523084.245597328000000000",
|
|
180
|
-
"currency": "SHIB"
|
|
181
|
-
},
|
|
182
|
-
"bitcoincash": {
|
|
183
|
-
"amount": "0.13296767",
|
|
184
|
-
"currency": "BCH"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"pricing_type": "fixed_price",
|
|
188
|
-
"pwcb_only": false,
|
|
189
|
-
"resource": "charge",
|
|
190
|
-
"support_email": "support@business.com",
|
|
191
|
-
"timeline": [{
|
|
192
|
-
"status": "NEW",
|
|
193
|
-
"context": "OTHER",
|
|
194
|
-
"time": "2023-04-26T09:59:19Z"
|
|
195
|
-
}, {
|
|
196
|
-
"status": "PENDING",
|
|
197
|
-
"context": "OTHER",
|
|
198
|
-
"time": "2023-04-26T10:07:02Z"
|
|
199
|
-
}, {
|
|
200
|
-
"status": "COMPLETED",
|
|
201
|
-
"context": "OTHER",
|
|
202
|
-
"time": "2023-04-26T10:31:42Z"
|
|
203
|
-
}]
|
|
204
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"brand_color": "#122332",
|
|
3
|
-
"brand_logo_url": "https://res.cloudinary.com/commerce/image/upload/v1669469783/o5msi7avehknjrpyjwts.png",
|
|
4
|
-
"charge_kind": "WEB3",
|
|
5
|
-
"code": "2ZHK2BXQ",
|
|
6
|
-
"collected_email": true,
|
|
7
|
-
"confirmed_at": "2024-01-23T22:42:27Z",
|
|
8
|
-
"created_at": "2024-01-23T21:59:03Z",
|
|
9
|
-
"description": "StudyMonkey Homework Helper Plus Essay",
|
|
10
|
-
"expires_at": "2024-01-25T21:59:03Z",
|
|
11
|
-
"hosted_url": "https://commerce.coinbase.com/pay/1baa71fb-318c-400c-9020-08b894a1fa6e",
|
|
12
|
-
"id": "1baa71fb-318c-400c-9020-08b894a1fa6e",
|
|
13
|
-
"metadata": {
|
|
14
|
-
"uid": "oHrxWjSX87OenjCOxzE4PFw0JNy2",
|
|
15
|
-
"planId": "homework-helper-plus-essay",
|
|
16
|
-
"clientOrderId": "1706046998706-0362",
|
|
17
|
-
"email": "savaignjat@gmail.com"
|
|
18
|
-
},
|
|
19
|
-
"name": "StudyMonkey Homework Helper Plus Essay",
|
|
20
|
-
"organization_name": "ITW Creative Works",
|
|
21
|
-
"payments": [{
|
|
22
|
-
"payment_id": "0x479cda3dc208156a7ce99093c2de583997cad04081542e753e70210fb0a4b250",
|
|
23
|
-
"network": "ethereum",
|
|
24
|
-
"transaction_id": "0x479cda3dc208156a7ce99093c2de583997cad04081542e753e70210fb0a4b250",
|
|
25
|
-
"status": "confirmed",
|
|
26
|
-
"detected_at": "2024-01-23T22:40:35Z",
|
|
27
|
-
"value": {
|
|
28
|
-
"local": {
|
|
29
|
-
"amount": "10.00",
|
|
30
|
-
"currency": "USD"
|
|
31
|
-
},
|
|
32
|
-
"crypto": {
|
|
33
|
-
"amount": "10",
|
|
34
|
-
"currency": "USDC"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"payer_addresses": ["0x1b4747367a4259573dde79745b66f16fac2b5aa0"]
|
|
38
|
-
}],
|
|
39
|
-
"pricing": {
|
|
40
|
-
"local": {
|
|
41
|
-
"amount": "10.00",
|
|
42
|
-
"currency": "USD"
|
|
43
|
-
},
|
|
44
|
-
"settlement": {
|
|
45
|
-
"amount": "10",
|
|
46
|
-
"currency": "USDC"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"pricing_type": "fixed_price",
|
|
50
|
-
"redirects": {
|
|
51
|
-
"cancel_url": "",
|
|
52
|
-
"success_url": "",
|
|
53
|
-
"will_redirect_after_success": false
|
|
54
|
-
},
|
|
55
|
-
"support_email": "support@itwcreativeworks.com",
|
|
56
|
-
"timeline": [{
|
|
57
|
-
"status": "NEW",
|
|
58
|
-
"time": "2024-01-23T21:59:03Z"
|
|
59
|
-
}, {
|
|
60
|
-
"status": "SIGNED",
|
|
61
|
-
"time": "2024-01-23T22:29:08Z"
|
|
62
|
-
}, {
|
|
63
|
-
"status": "PENDING",
|
|
64
|
-
"time": "2024-01-23T22:41:43Z"
|
|
65
|
-
}, {
|
|
66
|
-
"status": "COMPLETED",
|
|
67
|
-
"time": "2024-01-23T22:42:27Z"
|
|
68
|
-
}],
|
|
69
|
-
"web3_data": {
|
|
70
|
-
"transfer_intent": {
|
|
71
|
-
"call_data": {
|
|
72
|
-
"deadline": "2024-01-25T21:59:03Z",
|
|
73
|
-
"fee_amount": "100000",
|
|
74
|
-
"id": "0x9e72e7f23f3f42bfbb6370766172ba5b",
|
|
75
|
-
"operator": "0x8fccc78dae0a8f93b0fe6799de888d4c57e273db",
|
|
76
|
-
"prefix": "0x4b3220496e666f726d6174696f6e616c204d6573736167653a20333220",
|
|
77
|
-
"recipient": "0x2a37eB9C24e73fAFFd30383adB894e2529Ad41Be",
|
|
78
|
-
"recipient_amount": "9900000",
|
|
79
|
-
"recipient_currency": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
80
|
-
"refund_destination": "0x1b4747367a4259573DDE79745B66F16fAc2b5Aa0",
|
|
81
|
-
"signature": "0x3fd8cea54247b157cf226a86dd56bd134595ce03568320471cda0c1e3ec1179f232eb4b78dd1956e9110cba85cf36c00119e74f53ecc994f1642006e7c6585991c"
|
|
82
|
-
},
|
|
83
|
-
"metadata": {
|
|
84
|
-
"chain_id": 1,
|
|
85
|
-
"contract_address": "0x7915f087685fffD71608E5d118f3B70c27D9eF4e",
|
|
86
|
-
"sender": "0x1b4747367a4259573DDE79745B66F16fAc2b5Aa0"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"success_events": [{
|
|
90
|
-
"chain_id": 1,
|
|
91
|
-
"finalized": false,
|
|
92
|
-
"input_token_address": "0x0000000000000000000000000000000000000000",
|
|
93
|
-
"input_token_amount": "4504845007298104",
|
|
94
|
-
"network_fee_paid": "2212192382700300",
|
|
95
|
-
"network_fee_paid_local": "4.918411568304985862",
|
|
96
|
-
"recipient": "0x2a37eb9c24e73faffd30383adb894e2529ad41be",
|
|
97
|
-
"sender": "0x1b4747367a4259573dde79745b66f16fac2b5aa0",
|
|
98
|
-
"timestamp": "2024-01-23T22:40:35Z",
|
|
99
|
-
"tx_hsh": "0x479cda3dc208156a7ce99093c2de583997cad04081542e753e70210fb0a4b250"
|
|
100
|
-
}, {
|
|
101
|
-
"chain_id": 1,
|
|
102
|
-
"finalized": true,
|
|
103
|
-
"input_token_address": "0x0000000000000000000000000000000000000000",
|
|
104
|
-
"input_token_amount": "4504845007298104",
|
|
105
|
-
"network_fee_paid": "2212192382700300",
|
|
106
|
-
"network_fee_paid_local": "4.918411568304985862",
|
|
107
|
-
"recipient": "0x2a37eb9c24e73faffd30383adb894e2529ad41be",
|
|
108
|
-
"sender": "0x1b4747367a4259573dde79745b66f16fac2b5aa0",
|
|
109
|
-
"timestamp": "2024-01-23T22:40:35Z",
|
|
110
|
-
"tx_hsh": "0x479cda3dc208156a7ce99093c2de583997cad04081542e753e70210fb0a4b250"
|
|
111
|
-
}],
|
|
112
|
-
"failure_events": [],
|
|
113
|
-
"contract_addresses": {
|
|
114
|
-
"1": "0x7915f087685fffD71608E5d118f3B70c27D9eF4e",
|
|
115
|
-
"137": "0x7f52269092F2a5EF06C36C91e46F9196deb90336",
|
|
116
|
-
"8453": "0x9Bb4D44e6963260A1850926E8f6bEB8d5803836F"
|
|
117
|
-
},
|
|
118
|
-
"settlement_currency_addresses": {
|
|
119
|
-
"1": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
120
|
-
"137": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
|
|
121
|
-
"8453": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"web3_retail_payments_enabled": true
|
|
125
|
-
}
|