@payabli/sdk-node 0.0.109 → 0.0.110
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/README.md +5 -1
- package/dist/cjs/Client.d.ts +2 -2
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/bill/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/boarding/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/chargeBacks/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.ts +1 -2
- package/dist/cjs/api/resources/checkCapture/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/cloud/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/customer/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/export/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/import/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/invoice/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/lineItem/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/errors/CaptureError.js +1 -1
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +8 -10
- package/dist/cjs/api/resources/moneyOut/client/Client.js +6 -8
- package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts +6 -8
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.d.ts +30 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.js +5 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.ts +3 -10
- package/dist/cjs/api/resources/moneyOutTypes/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/index.js +1 -0
- package/dist/cjs/api/resources/notification/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/ocr/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/organization/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/organization/client/requests/AddOrganizationRequest.d.ts +1 -2
- package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/paypoint/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/query/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/query/client/requests/ListTransfersRequest.d.ts +3 -0
- package/dist/cjs/api/resources/query/client/requests/ListVcardsOrgRequest.d.ts +0 -2
- package/dist/cjs/api/resources/query/client/requests/ListVcardsRequest.d.ts +0 -2
- package/dist/cjs/api/resources/queryTypes/types/ListOrganizationsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.ts +7 -7
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesResponse.d.ts +10 -10
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferDetailResponse.d.ts +72 -72
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferResponse.d.ts +2 -2
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferSummary.d.ts +23 -18
- package/dist/cjs/api/resources/statistic/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/subscription/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/templates/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/user/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/vendor/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/wallet/client/Client.d.ts +2 -2
- package/dist/cjs/api/types/AdditionalData.d.ts +1 -1
- package/dist/cjs/api/types/IdempotencyKey.d.ts +1 -1
- package/dist/cjs/api/types/Transfer.d.ts +18 -6
- package/dist/cjs/api/types/TransferQueryResponse.d.ts +10 -6
- package/dist/cjs/core/fetcher/Fetcher.d.ts +1 -1
- package/dist/cjs/core/fetcher/requestWithRetries.js +34 -2
- package/dist/cjs/core/headers.d.ts +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +2 -2
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/bill/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/boarding/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/chargeBacks/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.mts +1 -2
- package/dist/esm/api/resources/checkCapture/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/cloud/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/customer/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/export/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/import/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/invoice/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/lineItem/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/errors/CaptureError.mjs +1 -1
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +8 -10
- package/dist/esm/api/resources/moneyOut/client/Client.mjs +6 -8
- package/dist/esm/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.mts +6 -8
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.d.mts +30 -0
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.mjs +4 -0
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.mts +3 -10
- package/dist/esm/api/resources/moneyOutTypes/types/index.d.mts +1 -0
- package/dist/esm/api/resources/moneyOutTypes/types/index.mjs +1 -0
- package/dist/esm/api/resources/notification/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/ocr/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/organization/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/organization/client/requests/AddOrganizationRequest.d.mts +1 -2
- package/dist/esm/api/resources/paymentLink/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/paypoint/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/query/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/query/client/requests/ListTransfersRequest.d.mts +3 -0
- package/dist/esm/api/resources/query/client/requests/ListVcardsOrgRequest.d.mts +0 -2
- package/dist/esm/api/resources/query/client/requests/ListVcardsRequest.d.mts +0 -2
- package/dist/esm/api/resources/queryTypes/types/ListOrganizationsResponse.d.mts +2 -2
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.mts +7 -7
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesResponse.d.mts +10 -10
- package/dist/esm/api/resources/queryTypes/types/QueryTransferDetailResponse.d.mts +72 -72
- package/dist/esm/api/resources/queryTypes/types/QueryTransferResponse.d.mts +2 -2
- package/dist/esm/api/resources/queryTypes/types/QueryTransferSummary.d.mts +23 -18
- package/dist/esm/api/resources/statistic/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/subscription/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/templates/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/user/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/vendor/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/wallet/client/Client.d.mts +2 -2
- package/dist/esm/api/types/AdditionalData.d.mts +1 -1
- package/dist/esm/api/types/IdempotencyKey.d.mts +1 -1
- package/dist/esm/api/types/Transfer.d.mts +18 -6
- package/dist/esm/api/types/TransferQueryResponse.d.mts +10 -6
- package/dist/esm/core/fetcher/Fetcher.d.mts +1 -1
- package/dist/esm/core/fetcher/requestWithRetries.mjs +34 -2
- package/dist/esm/core/headers.d.mts +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -48,6 +48,9 @@ export interface ListTransfersRequest {
|
|
|
48
48
|
* - `bankAccountNumber` (ct, nct, ne, eq)
|
|
49
49
|
* - `bankRoutingNumber` (ct, nct, ne, eq)
|
|
50
50
|
* - `batchCurrency` (in, nin, ne, eq)
|
|
51
|
+
* - `parentOrgName` (ct, nct, ne, eq)
|
|
52
|
+
* - `parentOrgId` (ct, nct, ne, eq)
|
|
53
|
+
* - `externalPaypointID` (ct, nct)
|
|
51
54
|
*/
|
|
52
55
|
parameters?: Record<string, string | undefined>;
|
|
53
56
|
/** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
|
|
@@ -38,9 +38,7 @@ export interface ListVcardsOrgRequest {
|
|
|
38
38
|
* - `cardToken` (ct, nct, eq, ne)
|
|
39
39
|
* - `lastFour` (ct, nct, eq, ne)
|
|
40
40
|
* - `expirationDate` (ct, nct, eq, ne)
|
|
41
|
-
* - `mcc` (ct, nct, eq, ne)
|
|
42
41
|
* - `payoutId` (ct, nct, eq, ne, in, nin)
|
|
43
|
-
* - `customerId` (ct, nct, eq, ne, in, nin)
|
|
44
42
|
* - `vendorId` (ct, nct, eq, ne, in, nin)
|
|
45
43
|
* - `miscData1` (ct, nct, eq, ne)
|
|
46
44
|
* - `miscData2` (ct, nct, eq, ne)
|
|
@@ -38,9 +38,7 @@ export interface ListVcardsRequest {
|
|
|
38
38
|
* - `cardToken` (ct, nct, eq, ne)
|
|
39
39
|
* - `lastFour` (ct, nct, eq, ne)
|
|
40
40
|
* - `expirationDate` (ct, nct, eq, ne)
|
|
41
|
-
* - `mcc` (ct, nct, eq, ne)
|
|
42
41
|
* - `payoutId` (ct, nct, eq, ne, in, nin)
|
|
43
|
-
* - `customerId` (ct, nct, eq, ne, in, nin)
|
|
44
42
|
* - `vendorId` (ct, nct, eq, ne, in, nin)
|
|
45
43
|
* - `miscData1` (ct, nct, eq, ne)
|
|
46
44
|
* - `miscData2` (ct, nct, eq, ne)
|
|
@@ -15,7 +15,7 @@ export declare namespace QueryBatchesDetailResponse {
|
|
|
15
15
|
interface Item {
|
|
16
16
|
Id: number;
|
|
17
17
|
Method: string;
|
|
18
|
-
WalletType
|
|
18
|
+
WalletType: string | null;
|
|
19
19
|
SettledAmount: number;
|
|
20
20
|
Type: string;
|
|
21
21
|
BatchNumber: Payabli.BatchNumber;
|
|
@@ -30,10 +30,10 @@ export declare namespace QueryBatchesDetailResponse {
|
|
|
30
30
|
NetAmount?: Payabli.Netamountnullable;
|
|
31
31
|
Operation: Payabli.Operation;
|
|
32
32
|
Category: Payabli.Category;
|
|
33
|
-
Source
|
|
33
|
+
Source: Payabli.Source | null;
|
|
34
34
|
Status: number;
|
|
35
35
|
TransactionTime: Payabli.TransactionTime;
|
|
36
|
-
Customer
|
|
36
|
+
Customer: Payabli.QueryTransactionPayorData | null;
|
|
37
37
|
SettlementDate: string;
|
|
38
38
|
PaymentSettlementStatus: number;
|
|
39
39
|
BatchStatus: number;
|
|
@@ -42,12 +42,12 @@ export declare namespace QueryBatchesDetailResponse {
|
|
|
42
42
|
MaskedAccount: Payabli.Maskedaccount;
|
|
43
43
|
CreatedAt: Payabli.CreatedAt;
|
|
44
44
|
PaypointLegalname: Payabli.Legalname;
|
|
45
|
-
ResponseData
|
|
45
|
+
ResponseData: Payabli.QueryResponseData | null;
|
|
46
46
|
PaypointDbaname: Payabli.Dbaname;
|
|
47
47
|
ParentOrgName: Payabli.OrgParentName;
|
|
48
48
|
ParentOrgId: number;
|
|
49
49
|
PaypointEntryname: Payabli.Entrypointfield;
|
|
50
|
-
DeviceId
|
|
50
|
+
DeviceId: Payabli.Device | null;
|
|
51
51
|
RetrievalId: Payabli.RetrievalId;
|
|
52
52
|
ChargebackId: Payabli.ChargebackId;
|
|
53
53
|
AchHolderType: Payabli.AchHolderType;
|
|
@@ -64,7 +64,7 @@ export declare namespace QueryBatchesDetailResponse {
|
|
|
64
64
|
splitFundingInstructions?: Payabli.SplitFunding;
|
|
65
65
|
TotalAmount: number;
|
|
66
66
|
CfeeTransactions: Payabli.QueryCFeeTransaction[];
|
|
67
|
-
invoiceData
|
|
67
|
+
invoiceData: Payabli.BillData | null;
|
|
68
68
|
TransactionEvents: Payabli.QueryTransactionEvents[];
|
|
69
69
|
externalPaypointID: Payabli.ExternalPaypointId;
|
|
70
70
|
isHold: number;
|
|
@@ -80,6 +80,6 @@ export declare namespace QueryBatchesDetailResponse {
|
|
|
80
80
|
totalNetAmount: number;
|
|
81
81
|
totalPages: Payabli.Totalpages;
|
|
82
82
|
pageSize: Payabli.Pagesize;
|
|
83
|
-
pageidentifier
|
|
83
|
+
pageidentifier: Payabli.PageIdentifier | null;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -49,9 +49,9 @@ import * as Payabli from "../../../index.js";
|
|
|
49
49
|
* BatchType: 0,
|
|
50
50
|
* Method: "combined",
|
|
51
51
|
* ExpectedDepositDate: "2025-08-26T00:00:00Z",
|
|
52
|
-
* DepositDate:
|
|
52
|
+
* DepositDate: null,
|
|
53
53
|
* TransferDate: "2025-08-26T00:00:00Z",
|
|
54
|
-
* Transfer:
|
|
54
|
+
* Transfer: null
|
|
55
55
|
* }, {
|
|
56
56
|
* IdBatch: 1043,
|
|
57
57
|
* BatchNumber: "BT-2023041817-187",
|
|
@@ -80,9 +80,9 @@ import * as Payabli from "../../../index.js";
|
|
|
80
80
|
* BatchType: 0,
|
|
81
81
|
* Method: "card",
|
|
82
82
|
* ExpectedDepositDate: "2023-04-19T00:00:00Z",
|
|
83
|
-
* DepositDate:
|
|
83
|
+
* DepositDate: null,
|
|
84
84
|
* TransferDate: "2025-09-02T00:00:00Z",
|
|
85
|
-
* Transfer:
|
|
85
|
+
* Transfer: null
|
|
86
86
|
* }, {
|
|
87
87
|
* IdBatch: 1012,
|
|
88
88
|
* BatchNumber: "BT-2023041421-187",
|
|
@@ -123,7 +123,7 @@ import * as Payabli from "../../../index.js";
|
|
|
123
123
|
* BatchType: 0,
|
|
124
124
|
* Method: "card",
|
|
125
125
|
* ExpectedDepositDate: "2023-04-15T00:00:00Z",
|
|
126
|
-
* DepositDate:
|
|
126
|
+
* DepositDate: null,
|
|
127
127
|
* TransferDate: "2025-09-02T00:00:00Z",
|
|
128
128
|
* Transfer: {
|
|
129
129
|
* TransferId: 5998,
|
|
@@ -196,13 +196,13 @@ export declare namespace QueryBatchesResponse {
|
|
|
196
196
|
/** The batch type. */
|
|
197
197
|
BatchType: number | null;
|
|
198
198
|
/** The payment method used. */
|
|
199
|
-
Method
|
|
200
|
-
ExpectedDepositDate
|
|
201
|
-
DepositDate
|
|
199
|
+
Method: string | null;
|
|
200
|
+
ExpectedDepositDate: Payabli.ExpectedDepositDate | null;
|
|
201
|
+
DepositDate: Payabli.DepositDate | null;
|
|
202
202
|
/** The batch transfer date. */
|
|
203
|
-
TransferDate
|
|
203
|
+
TransferDate: string | null;
|
|
204
204
|
/** Transfer details for the batch. */
|
|
205
|
-
Transfer
|
|
205
|
+
Transfer: Payabli.QueryBatchesTransfer | null;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
}
|
|
@@ -4,123 +4,123 @@
|
|
|
4
4
|
import * as Payabli from "../../../index.js";
|
|
5
5
|
export interface QueryTransferDetailResponse {
|
|
6
6
|
/** List of transfer detail records */
|
|
7
|
-
Records
|
|
7
|
+
Records: QueryTransferDetailResponse.Records.Item[];
|
|
8
8
|
/** Summary of the transfer details query */
|
|
9
|
-
Summary
|
|
9
|
+
Summary: Payabli.QueryTransferSummary;
|
|
10
10
|
}
|
|
11
11
|
export declare namespace QueryTransferDetailResponse {
|
|
12
12
|
type Records = Records.Item[];
|
|
13
13
|
namespace Records {
|
|
14
14
|
interface Item {
|
|
15
15
|
/** Unique identifier for the transfer detail record */
|
|
16
|
-
transferDetailId
|
|
16
|
+
transferDetailId: number | null;
|
|
17
17
|
/** The ID of the transfer this detail belongs to */
|
|
18
|
-
transferId
|
|
18
|
+
transferId: number | null;
|
|
19
19
|
/** The transaction ID in Payabli's system */
|
|
20
|
-
transactionId
|
|
20
|
+
transactionId: string | null;
|
|
21
21
|
/** External transaction reference number */
|
|
22
|
-
transactionNumber
|
|
22
|
+
transactionNumber: string | null;
|
|
23
23
|
/** The transaction type (credit or debit) */
|
|
24
|
-
type
|
|
24
|
+
type: string | null;
|
|
25
25
|
/** A field used to categorize the transaction details. Values include: auth, decline, refund, adj, cb, split */
|
|
26
|
-
category
|
|
26
|
+
category: string | null;
|
|
27
27
|
/** The gross amount of the transaction */
|
|
28
|
-
grossAmount
|
|
28
|
+
grossAmount: number | null;
|
|
29
29
|
/** Chargeback amount deducted from transaction */
|
|
30
|
-
chargeBackAmount
|
|
30
|
+
chargeBackAmount: number | null;
|
|
31
31
|
/** ACH return amount deducted from transaction */
|
|
32
|
-
returnedAmount
|
|
32
|
+
returnedAmount: number | null;
|
|
33
33
|
/** Refund amount deducted from transaction */
|
|
34
|
-
refundAmount
|
|
34
|
+
refundAmount: number | null;
|
|
35
35
|
/** Amount being held for fraud or risk concerns */
|
|
36
|
-
holdAmount
|
|
36
|
+
holdAmount: number | null;
|
|
37
37
|
/** Previously held funds that have been released after a risk review */
|
|
38
|
-
releasedAmount
|
|
38
|
+
releasedAmount: number | null;
|
|
39
39
|
/** Charges applied for transactions and services */
|
|
40
|
-
billingFeesAmount
|
|
40
|
+
billingFeesAmount: number | null;
|
|
41
41
|
/** Payments captured in the batch cycle that are deposited separately. For example, checks or cash payments recorded in the batch but not deposited via Payabli, or card brands making a direct transfer in certain situations. */
|
|
42
|
-
thirdPartyPaidAmount
|
|
42
|
+
thirdPartyPaidAmount: number | null;
|
|
43
43
|
/** Corrections applied to Billing & Fees charges */
|
|
44
|
-
adjustmentsAmount
|
|
44
|
+
adjustmentsAmount: number | null;
|
|
45
45
|
/** The net amount after all deductions */
|
|
46
|
-
netTransferAmount
|
|
46
|
+
netTransferAmount: number | null;
|
|
47
47
|
/** Total amount directed to split funding destinations */
|
|
48
|
-
splitFundingAmount
|
|
49
|
-
billingFeesDetails
|
|
50
|
-
ParentOrgName
|
|
51
|
-
PaypointDbaname
|
|
52
|
-
PaypointLegalname
|
|
48
|
+
splitFundingAmount: number | null;
|
|
49
|
+
billingFeesDetails: Payabli.BillingFeeDetail[] | null;
|
|
50
|
+
ParentOrgName: Payabli.OrgParentName | null;
|
|
51
|
+
PaypointDbaname: Payabli.Dbaname | null;
|
|
52
|
+
PaypointLegalname: Payabli.Legalname | null;
|
|
53
53
|
/** The paypoint's entryname */
|
|
54
|
-
PaypointEntryname
|
|
54
|
+
PaypointEntryname: string | null;
|
|
55
55
|
/** The transaction ID for the payment */
|
|
56
|
-
PaymentTransId
|
|
56
|
+
PaymentTransId: string | null;
|
|
57
57
|
/** The payment connector used to process the transaction */
|
|
58
|
-
ConnectorName
|
|
59
|
-
ExternalProcessorInformation
|
|
58
|
+
ConnectorName: string | null;
|
|
59
|
+
ExternalProcessorInformation: Payabli.ExternalProcessorInformation | null;
|
|
60
60
|
/** Internal identifier used for processing */
|
|
61
|
-
GatewayTransId
|
|
62
|
-
OrderId
|
|
61
|
+
GatewayTransId: string | null;
|
|
62
|
+
OrderId: Payabli.OrderId | null;
|
|
63
63
|
/** Payment method used: card, ach, or wallet */
|
|
64
|
-
Method
|
|
65
|
-
BatchNumber
|
|
64
|
+
Method: string | null;
|
|
65
|
+
BatchNumber: Payabli.BatchNumber | null;
|
|
66
66
|
/** The amount of the batch */
|
|
67
|
-
BatchAmount
|
|
67
|
+
BatchAmount: number | null;
|
|
68
68
|
/** Unique ID for customer linked to the transaction */
|
|
69
|
-
PayorId
|
|
70
|
-
PaymentData
|
|
69
|
+
PayorId: Payabli.PayorId | null;
|
|
70
|
+
PaymentData: Payabli.QueryPaymentData | null;
|
|
71
71
|
/**
|
|
72
72
|
* Status of transaction. See [the
|
|
73
73
|
* docs](/developers/references/money-in-statuses#money-in-transaction-status) for a
|
|
74
74
|
* full reference.
|
|
75
75
|
*/
|
|
76
|
-
TransStatus
|
|
77
|
-
PaypointId
|
|
76
|
+
TransStatus: number | null;
|
|
77
|
+
PaypointId: Payabli.PaypointId | null;
|
|
78
78
|
/** Transaction total amount (including service fee or sub-charge) */
|
|
79
|
-
TotalAmount
|
|
79
|
+
TotalAmount: number | null;
|
|
80
80
|
/** Net amount paid */
|
|
81
|
-
NetAmount
|
|
82
|
-
FeeAmount
|
|
81
|
+
NetAmount: (Payabli.Netamountnullable | undefined) | null;
|
|
82
|
+
FeeAmount: Payabli.FeeAmount | null;
|
|
83
83
|
/** Settlement status for transaction. See [the docs](/developers/references/money-in-statuses#payment-funding-status) for a full reference. */
|
|
84
|
-
SettlementStatus
|
|
85
|
-
Operation
|
|
86
|
-
ResponseData
|
|
87
|
-
Source
|
|
84
|
+
SettlementStatus: number | null;
|
|
85
|
+
Operation: Payabli.Operation | null;
|
|
86
|
+
ResponseData: Payabli.QueryResponseData | null;
|
|
87
|
+
Source: Payabli.Source | null;
|
|
88
88
|
/** Reference to the subscription or schedule that originated the transaction */
|
|
89
|
-
ScheduleReference
|
|
90
|
-
OrgId
|
|
91
|
-
RefundId
|
|
92
|
-
ReturnedId
|
|
93
|
-
ChargebackId
|
|
94
|
-
RetrievalId
|
|
89
|
+
ScheduleReference: number | null;
|
|
90
|
+
OrgId: Payabli.Orgid | null;
|
|
91
|
+
RefundId: Payabli.RefundId | null;
|
|
92
|
+
ReturnedId: Payabli.ReturnedId | null;
|
|
93
|
+
ChargebackId: Payabli.ChargebackId | null;
|
|
94
|
+
RetrievalId: Payabli.RetrievalId | null;
|
|
95
95
|
/** Additional transaction data */
|
|
96
|
-
TransAdditionalData
|
|
96
|
+
TransAdditionalData: unknown | null;
|
|
97
97
|
/** Associated invoice data */
|
|
98
|
-
invoiceData
|
|
99
|
-
EntrypageId
|
|
100
|
-
externalPaypointID
|
|
98
|
+
invoiceData: Payabli.BillData | null;
|
|
99
|
+
EntrypageId: Payabli.EntrypageId | null;
|
|
100
|
+
externalPaypointID: Payabli.ExternalPaypointId | null;
|
|
101
101
|
/** Indicates whether the ACH account has been validated */
|
|
102
|
-
IsValidatedACH
|
|
102
|
+
IsValidatedACH: boolean | null;
|
|
103
103
|
/** Transaction date and time, in UTC */
|
|
104
|
-
TransactionTime
|
|
105
|
-
Customer
|
|
106
|
-
splitFundingInstructions
|
|
107
|
-
CfeeTransactions
|
|
108
|
-
TransactionEvents
|
|
109
|
-
PendingFeeAmount
|
|
110
|
-
RiskFlagged
|
|
111
|
-
RiskFlaggedOn
|
|
112
|
-
RiskStatus
|
|
113
|
-
RiskReason
|
|
114
|
-
RiskAction
|
|
115
|
-
RiskActionCode
|
|
116
|
-
DeviceId
|
|
117
|
-
AchSecCode
|
|
118
|
-
AchHolderType
|
|
119
|
-
IpAddress
|
|
104
|
+
TransactionTime: (Payabli.DatetimeNullable | undefined) | null;
|
|
105
|
+
Customer: Payabli.QueryTransactionPayorData | null;
|
|
106
|
+
splitFundingInstructions: (Payabli.SplitFunding | undefined) | null;
|
|
107
|
+
CfeeTransactions: Payabli.QueryCFeeTransaction[] | null;
|
|
108
|
+
TransactionEvents: Payabli.QueryTransactionEvents[] | null;
|
|
109
|
+
PendingFeeAmount: (Payabli.PendingFeeAmount | undefined) | null;
|
|
110
|
+
RiskFlagged: (Payabli.RiskFlagged | undefined) | null;
|
|
111
|
+
RiskFlaggedOn: (Payabli.RiskFlaggedOn | undefined) | null;
|
|
112
|
+
RiskStatus: Payabli.RiskStatus | null;
|
|
113
|
+
RiskReason: Payabli.RiskReason | null;
|
|
114
|
+
RiskAction: Payabli.RiskAction | null;
|
|
115
|
+
RiskActionCode: (Payabli.RiskActionCode | undefined) | null;
|
|
116
|
+
DeviceId: (Payabli.DeviceId | undefined) | null;
|
|
117
|
+
AchSecCode: Payabli.AchSecCode | null;
|
|
118
|
+
AchHolderType: Payabli.AchHolderType | null;
|
|
119
|
+
IpAddress: Payabli.IpAddress | null;
|
|
120
120
|
/** Indicates if this was a same-day ACH transaction. */
|
|
121
|
-
IsSameDayACH
|
|
121
|
+
IsSameDayACH: boolean | null;
|
|
122
122
|
/** Type of wallet used for the transaction (if applicable) */
|
|
123
|
-
WalletType
|
|
123
|
+
WalletType: string | null;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as Payabli from "../../../index.js";
|
|
5
5
|
export interface QueryTransferResponse {
|
|
6
6
|
/** Summary information about the transfers. */
|
|
7
|
-
Summary
|
|
7
|
+
Summary: Payabli.QueryTransferSummary;
|
|
8
8
|
/** List of transfer transaction records. */
|
|
9
|
-
Records
|
|
9
|
+
Records: Payabli.TransactionQueryRecords[];
|
|
10
10
|
}
|
|
@@ -4,39 +4,44 @@
|
|
|
4
4
|
import * as Payabli from "../../../index.js";
|
|
5
5
|
export interface QueryTransferSummary {
|
|
6
6
|
/** ACH returns deducted from the batch. */
|
|
7
|
-
achReturns
|
|
7
|
+
achReturns: number | null;
|
|
8
8
|
/** Corrections applied to Billing & Fees charges. */
|
|
9
|
-
adjustments
|
|
9
|
+
adjustments: number | null;
|
|
10
10
|
/** Charges applied for transactions and services. */
|
|
11
|
-
billingFees
|
|
11
|
+
billingFees: number | null;
|
|
12
12
|
/** Chargebacks deducted from batch. */
|
|
13
|
-
chargebacks
|
|
13
|
+
chargebacks: number | null;
|
|
14
14
|
/** The gross batch amount before deductions. */
|
|
15
|
-
grossTransferAmount
|
|
15
|
+
grossTransferAmount: number | null;
|
|
16
16
|
/** Previously held funds that have been released after a risk review. */
|
|
17
|
-
releaseAmount
|
|
17
|
+
releaseAmount: number | null;
|
|
18
18
|
/** Payments captured in the batch cycle that are deposited separately. For example, checks or cash payments recorded in the batch but not deposited via Payabli, or card brands making a direct transfer in certain situations. */
|
|
19
|
-
thirdPartyPaid
|
|
19
|
+
thirdPartyPaid: number | null;
|
|
20
20
|
/** The gross batch amount minus service fees. */
|
|
21
|
-
totalNetAmountTransfer
|
|
21
|
+
totalNetAmountTransfer: number | null;
|
|
22
22
|
/** Service fees are any pass-through fees charged to the customer at the time of payment. These aren't transferred to the merchant when the batch is transferred and funded. */
|
|
23
|
-
serviceFees
|
|
23
|
+
serviceFees: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* The net batch amount is the gross batch amount minus any returns, refunds,
|
|
26
|
+
* billing and fees items, chargebacks, adjustments, and third party payments.
|
|
27
|
+
*/
|
|
28
|
+
netBatchAmount: number | null;
|
|
24
29
|
/** The transfer amount is the net batch amount plus or minus any returns, refunds, billing and fees items, chargebacks, adjustments, and third party payments. This is the amount from the batch that is transferred to the merchant bank account. */
|
|
25
|
-
transferAmount
|
|
30
|
+
transferAmount: number | null;
|
|
26
31
|
/** Refunds deducted from batch. */
|
|
27
|
-
refunds
|
|
32
|
+
refunds: number | null;
|
|
28
33
|
/** Funds being held for fraud or risk concerns. */
|
|
29
|
-
heldAmount
|
|
34
|
+
heldAmount: number | null;
|
|
30
35
|
/** Number of records in the response. */
|
|
31
|
-
totalRecords
|
|
36
|
+
totalRecords: Payabli.Totalrecords | null;
|
|
32
37
|
/** The total sum of the transfers in the response. */
|
|
33
|
-
totalAmount
|
|
38
|
+
totalAmount: number | null;
|
|
34
39
|
/** The total sum of the transfers in the response. */
|
|
35
|
-
totalNetAmount
|
|
40
|
+
totalNetAmount: number | null;
|
|
36
41
|
/** Number of pages in the response. */
|
|
37
|
-
totalPages
|
|
42
|
+
totalPages: Payabli.Totalpages | null;
|
|
38
43
|
/** Number of records per page. */
|
|
39
|
-
pageSize
|
|
44
|
+
pageSize: Payabli.Pagesize | null;
|
|
40
45
|
/** Auxiliary validation used internally by payment pages and components. */
|
|
41
|
-
pageidentifier
|
|
46
|
+
pageidentifier: Payabli.PageIdentifier | null;
|
|
42
47
|
}
|
|
@@ -11,7 +11,7 @@ export declare namespace Statistic {
|
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
17
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -23,7 +23,7 @@ export declare namespace Statistic {
|
|
|
23
23
|
/** Additional query string parameters to include in the request. */
|
|
24
24
|
queryParams?: Record<string, unknown>;
|
|
25
25
|
/** Additional headers to include in the request. */
|
|
26
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare class Statistic {
|
|
@@ -11,7 +11,7 @@ export declare namespace Subscription {
|
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
17
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -23,7 +23,7 @@ export declare namespace Subscription {
|
|
|
23
23
|
/** Additional query string parameters to include in the request. */
|
|
24
24
|
queryParams?: Record<string, unknown>;
|
|
25
25
|
/** Additional headers to include in the request. */
|
|
26
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare class Subscription {
|
|
@@ -11,7 +11,7 @@ export declare namespace Templates {
|
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
17
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -23,7 +23,7 @@ export declare namespace Templates {
|
|
|
23
23
|
/** Additional query string parameters to include in the request. */
|
|
24
24
|
queryParams?: Record<string, unknown>;
|
|
25
25
|
/** Additional headers to include in the request. */
|
|
26
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare class Templates {
|
|
@@ -11,7 +11,7 @@ export declare namespace TokenStorage {
|
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
17
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -23,7 +23,7 @@ export declare namespace TokenStorage {
|
|
|
23
23
|
/** Additional query string parameters to include in the request. */
|
|
24
24
|
queryParams?: Record<string, unknown>;
|
|
25
25
|
/** Additional headers to include in the request. */
|
|
26
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare class TokenStorage {
|
|
@@ -11,7 +11,7 @@ export declare namespace User {
|
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
17
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -23,7 +23,7 @@ export declare namespace User {
|
|
|
23
23
|
/** Additional query string parameters to include in the request. */
|
|
24
24
|
queryParams?: Record<string, unknown>;
|
|
25
25
|
/** Additional headers to include in the request. */
|
|
26
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare class User {
|
|
@@ -11,7 +11,7 @@ export declare namespace Vendor {
|
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
17
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -23,7 +23,7 @@ export declare namespace Vendor {
|
|
|
23
23
|
/** Additional query string parameters to include in the request. */
|
|
24
24
|
queryParams?: Record<string, unknown>;
|
|
25
25
|
/** Additional headers to include in the request. */
|
|
26
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare class Vendor {
|
|
@@ -11,7 +11,7 @@ export declare namespace Wallet {
|
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
17
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -23,7 +23,7 @@ export declare namespace Wallet {
|
|
|
23
23
|
/** Additional query string parameters to include in the request. */
|
|
24
24
|
queryParams?: Record<string, unknown>;
|
|
25
25
|
/** Additional headers to include in the request. */
|
|
26
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare class Wallet {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* Custom dictionary of key:value pairs. You can use this field to store any data related to the object or for your system. If you are using [custom identifiers](/developers/developer-guides/entities-customers), pass those in this object. Example usage:
|
|
5
|
+
* Custom dictionary of key:value pairs. You can use this field to store any data related to the object or for your system. If you are using [custom identifiers](/developers/developer-guides/entities-customers), pass those in this object. Max length for a value is 100 characters. Example usage:
|
|
6
6
|
*
|
|
7
7
|
* ```json
|
|
8
8
|
* {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* _Optional but recommended_ A unique ID that you can include to prevent duplicating objects or transactions in the case that a request is sent more than once. This key isn't generated in Payabli, you must generate it yourself.
|
|
5
|
+
* _Optional but recommended_ A unique ID that you can include to prevent duplicating objects or transactions in the case that a request is sent more than once. This key isn't generated in Payabli, you must generate it yourself. This key persists for 2 minutes. After 2 minutes, you can reuse the key if needed.
|
|
6
6
|
*/
|
|
7
7
|
export type IdempotencyKey = string;
|
|
@@ -12,10 +12,14 @@ import * as Payabli from "../index.js";
|
|
|
12
12
|
* batchRecords: 1,
|
|
13
13
|
* transferIdentifier: "bbcbfed7-e535-45fe-8d62-000000",
|
|
14
14
|
* batchId: 111430,
|
|
15
|
-
* paypointEntryName: "
|
|
16
|
-
* paypointLegalName: "
|
|
17
|
-
* paypointDbaName: "
|
|
15
|
+
* paypointEntryName: "47ae3de37",
|
|
16
|
+
* paypointLegalName: "Gruzya Outdoor Outfitters LLC",
|
|
17
|
+
* paypointDbaName: "Gruzya Outdoor Outfitters",
|
|
18
18
|
* paypointLogo: "https://example.com/logo.png",
|
|
19
|
+
* parentOrgName: "Pilgrim Planner",
|
|
20
|
+
* parentOrgId: 12345,
|
|
21
|
+
* parentOrgLogo: "https://example.com/parent-logo.png",
|
|
22
|
+
* externalPaypointId: "ext-12345",
|
|
19
23
|
* bankAccount: {
|
|
20
24
|
* accountNumber: "****1234",
|
|
21
25
|
* routingNumber: "123456789"
|
|
@@ -23,15 +27,15 @@ import * as Payabli from "../index.js";
|
|
|
23
27
|
* transferDate: "2024-11-17T08:20:07.288+00:00",
|
|
24
28
|
* processor: "gp",
|
|
25
29
|
* transferStatus: 2,
|
|
26
|
-
* grossAmount:
|
|
27
|
-
* chargeBackAmount:
|
|
30
|
+
* grossAmount: 1029,
|
|
31
|
+
* chargeBackAmount: 25,
|
|
28
32
|
* returnedAmount: 0,
|
|
29
33
|
* holdAmount: 0,
|
|
30
34
|
* releasedAmount: 0,
|
|
31
35
|
* billingFeesAmount: 0,
|
|
32
36
|
* thirdPartyPaidAmount: 0,
|
|
33
37
|
* adjustmentsAmount: 0,
|
|
34
|
-
* netTransferAmount:
|
|
38
|
+
* netTransferAmount: 1004,
|
|
35
39
|
* eventsData: [{
|
|
36
40
|
* description: "Transfer Created",
|
|
37
41
|
* eventTime: "2024-11-16T08:15:33.4364067Z",
|
|
@@ -62,6 +66,14 @@ export interface Transfer {
|
|
|
62
66
|
paypointDbaName?: Payabli.Dbaname;
|
|
63
67
|
/** The paypoint logo URL. */
|
|
64
68
|
paypointLogo?: string;
|
|
69
|
+
/** The parent organization name. */
|
|
70
|
+
parentOrgName?: string;
|
|
71
|
+
/** The parent organization ID. */
|
|
72
|
+
parentOrgId?: number;
|
|
73
|
+
/** The parent organization logo URL. */
|
|
74
|
+
parentOrgLogo?: string;
|
|
75
|
+
/** The external paypoint ID. */
|
|
76
|
+
externalPaypointId?: string;
|
|
65
77
|
/** Bank account information for the transfer. */
|
|
66
78
|
bankAccount?: Payabli.TransferBankAccount;
|
|
67
79
|
/** Date when the transfer occurred. */
|