@justifi/webcomponents 6.7.0 → 6.7.2
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/dist/cjs/{check-pkg-version-nSgWWvdw.js → check-pkg-version-BG-Rfkh5.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +9 -7
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +10 -8
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +98 -6
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-B8gOzTFM.js → package-Df5lTFe6.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/void/void-actions.js +31 -0
- package/dist/collection/api/services/google-pay.service.js +2 -1
- package/dist/collection/api/services/void.service.js +9 -0
- package/dist/collection/components/modular-checkout/modular-checkout.js +3 -2
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +6 -3
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +6 -3
- package/dist/collection/components/modular-checkout/sub-components/google-pay.js +3 -3
- package/dist/collection/components/refund-payment/refund-payment.js +66 -10
- package/dist/docs.json +15 -10
- package/dist/esm/{check-pkg-version-CmkUoEAo.js → check-pkg-version-c_8fDHCB.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +9 -7
- package/dist/esm/justifi-apple-pay_8.entry.js +10 -8
- package/dist/esm/justifi-business-details.entry.js +2 -2
- package/dist/esm/justifi-business-form.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/justifi-order-terminals.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payment-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payout-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-refund-payment.entry.js +98 -6
- package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-CsRppqXL.js → package-BzT9OxlN.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/bank-account-form.js +1 -1
- package/dist/module/bank-account.js +5 -2
- package/dist/module/card-form.js +1 -1
- package/dist/module/card-form2.js +5 -2
- package/dist/module/google-pay.js +5 -4
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +1 -1
- package/dist/module/justifi-refund-payment.js +97 -4
- package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
- package/dist/module/modular-checkout.js +3 -2
- package/dist/module/package.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/utils2.js +1 -1
- package/dist/types/actions/void/void-actions.d.ts +10 -0
- package/dist/types/api/services/google-pay.service.d.ts +1 -1
- package/dist/types/api/services/void.service.d.ts +7 -0
- package/dist/types/components/modular-checkout/sub-components/bank-account.d.ts +1 -0
- package/dist/types/components/modular-checkout/sub-components/card-form.d.ts +1 -0
- package/dist/types/components/refund-payment/refund-payment.d.ts +6 -2
- package/dist/types/components.d.ts +3 -3
- package/dist/webcomponents/{p-c0bd4e9a.entry.js → p-035a4adc.entry.js} +1 -1
- package/dist/webcomponents/{p-c4585b68.entry.js → p-0935600b.entry.js} +1 -1
- package/dist/webcomponents/{p-fc8f55d7.entry.js → p-0ab9a3ae.entry.js} +1 -1
- package/dist/webcomponents/{p-DISrhs4v.js → p-11wdbrqX.js} +1 -1
- package/dist/webcomponents/{p-fe73b09b.entry.js → p-138ada4a.entry.js} +1 -1
- package/dist/webcomponents/p-148d3327.entry.js +1 -0
- package/dist/webcomponents/p-2cb9edad.entry.js +1 -0
- package/dist/webcomponents/{p-04ec17bb.entry.js → p-2d4a2d26.entry.js} +1 -1
- package/dist/webcomponents/p-3f14d0c4.entry.js +1 -0
- package/dist/webcomponents/{p-d2981754.entry.js → p-5c6727ae.entry.js} +1 -1
- package/dist/webcomponents/{p-eada0422.entry.js → p-622af881.entry.js} +1 -1
- package/dist/webcomponents/{p-50400c5e.entry.js → p-64ebff16.entry.js} +1 -1
- package/dist/webcomponents/p-71577fa1.entry.js +1 -0
- package/dist/webcomponents/p-7ec4838f.entry.js +1 -0
- package/dist/webcomponents/p-BzT9OxlN.js +1 -0
- package/dist/webcomponents/p-af7c219d.entry.js +1 -0
- package/dist/webcomponents/{p-74fea39c.entry.js → p-b752c5bc.entry.js} +1 -1
- package/dist/webcomponents/{p-f23428da.entry.js → p-bbff6196.entry.js} +1 -1
- package/dist/webcomponents/p-c0c36187.entry.js +1 -0
- package/dist/webcomponents/{p-ff5981fb.entry.js → p-d077569e.entry.js} +1 -1
- package/dist/webcomponents/{p-87988b4d.entry.js → p-d7b1b7b5.entry.js} +1 -1
- package/dist/webcomponents/{p-095cedc5.entry.js → p-dc6c9c79.entry.js} +1 -1
- package/dist/webcomponents/p-ecbc83bf.entry.js +1 -0
- package/dist/webcomponents/{p-b2a0cbad.entry.js → p-f56d7b4c.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/docs/.eslintrc.cjs +17 -0
- package/docs/changelog/index.mdx +17 -0
- package/docs/entities/businessdetails/index.mdx +143 -0
- package/docs/entities/businessform/index.mdx +241 -0
- package/docs/entities/index.mdx +19 -0
- package/docs/entities/payment-provisioning/index.mdx +128 -0
- package/docs/frameworks/angular/index.mdx +112 -0
- package/docs/frameworks/index.mdx +18 -0
- package/docs/frameworks/react/index.mdx +125 -0
- package/docs/frameworks/vue/index.mdx +102 -0
- package/docs/helpers/PartsTable.js +50 -0
- package/docs/helpers/PropsTable.js +56 -0
- package/docs/helpers/index.ts +3 -0
- package/docs/helpers/version.js +32 -0
- package/docs/introduction/index.mdx +125 -0
- package/docs/merchant-tools/checkouts-list/index.mdx +97 -0
- package/docs/merchant-tools/gross-payments-chart/index.mdx +83 -0
- package/docs/merchant-tools/index.mdx +25 -0
- package/docs/merchant-tools/order-terminals/index.mdx +84 -0
- package/docs/merchant-tools/payment-details/index.mdx +132 -0
- package/docs/merchant-tools/payment-transactions-list/index.mdx +85 -0
- package/docs/merchant-tools/payments-list/index.mdx +109 -0
- package/docs/merchant-tools/payout-details/index.mdx +84 -0
- package/docs/merchant-tools/payout-transactions-list/index.mdx +84 -0
- package/docs/merchant-tools/payouts-list/index.mdx +92 -0
- package/docs/merchant-tools/terminal-orders-list/index.mdx +85 -0
- package/docs/merchant-tools/terminals-list/index.mdx +93 -0
- package/docs/modular-checkout/complete-examples/index.mdx +20 -0
- package/docs/modular-checkout/index.mdx +20 -0
- package/docs/modular-checkout/introduction/index.mdx +102 -0
- package/docs/modular-checkout/sub-components/apple-pay.mdx +106 -0
- package/docs/modular-checkout/sub-components/bank-account-form.mdx +167 -0
- package/docs/modular-checkout/sub-components/card-form.mdx +178 -0
- package/docs/modular-checkout/sub-components/index.mdx +23 -0
- package/docs/modular-checkout/sub-components/payment-method-options.mdx +87 -0
- package/docs/modular-checkout/sub-components/plaid-payment-method.mdx +158 -0
- package/docs/modular-checkout/sub-components/saved-payment-methods.mdx +183 -0
- package/docs/modular-checkout/sub-components/season-interruption-insurance.mdx +221 -0
- package/docs/modular-checkout/sub-components/sezzle-payment-method.mdx +183 -0
- package/docs/modular-checkout/sub-components/summary.mdx +111 -0
- package/docs/payment-facilitation/dispute-management/index.mdx +99 -0
- package/docs/payment-facilitation/index.mdx +21 -0
- package/docs/payment-facilitation/refund-payment/index.mdx +241 -0
- package/docs/payment-facilitation/tokenize-payment-method/index.mdx +350 -0
- package/docs/payment-facilitation/unified-fintech-checkout/342/204/242/index.mdx +150 -0
- package/package.json +21 -6
- package/dist/webcomponents/p-0e981c28.entry.js +0 -1
- package/dist/webcomponents/p-15ceeea7.entry.js +0 -1
- package/dist/webcomponents/p-9c1aa22d.entry.js +0 -1
- package/dist/webcomponents/p-CsRppqXL.js +0 -1
- package/dist/webcomponents/p-aa145996.entry.js +0 -1
- package/dist/webcomponents/p-b5b49e86.entry.js +0 -1
- package/dist/webcomponents/p-d9cdd873.entry.js +0 -1
- package/dist/webcomponents/p-ef04f334.entry.js +0 -1
- package/dist/webcomponents/p-f5dd3fa4.entry.js +0 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: merchant-tools/order-terminals/index
|
|
3
|
+
title: Order Terminals
|
|
4
|
+
description: Guided purchasing flow for ordering in-person terminals and accessories.
|
|
5
|
+
sidebar_position: 50
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Component to render a form for terminal order requests.
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-order-terminals
|
|
18
|
+
account-id="acc_123"
|
|
19
|
+
auth-token="wct_terminals"
|
|
20
|
+
shipping-contact="contact_456"
|
|
21
|
+
/>`}</code>
|
|
22
|
+
</pre>
|
|
23
|
+
|
|
24
|
+
## Props, Events & Methods
|
|
25
|
+
|
|
26
|
+
<div
|
|
27
|
+
dangerouslySetInnerHTML={{
|
|
28
|
+
__html: PropsTable([
|
|
29
|
+
{
|
|
30
|
+
name: 'account-id',
|
|
31
|
+
type: 'string',
|
|
32
|
+
required: true,
|
|
33
|
+
description: 'Merchant placing the order.',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'auth-token',
|
|
37
|
+
type: 'string',
|
|
38
|
+
required: true,
|
|
39
|
+
description: 'Token with `write:terminals` scope.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'shipping-contact',
|
|
43
|
+
type: 'string',
|
|
44
|
+
description:
|
|
45
|
+
'Optional saved contact ID; when omitted the component collects address info inline.',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'allowed-products',
|
|
49
|
+
type: 'string',
|
|
50
|
+
description: 'Comma-separated SKU list to limit which devices appear.',
|
|
51
|
+
},
|
|
52
|
+
]),
|
|
53
|
+
}}
|
|
54
|
+
/>
|
|
55
|
+
|
|
56
|
+
### Events
|
|
57
|
+
|
|
58
|
+
- `submitted`: Fires when an order is placed; includes order ID and device list.
|
|
59
|
+
- `error-event`: Emits network or validation errors.
|
|
60
|
+
|
|
61
|
+
### Public methods
|
|
62
|
+
|
|
63
|
+
1. `submit()` – Trigger the order (useful if you host CTAs externally).
|
|
64
|
+
|
|
65
|
+
## Theming & Layout
|
|
66
|
+
|
|
67
|
+
<div
|
|
68
|
+
dangerouslySetInnerHTML={{
|
|
69
|
+
__html: PartsTable([
|
|
70
|
+
{
|
|
71
|
+
name: 'font-family',
|
|
72
|
+
description: 'Controls the font family for the component.',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'color',
|
|
76
|
+
description: 'Controls the text color.',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'background-color',
|
|
80
|
+
description: 'Controls the background color.',
|
|
81
|
+
},
|
|
82
|
+
]),
|
|
83
|
+
}}
|
|
84
|
+
/>
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: merchant-tools/payment-details/index
|
|
3
|
+
title: Payment Details
|
|
4
|
+
description: Detailed view for a single payment, including customer data, timeline events, and dispute shortcuts.
|
|
5
|
+
sidebar_position: 30
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
PropsTable,
|
|
10
|
+
PartsTable,
|
|
11
|
+
getWebcomponentsVersion,
|
|
12
|
+
} from '@justifi/webcomponents/docs/helpers';
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
15
|
+
|
|
16
|
+
Component to display detailed information about a specific payment.
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
<pre><code className="language-html">{`<!DOCTYPE html>
|
|
21
|
+
<html dir="ltr" lang="en">
|
|
22
|
+
|
|
23
|
+
<head>
|
|
24
|
+
<meta charset="utf-8" />
|
|
25
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" />
|
|
26
|
+
<title>justifi-payment-details</title>
|
|
27
|
+
|
|
28
|
+
<script
|
|
29
|
+
type="module"
|
|
30
|
+
src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.esm.js"
|
|
31
|
+
></script>
|
|
32
|
+
|
|
33
|
+
<script
|
|
34
|
+
nomodule
|
|
35
|
+
src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.js"
|
|
36
|
+
></script>
|
|
37
|
+
|
|
38
|
+
<style>
|
|
39
|
+
::part(font-family) {
|
|
40
|
+
font-family: georgia;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
::part(color) {
|
|
44
|
+
color: darkslategray;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
::part(background-color) {
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
}
|
|
50
|
+
</style>
|
|
51
|
+
|
|
52
|
+
</head>
|
|
53
|
+
|
|
54
|
+
<body>
|
|
55
|
+
<justifi-payment-details payment-id="py_123" auth-token="authToken" />
|
|
56
|
+
</body>
|
|
57
|
+
|
|
58
|
+
<script>
|
|
59
|
+
(function () {
|
|
60
|
+
const paymentDetails = document.querySelector('justifi-payment-details');
|
|
61
|
+
|
|
62
|
+
paymentDetails.addEventListener('error-event', (event) => {
|
|
63
|
+
// here is where you would handle the error
|
|
64
|
+
console.error('error-event', event.detail);
|
|
65
|
+
});
|
|
66
|
+
})();
|
|
67
|
+
</script>
|
|
68
|
+
|
|
69
|
+
</html>`}</code></pre>
|
|
70
|
+
|
|
71
|
+
## Props, Events & Methods
|
|
72
|
+
|
|
73
|
+
<div
|
|
74
|
+
dangerouslySetInnerHTML={{
|
|
75
|
+
__html: PropsTable([
|
|
76
|
+
{
|
|
77
|
+
name: 'account-id',
|
|
78
|
+
type: 'string',
|
|
79
|
+
required: true,
|
|
80
|
+
description: 'Owning platform account for authorization.',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'auth-token',
|
|
84
|
+
type: 'string',
|
|
85
|
+
required: true,
|
|
86
|
+
description: 'Token with `read:payments` scope.',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'payment-id',
|
|
90
|
+
type: 'string',
|
|
91
|
+
required: true,
|
|
92
|
+
description: 'Payment to display.',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: 'show-actions',
|
|
96
|
+
type: 'boolean',
|
|
97
|
+
defaultValue: 'true',
|
|
98
|
+
description: 'Hide when you only need a read-only audit surface.',
|
|
99
|
+
},
|
|
100
|
+
]),
|
|
101
|
+
}}
|
|
102
|
+
/>
|
|
103
|
+
|
|
104
|
+
### Events
|
|
105
|
+
|
|
106
|
+
- `refund-requested`: emitted when an operator clicks the refund CTA.
|
|
107
|
+
- `dispute-opened`: indicates that the “Open dispute” action was invoked.
|
|
108
|
+
|
|
109
|
+
### Public methods
|
|
110
|
+
|
|
111
|
+
1. `refresh()` – Re-fetch the payment to reflect new statuses after an action.
|
|
112
|
+
|
|
113
|
+
## Theming & Layout
|
|
114
|
+
|
|
115
|
+
<div
|
|
116
|
+
dangerouslySetInnerHTML={{
|
|
117
|
+
__html: PartsTable([
|
|
118
|
+
{
|
|
119
|
+
name: 'font-family',
|
|
120
|
+
description: 'Controls the font family for the component.',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: 'color',
|
|
124
|
+
description: 'Controls the text color.',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
name: 'background-color',
|
|
128
|
+
description: 'Controls the background color.',
|
|
129
|
+
},
|
|
130
|
+
]),
|
|
131
|
+
}}
|
|
132
|
+
/>
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: merchant-tools/payment-transactions-list/index
|
|
3
|
+
title: Payment Transactions List
|
|
4
|
+
description: Transaction-level ledger for payments, grouped by status and funding state.
|
|
5
|
+
sidebar_position: 32
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Component to display a list of payment transactions for a specific payment.
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-payment-transactions-list
|
|
18
|
+
account-id="acc_123"
|
|
19
|
+
auth-token="wct_reporting"
|
|
20
|
+
filters='{"payment_id":"pay_456"}'
|
|
21
|
+
/>`}</code>
|
|
22
|
+
</pre>
|
|
23
|
+
|
|
24
|
+
## Props, Events & Methods
|
|
25
|
+
|
|
26
|
+
<div
|
|
27
|
+
dangerouslySetInnerHTML={{
|
|
28
|
+
__html: PropsTable([
|
|
29
|
+
{
|
|
30
|
+
name: 'account-id',
|
|
31
|
+
type: 'string',
|
|
32
|
+
required: true,
|
|
33
|
+
description: 'Determines which transactions a user can view.',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'auth-token',
|
|
37
|
+
type: 'string',
|
|
38
|
+
required: true,
|
|
39
|
+
description: 'Token with `read:payments` scope.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'filters',
|
|
43
|
+
type: 'string | Record<string, unknown>',
|
|
44
|
+
description:
|
|
45
|
+
'JSON string or object specifying filter criteria (payment_id, status, date range).',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'enable-export',
|
|
49
|
+
type: 'boolean',
|
|
50
|
+
defaultValue: 'false',
|
|
51
|
+
description: 'Adds export controls when true.',
|
|
52
|
+
},
|
|
53
|
+
]),
|
|
54
|
+
}}
|
|
55
|
+
/>
|
|
56
|
+
|
|
57
|
+
### Events
|
|
58
|
+
|
|
59
|
+
- `filter-changed`: emits whenever the internal filter UI updates.
|
|
60
|
+
- `error-event`: surfaces API or token failures.
|
|
61
|
+
|
|
62
|
+
### Public methods
|
|
63
|
+
|
|
64
|
+
1. `refresh()` – Re-run the ledger query.
|
|
65
|
+
|
|
66
|
+
## Theming & Layout
|
|
67
|
+
|
|
68
|
+
<div
|
|
69
|
+
dangerouslySetInnerHTML={{
|
|
70
|
+
__html: PartsTable([
|
|
71
|
+
{
|
|
72
|
+
name: 'font-family',
|
|
73
|
+
description: 'Controls the font family for the component.',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'color',
|
|
77
|
+
description: 'Controls the text color.',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'background-color',
|
|
81
|
+
description: 'Controls the background color.',
|
|
82
|
+
},
|
|
83
|
+
]),
|
|
84
|
+
}}
|
|
85
|
+
/>
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: merchant-tools/payments-list/index
|
|
3
|
+
title: Payments List
|
|
4
|
+
description: Paginated table of payments with filtering, export, and quick actions for ops teams.
|
|
5
|
+
sidebar_position: 31
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Component to render a formated list of payments for the requested account.
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<div class="payments-report">
|
|
18
|
+
<justifi-filters
|
|
19
|
+
account-id="acc_123"
|
|
20
|
+
auth-token="wct_reporting"
|
|
21
|
+
target="payments"
|
|
22
|
+
></justifi-filters>
|
|
23
|
+
<justifi-payments-list
|
|
24
|
+
account-id="acc_123"
|
|
25
|
+
auth-token="wct_reporting"
|
|
26
|
+
columns="created_at,customer_name,payment_amount,status"
|
|
27
|
+
></justifi-payments-list>
|
|
28
|
+
</div>`}</code>
|
|
29
|
+
</pre>
|
|
30
|
+
|
|
31
|
+
## Props, Events & Methods
|
|
32
|
+
|
|
33
|
+
<div
|
|
34
|
+
dangerouslySetInnerHTML={{
|
|
35
|
+
__html: PropsTable([
|
|
36
|
+
{
|
|
37
|
+
name: 'account-id',
|
|
38
|
+
type: 'string',
|
|
39
|
+
required: true,
|
|
40
|
+
description: 'Scope results to the platform or sub-account.',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'auth-token',
|
|
44
|
+
type: 'string',
|
|
45
|
+
required: true,
|
|
46
|
+
description: 'Token with `read:payments` scope.',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'columns',
|
|
50
|
+
type: 'string',
|
|
51
|
+
defaultValue:
|
|
52
|
+
'created_at,customer_name,payment_amount,payment_description,status',
|
|
53
|
+
description:
|
|
54
|
+
'Comma-delimited list that controls which columns render and their order.',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'page-size',
|
|
58
|
+
type: 'number',
|
|
59
|
+
defaultValue: '25',
|
|
60
|
+
description: 'Override default pagination size.',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'enable-export',
|
|
64
|
+
type: 'boolean',
|
|
65
|
+
defaultValue: 'false',
|
|
66
|
+
description: 'Adds an export button that streams CSV data when true.',
|
|
67
|
+
},
|
|
68
|
+
]),
|
|
69
|
+
}}
|
|
70
|
+
/>
|
|
71
|
+
|
|
72
|
+
### Events
|
|
73
|
+
|
|
74
|
+
- `click-event`: emitted when users select a row or click an inline action; `event.detail` surfaces `payment_id`.
|
|
75
|
+
- `error-event`: surfaces API or token errors for logging.
|
|
76
|
+
|
|
77
|
+
### Public methods
|
|
78
|
+
|
|
79
|
+
1. `refresh()` – Re-run the underlying query (useful after applying filters).
|
|
80
|
+
2. `exportCSV()` – Programmatically trigger an export if `enable-export` is true.
|
|
81
|
+
|
|
82
|
+
## Theming & Layout
|
|
83
|
+
|
|
84
|
+
<div
|
|
85
|
+
dangerouslySetInnerHTML={{
|
|
86
|
+
__html: PartsTable([
|
|
87
|
+
{
|
|
88
|
+
name: 'font-family',
|
|
89
|
+
description: 'Controls the font family for the component.',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: 'color',
|
|
93
|
+
description: 'Controls the text color.',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'background-color',
|
|
97
|
+
description: 'Controls the background color.',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'button',
|
|
101
|
+
description: 'Button styles.',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: 'button-disabled',
|
|
105
|
+
description: 'Disabled button styles.',
|
|
106
|
+
},
|
|
107
|
+
]),
|
|
108
|
+
}}
|
|
109
|
+
/>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: merchant-tools/payout-details/index
|
|
3
|
+
title: Payout Details
|
|
4
|
+
description: Drill-down view for a single payout, including ledger items and bank destination info.
|
|
5
|
+
sidebar_position: 41
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Component to display detailed information about a specific payout.
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-payout-details
|
|
18
|
+
account-id="acc_123"
|
|
19
|
+
auth-token="wct_reporting"
|
|
20
|
+
payout-id="po_456"
|
|
21
|
+
/>`}</code>
|
|
22
|
+
</pre>
|
|
23
|
+
|
|
24
|
+
## Props, Events & Methods
|
|
25
|
+
|
|
26
|
+
<div
|
|
27
|
+
dangerouslySetInnerHTML={{
|
|
28
|
+
__html: PropsTable([
|
|
29
|
+
{
|
|
30
|
+
name: 'account-id',
|
|
31
|
+
type: 'string',
|
|
32
|
+
required: true,
|
|
33
|
+
description: 'Scope the payout to a platform or merchant.',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'auth-token',
|
|
37
|
+
type: 'string',
|
|
38
|
+
required: true,
|
|
39
|
+
description: 'Token with `read:payouts` scope.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'payout-id',
|
|
43
|
+
type: 'string',
|
|
44
|
+
required: true,
|
|
45
|
+
description: 'Identifier for the payout you want to view.',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'show-ledger',
|
|
49
|
+
type: 'boolean',
|
|
50
|
+
defaultValue: 'true',
|
|
51
|
+
description: 'Hide the ledger table when you only need summary data.',
|
|
52
|
+
},
|
|
53
|
+
]),
|
|
54
|
+
}}
|
|
55
|
+
/>
|
|
56
|
+
|
|
57
|
+
### Events
|
|
58
|
+
|
|
59
|
+
- `error-event`: Emits when payout data cannot be loaded.
|
|
60
|
+
|
|
61
|
+
### Public methods
|
|
62
|
+
|
|
63
|
+
1. `refresh()` – Reload payout data after remediation steps.
|
|
64
|
+
|
|
65
|
+
## Theming & Layout
|
|
66
|
+
|
|
67
|
+
<div
|
|
68
|
+
dangerouslySetInnerHTML={{
|
|
69
|
+
__html: PartsTable([
|
|
70
|
+
{
|
|
71
|
+
name: 'font-family',
|
|
72
|
+
description: 'Controls the font family for the component.',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'color',
|
|
76
|
+
description: 'Controls the text color.',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'background-color',
|
|
80
|
+
description: 'Controls the background color.',
|
|
81
|
+
},
|
|
82
|
+
]),
|
|
83
|
+
}}
|
|
84
|
+
/>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: merchant-tools/payout-transactions-list/index
|
|
3
|
+
title: Payout Transactions List
|
|
4
|
+
description: Ledger of transactions contributing to a payout, with filtering and export support.
|
|
5
|
+
sidebar_position: 42
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Component to display a list of payout transactions for a specific payout.
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-payout-transactions-list
|
|
18
|
+
account-id="acc_123"
|
|
19
|
+
auth-token="wct_reporting"
|
|
20
|
+
payout-id="po_456"
|
|
21
|
+
/>`}</code>
|
|
22
|
+
</pre>
|
|
23
|
+
|
|
24
|
+
## Props, Events & Methods
|
|
25
|
+
|
|
26
|
+
<div
|
|
27
|
+
dangerouslySetInnerHTML={{
|
|
28
|
+
__html: PropsTable([
|
|
29
|
+
{
|
|
30
|
+
name: 'account-id',
|
|
31
|
+
type: 'string',
|
|
32
|
+
required: true,
|
|
33
|
+
description: 'Authorization context.',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'auth-token',
|
|
37
|
+
type: 'string',
|
|
38
|
+
required: true,
|
|
39
|
+
description: 'Token with `read:payouts` scope.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'payout-id',
|
|
43
|
+
type: 'string',
|
|
44
|
+
required: true,
|
|
45
|
+
description: 'Payout whose transactions should be displayed.',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'columns',
|
|
49
|
+
type: 'string',
|
|
50
|
+
defaultValue: 'type,amount,source,status',
|
|
51
|
+
description: 'Column ordering and selection.',
|
|
52
|
+
},
|
|
53
|
+
]),
|
|
54
|
+
}}
|
|
55
|
+
/>
|
|
56
|
+
|
|
57
|
+
### Events
|
|
58
|
+
|
|
59
|
+
- `click-event`: row selection event that surfaces `transaction_id`.
|
|
60
|
+
|
|
61
|
+
### Public methods
|
|
62
|
+
|
|
63
|
+
1. `refresh()` – Reloads the ledger.
|
|
64
|
+
|
|
65
|
+
## Theming & Layout
|
|
66
|
+
|
|
67
|
+
<div
|
|
68
|
+
dangerouslySetInnerHTML={{
|
|
69
|
+
__html: PartsTable([
|
|
70
|
+
{
|
|
71
|
+
name: 'font-family',
|
|
72
|
+
description: 'Controls the font family for the component.',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'color',
|
|
76
|
+
description: 'Controls the text color.',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'background-color',
|
|
80
|
+
description: 'Controls the background color.',
|
|
81
|
+
},
|
|
82
|
+
]),
|
|
83
|
+
}}
|
|
84
|
+
/>
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: merchant-tools/payouts-list/index
|
|
3
|
+
title: Payouts List
|
|
4
|
+
description: Reporting table for outbound payouts including status, destination, and expected arrival.
|
|
5
|
+
sidebar_position: 40
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Component to render a formated list of payouts for the requested account.
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-payouts-list
|
|
18
|
+
account-id="acc_123"
|
|
19
|
+
auth-token="wct_reporting"
|
|
20
|
+
columns="created_at,amount,destination,status"
|
|
21
|
+
/>`}</code>
|
|
22
|
+
</pre>
|
|
23
|
+
|
|
24
|
+
## Props, Events & Methods
|
|
25
|
+
|
|
26
|
+
<div
|
|
27
|
+
dangerouslySetInnerHTML={{
|
|
28
|
+
__html: PropsTable([
|
|
29
|
+
{
|
|
30
|
+
name: 'account-id',
|
|
31
|
+
type: 'string',
|
|
32
|
+
required: true,
|
|
33
|
+
description: 'Filters payouts to the merchant or platform account.',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'auth-token',
|
|
37
|
+
type: 'string',
|
|
38
|
+
required: true,
|
|
39
|
+
description: 'Token with `read:payouts` scope.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'columns',
|
|
43
|
+
type: 'string',
|
|
44
|
+
defaultValue: 'created_at,amount,destination,status,expected_arrival',
|
|
45
|
+
description: 'Comma-separated list controlling table columns.',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'timezone',
|
|
49
|
+
type: 'string',
|
|
50
|
+
defaultValue: 'UTC',
|
|
51
|
+
description: 'Controls formatting for timestamps.',
|
|
52
|
+
},
|
|
53
|
+
]),
|
|
54
|
+
}}
|
|
55
|
+
/>
|
|
56
|
+
|
|
57
|
+
### Events
|
|
58
|
+
|
|
59
|
+
- `click-event`: Fires when a row is clicked; `detail.payout_id` indicates which payout to drill into.
|
|
60
|
+
|
|
61
|
+
### Public methods
|
|
62
|
+
|
|
63
|
+
1. `refresh()` – Reload the payouts query.
|
|
64
|
+
|
|
65
|
+
## Theming & Layout
|
|
66
|
+
|
|
67
|
+
<div
|
|
68
|
+
dangerouslySetInnerHTML={{
|
|
69
|
+
__html: PartsTable([
|
|
70
|
+
{
|
|
71
|
+
name: 'font-family',
|
|
72
|
+
description: 'Controls the font family for the component.',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'color',
|
|
76
|
+
description: 'Controls the text color.',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'background-color',
|
|
80
|
+
description: 'Controls the background color.',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'button',
|
|
84
|
+
description: 'Button styles.',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'button-disabled',
|
|
88
|
+
description: 'Disabled button styles.',
|
|
89
|
+
},
|
|
90
|
+
]),
|
|
91
|
+
}}
|
|
92
|
+
/>
|