@payabli/sdk-node 0.0.117 → 0.0.126
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 +25 -13
- package/dist/cjs/BaseClient.d.ts +7 -7
- package/dist/cjs/BaseClient.js +3 -1
- package/dist/cjs/Client.d.ts +1 -2
- package/dist/cjs/api/errors/BadRequestError.js +5 -1
- package/dist/cjs/api/errors/ConflictError.js +5 -1
- package/dist/cjs/api/errors/ForbiddenError.js +5 -1
- package/dist/cjs/api/errors/InternalServerError.js +5 -1
- package/dist/cjs/api/errors/ServiceUnavailableError.js +5 -1
- package/dist/cjs/api/errors/UnauthorizedError.js +5 -1
- package/dist/cjs/api/resources/bill/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/bill/types/BillResponseData.d.ts +2 -1
- package/dist/cjs/api/resources/boarding/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/chargeBacks/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/checkCapture/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/cloud/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/customer/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/export/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/export/client/Client.js +5 -21
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/import/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/import/client/Client.js +5 -21
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/invoice/client/Client.d.ts +6 -5
- package/dist/cjs/api/resources/invoice/client/Client.js +5 -3
- package/dist/cjs/api/resources/invoice/client/requests/AddInvoiceRequest.d.ts +5 -3
- package/dist/cjs/api/resources/lineItem/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/lineItem/client/Client.js +5 -21
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +248 -4
- package/dist/cjs/api/resources/moneyIn/client/Client.js +518 -2
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.ts +31 -0
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentV2.d.ts +99 -0
- package/dist/cjs/api/resources/moneyIn/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/moneyIn/errors/CaptureError.js +5 -1
- package/dist/cjs/api/resources/moneyIn/errors/InvalidTransStatusError.js +5 -1
- package/dist/cjs/api/resources/moneyIn/types/AuthResponseResponseData.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/types/CaptureResponseData.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/types/GetPaidResponseData.d.ts +3 -3
- package/dist/cjs/api/resources/moneyIn/types/ResponseDataRefunds.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailResponseData.d.ts +7 -3
- package/dist/cjs/api/resources/moneyIn/types/ValidateResponseData.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/types/VoidResponseData.d.ts +2 -2
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthCapturePayoutResponse.d.ts +2 -2
- package/dist/cjs/api/resources/notification/client/Client.d.ts +14 -7
- package/dist/cjs/api/resources/notification/client/Client.js +18 -21
- package/dist/cjs/api/resources/notificationlogs/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/notificationlogs/client/Client.js +5 -21
- package/dist/cjs/api/resources/ocr/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/ocr/client/Client.js +5 -21
- package/dist/cjs/api/resources/organization/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/organization/client/Client.js +5 -21
- package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +4 -10
- package/dist/cjs/api/resources/paymentLink/client/Client.js +8 -24
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataBill.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataInvoice.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataOut.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBody.d.ts +2 -2
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.js +5 -21
- package/dist/cjs/api/resources/paypoint/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/paypoint/client/Client.js +5 -21
- package/dist/cjs/api/resources/query/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/query/client/Client.js +5 -21
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.ts +158 -0
- package/dist/cjs/api/resources/statistic/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/statistic/client/Client.js +5 -21
- package/dist/cjs/api/resources/subscription/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/subscription/client/Client.js +5 -21
- package/dist/cjs/api/resources/templates/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/templates/client/Client.js +5 -21
- package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +52 -7
- package/dist/cjs/api/resources/tokenStorage/client/Client.js +56 -21
- package/dist/cjs/api/resources/tokenStorage/client/requests/AddMethodRequest.d.ts +23 -0
- package/dist/cjs/api/resources/tokenStorage/client/requests/GetMethodRequest.d.ts +6 -0
- package/dist/cjs/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.ts +22 -0
- package/dist/cjs/api/resources/tokenStorage/types/GetMethodResponse.d.ts +101 -1
- package/dist/cjs/api/resources/tokenStorage/types/RequestTokenStorage.d.ts +1 -0
- package/dist/cjs/api/resources/tokenStorage/types/VendorDataRequest.d.ts +9 -0
- package/dist/cjs/api/resources/tokenStorage/types/VendorDataRequest.js +3 -0
- package/dist/cjs/api/resources/tokenStorage/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/tokenStorage/types/index.js +1 -0
- package/dist/cjs/api/resources/user/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/user/client/Client.js +5 -21
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/index.d.ts +9 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/index.js +25 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/index.d.ts +2 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/index.js +18 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestError.d.ts +22 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestError.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.d.ts +9 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.ts +761 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2InternalServerError.d.ts +21 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2InternalServerError.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseAction.d.ts +4 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseAction.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseCode.d.ts +4 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseCode.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.d.ts +4 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseReason.d.ts +4 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseReason.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.d.ts +65 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.ts +1003 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.d.ts +13 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/index.d.ts +11 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/index.js +27 -0
- package/dist/cjs/api/resources/vendor/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/vendor/client/Client.js +5 -21
- package/dist/cjs/api/resources/wallet/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/wallet/client/Client.js +5 -21
- package/dist/cjs/api/types/ApplicationData.d.ts +1 -0
- package/dist/cjs/api/types/ApplicationDataManaged.d.ts +1 -0
- package/dist/cjs/api/types/ApplicationDataOdp.d.ts +1 -0
- package/dist/cjs/api/types/ApplicationDataPayIn.d.ts +1 -0
- package/dist/cjs/api/types/{Avsresponsetext.d.ts → AvsResponse.d.ts} +1 -1
- package/dist/cjs/api/types/AvsResponse.js +3 -0
- package/dist/{esm/api/types/Avsresponsetext.d.mts → cjs/api/types/AvsResponseText.d.ts} +1 -1
- package/dist/cjs/api/types/AvsResponseText.js +3 -0
- package/dist/cjs/api/types/CustomerVaultId.d.ts +1 -0
- package/dist/cjs/api/types/CustomerVaultId.js +3 -0
- package/dist/cjs/api/types/{Cvvresponsetext.d.ts → CvvResponse.d.ts} +1 -1
- package/dist/cjs/api/types/CvvResponse.js +3 -0
- package/dist/{esm/api/types/Cvvresponsetext.d.mts → cjs/api/types/CvvResponseText.d.ts} +1 -1
- package/dist/cjs/api/types/CvvResponseText.js +3 -0
- package/dist/cjs/api/types/EmvAuthResponseData.d.ts +4 -0
- package/dist/cjs/api/types/EmvAuthResponseData.js +3 -0
- package/dist/cjs/api/types/Frequency.d.ts +1 -1
- package/dist/cjs/api/types/Frequency.js +1 -1
- package/dist/cjs/api/types/FrequencyList.d.ts +1 -1
- package/dist/cjs/api/types/MaxTicket.d.ts +4 -0
- package/dist/cjs/api/types/MaxTicket.js +3 -0
- package/dist/cjs/api/types/MinTicket.d.ts +4 -0
- package/dist/cjs/api/types/MinTicket.js +3 -0
- package/dist/cjs/api/types/OnCreate.d.ts +4 -0
- package/dist/cjs/api/types/OnCreate.js +3 -0
- package/dist/cjs/api/types/PayabliApiResponse0.d.ts +2 -2
- package/dist/cjs/api/types/PayabliApiResponse0000.d.ts +2 -2
- package/dist/cjs/api/types/PayabliCredentialsPascal.d.ts +3 -2
- package/dist/cjs/api/types/PayorDataResponse.d.ts +1 -1
- package/dist/cjs/api/types/QueryResponseData.d.ts +41 -10
- package/dist/cjs/api/types/QueryResponseSettlements.d.ts +134 -0
- package/dist/cjs/api/types/QuerySubscriptionResponse.d.ts +1 -1
- package/dist/cjs/api/types/QueryTransactionPayorData.d.ts +1 -1
- package/dist/cjs/api/types/ResultCodeText.d.ts +4 -0
- package/dist/cjs/api/types/ResultCodeText.js +3 -0
- package/dist/cjs/api/types/ResultCodev2.d.ts +4 -0
- package/dist/cjs/api/types/ResultCodev2.js +3 -0
- package/dist/cjs/api/types/index.d.ts +11 -2
- package/dist/cjs/api/types/index.js +11 -2
- package/dist/cjs/auth/HeaderAuthProvider.d.ts +4 -2
- package/dist/cjs/errors/PayabliError.js +5 -1
- package/dist/cjs/errors/PayabliTimeoutError.js +5 -1
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.d.mts +7 -7
- package/dist/esm/BaseClient.mjs +3 -1
- package/dist/esm/Client.d.mts +1 -2
- package/dist/esm/api/errors/BadRequestError.mjs +5 -1
- package/dist/esm/api/errors/ConflictError.mjs +5 -1
- package/dist/esm/api/errors/ForbiddenError.mjs +5 -1
- package/dist/esm/api/errors/InternalServerError.mjs +5 -1
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +5 -1
- package/dist/esm/api/errors/UnauthorizedError.mjs +5 -1
- package/dist/esm/api/resources/bill/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/bill/types/BillResponseData.d.mts +2 -1
- package/dist/esm/api/resources/boarding/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/chargeBacks/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/checkCapture/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/cloud/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/customer/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/export/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/export/client/Client.mjs +5 -21
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/import/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/import/client/Client.mjs +5 -21
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/invoice/client/Client.d.mts +6 -5
- package/dist/esm/api/resources/invoice/client/Client.mjs +5 -3
- package/dist/esm/api/resources/invoice/client/requests/AddInvoiceRequest.d.mts +5 -3
- package/dist/esm/api/resources/lineItem/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/lineItem/client/Client.mjs +5 -21
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +248 -4
- package/dist/esm/api/resources/moneyIn/client/Client.mjs +518 -2
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.mts +31 -0
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentV2.d.mts +99 -0
- package/dist/esm/api/resources/moneyIn/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/moneyIn/errors/CaptureError.mjs +5 -1
- package/dist/esm/api/resources/moneyIn/errors/InvalidTransStatusError.mjs +5 -1
- package/dist/esm/api/resources/moneyIn/types/AuthResponseResponseData.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/types/CaptureResponseData.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/types/GetPaidResponseData.d.mts +3 -3
- package/dist/esm/api/resources/moneyIn/types/ResponseDataRefunds.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailResponseData.d.mts +7 -3
- package/dist/esm/api/resources/moneyIn/types/ValidateResponseData.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/types/VoidResponseData.d.mts +2 -2
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/moneyOutTypes/types/AuthCapturePayoutResponse.d.mts +2 -2
- package/dist/esm/api/resources/notification/client/Client.d.mts +14 -7
- package/dist/esm/api/resources/notification/client/Client.mjs +18 -21
- package/dist/esm/api/resources/notificationlogs/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/notificationlogs/client/Client.mjs +5 -21
- package/dist/esm/api/resources/ocr/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/ocr/client/Client.mjs +5 -21
- package/dist/esm/api/resources/organization/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/organization/client/Client.mjs +5 -21
- package/dist/esm/api/resources/paymentLink/client/Client.d.mts +4 -10
- package/dist/esm/api/resources/paymentLink/client/Client.mjs +8 -24
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataBill.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataInvoice.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataOut.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBody.d.mts +2 -2
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.mjs +5 -21
- package/dist/esm/api/resources/paypoint/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/paypoint/client/Client.mjs +5 -21
- package/dist/esm/api/resources/query/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/query/client/Client.mjs +5 -21
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.mts +158 -0
- package/dist/esm/api/resources/statistic/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/statistic/client/Client.mjs +5 -21
- package/dist/esm/api/resources/subscription/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/subscription/client/Client.mjs +5 -21
- package/dist/esm/api/resources/templates/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/templates/client/Client.mjs +5 -21
- package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +52 -7
- package/dist/esm/api/resources/tokenStorage/client/Client.mjs +56 -21
- package/dist/esm/api/resources/tokenStorage/client/requests/AddMethodRequest.d.mts +23 -0
- package/dist/esm/api/resources/tokenStorage/client/requests/GetMethodRequest.d.mts +6 -0
- package/dist/esm/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.mts +22 -0
- package/dist/esm/api/resources/tokenStorage/types/GetMethodResponse.d.mts +101 -1
- package/dist/esm/api/resources/tokenStorage/types/RequestTokenStorage.d.mts +1 -0
- package/dist/esm/api/resources/tokenStorage/types/VendorDataRequest.d.mts +9 -0
- package/dist/esm/api/resources/tokenStorage/types/VendorDataRequest.mjs +2 -0
- package/dist/esm/api/resources/tokenStorage/types/index.d.mts +1 -0
- package/dist/esm/api/resources/tokenStorage/types/index.mjs +1 -0
- package/dist/esm/api/resources/user/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/user/client/Client.mjs +5 -21
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/index.d.mts +9 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/index.mjs +9 -0
- package/dist/esm/api/resources/v2MoneyInTypes/index.d.mts +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/index.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestError.d.mts +22 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestError.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.d.mts +9 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.mts +761 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2InternalServerError.d.mts +21 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2InternalServerError.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseAction.d.mts +4 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseAction.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseCode.d.mts +4 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseCode.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.d.mts +4 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseReason.d.mts +4 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseReason.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.d.mts +65 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.mts +1003 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.d.mts +13 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/index.d.mts +11 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/index.mjs +11 -0
- package/dist/esm/api/resources/vendor/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/vendor/client/Client.mjs +5 -21
- package/dist/esm/api/resources/wallet/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/wallet/client/Client.mjs +5 -21
- package/dist/esm/api/types/ApplicationData.d.mts +1 -0
- package/dist/esm/api/types/ApplicationDataManaged.d.mts +1 -0
- package/dist/esm/api/types/ApplicationDataOdp.d.mts +1 -0
- package/dist/esm/api/types/ApplicationDataPayIn.d.mts +1 -0
- package/dist/esm/api/types/AvsResponse.d.mts +4 -0
- package/dist/esm/api/types/AvsResponse.mjs +2 -0
- package/dist/esm/api/types/AvsResponseText.d.mts +4 -0
- package/dist/esm/api/types/AvsResponseText.mjs +2 -0
- package/dist/esm/api/types/CustomerVaultId.d.mts +1 -0
- package/dist/esm/api/types/CustomerVaultId.mjs +2 -0
- package/dist/esm/api/types/CvvResponse.d.mts +4 -0
- package/dist/esm/api/types/CvvResponse.mjs +2 -0
- package/dist/esm/api/types/CvvResponseText.d.mts +4 -0
- package/dist/esm/api/types/CvvResponseText.mjs +2 -0
- package/dist/esm/api/types/EmvAuthResponseData.d.mts +4 -0
- package/dist/esm/api/types/EmvAuthResponseData.mjs +2 -0
- package/dist/esm/api/types/Frequency.d.mts +1 -1
- package/dist/esm/api/types/Frequency.mjs +1 -1
- package/dist/esm/api/types/FrequencyList.d.mts +1 -1
- package/dist/esm/api/types/MaxTicket.d.mts +4 -0
- package/dist/esm/api/types/MaxTicket.mjs +2 -0
- package/dist/esm/api/types/MinTicket.d.mts +4 -0
- package/dist/esm/api/types/MinTicket.mjs +2 -0
- package/dist/esm/api/types/OnCreate.d.mts +4 -0
- package/dist/esm/api/types/OnCreate.mjs +2 -0
- package/dist/esm/api/types/PayabliApiResponse0.d.mts +2 -2
- package/dist/esm/api/types/PayabliApiResponse0000.d.mts +2 -2
- package/dist/esm/api/types/PayabliCredentialsPascal.d.mts +3 -2
- package/dist/esm/api/types/PayorDataResponse.d.mts +1 -1
- package/dist/esm/api/types/QueryResponseData.d.mts +41 -10
- package/dist/esm/api/types/QueryResponseSettlements.d.mts +134 -0
- package/dist/esm/api/types/QuerySubscriptionResponse.d.mts +1 -1
- package/dist/esm/api/types/QueryTransactionPayorData.d.mts +1 -1
- package/dist/esm/api/types/ResultCodeText.d.mts +4 -0
- package/dist/esm/api/types/ResultCodeText.mjs +2 -0
- package/dist/esm/api/types/ResultCodev2.d.mts +4 -0
- package/dist/esm/api/types/ResultCodev2.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +11 -2
- package/dist/esm/api/types/index.mjs +11 -2
- package/dist/esm/auth/HeaderAuthProvider.d.mts +4 -2
- package/dist/esm/errors/PayabliError.mjs +5 -1
- package/dist/esm/errors/PayabliTimeoutError.mjs +5 -1
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +7 -4
- package/reference.md +475 -8
- /package/dist/cjs/api/{types/Avsresponsetext.js → resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.js} +0 -0
- /package/dist/cjs/api/{types/Cvvresponsetext.js → resources/moneyIn/client/requests/RequestPaymentV2.js} +0 -0
- /package/dist/esm/api/{types/Avsresponsetext.mjs → resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.mjs} +0 -0
- /package/dist/esm/api/{types/Cvvresponsetext.mjs → resources/moneyIn/client/requests/RequestPaymentV2.mjs} +0 -0
package/dist/esm/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.mts
ADDED
|
@@ -0,0 +1,761 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Response wrapper for declined v2 Money In transaction endpoints (HTTP 402). Returned when a transaction is declined by the card network or issuer. All decline responses use this format with unified response codes starting with 'D'. The `data` field contains transaction details.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* code: "D0100",
|
|
8
|
+
* reason: "Declined",
|
|
9
|
+
* explanation: "Generic decline from card network or card issuer",
|
|
10
|
+
* action: "Use different card or payment method",
|
|
11
|
+
* data: {
|
|
12
|
+
* parentOrgName: "Mrinal's Pet Supplies",
|
|
13
|
+
* paypointDbaname: "Mrinal's Pet Shop North",
|
|
14
|
+
* paypointLegalname: "Mrinal's Pet Shop North",
|
|
15
|
+
* paypointEntryname: "495147f647",
|
|
16
|
+
* paymentTransId: "3040-96dfa9a7c4ed4f82a3dd4a4a12ad28ae",
|
|
17
|
+
* connectorName: "gp",
|
|
18
|
+
* externalProcessorInformation: "",
|
|
19
|
+
* gatewayTransId: "TRN_Ih68D6UZdip7OEQ2QFXat1yQSLF2nB",
|
|
20
|
+
* orderId: null,
|
|
21
|
+
* method: "card",
|
|
22
|
+
* batchNumber: "3040_combined_20251201",
|
|
23
|
+
* batchAmount: 420,
|
|
24
|
+
* payorId: 40144,
|
|
25
|
+
* paymentData: {
|
|
26
|
+
* maskedAccount: "4XXXXXXXXXXX5439",
|
|
27
|
+
* accountType: "visa",
|
|
28
|
+
* accountExp: "12/25",
|
|
29
|
+
* holderName: "John Cassian",
|
|
30
|
+
* storedId: null,
|
|
31
|
+
* initiator: null,
|
|
32
|
+
* storedMethodUsageType: null,
|
|
33
|
+
* sequence: null,
|
|
34
|
+
* orderDescription: "",
|
|
35
|
+
* accountId: null,
|
|
36
|
+
* signatureData: null,
|
|
37
|
+
* binData: {
|
|
38
|
+
* binMatchedLength: "6",
|
|
39
|
+
* binCardBrand: "VISA",
|
|
40
|
+
* binCardType: "CREDIT",
|
|
41
|
+
* binCardCategory: "CLASSIC",
|
|
42
|
+
* binCardIssuer: "",
|
|
43
|
+
* binCardIssuerCountry: "RUSSIAN FEDERATION",
|
|
44
|
+
* binCardIssuerCountryCodeA2: "RU",
|
|
45
|
+
* binCardIssuerCountryNumber: "643",
|
|
46
|
+
* binCardIsRegulated: "",
|
|
47
|
+
* binCardUseCategory: "",
|
|
48
|
+
* binCardIssuerCountryCodeA3: ""
|
|
49
|
+
* },
|
|
50
|
+
* paymentDetails: {
|
|
51
|
+
* totalAmount: 105,
|
|
52
|
+
* serviceFee: 5,
|
|
53
|
+
* checkNumber: null,
|
|
54
|
+
* checkImage: null,
|
|
55
|
+
* checkUniqueId: "",
|
|
56
|
+
* currency: "USD",
|
|
57
|
+
* orderDescription: null,
|
|
58
|
+
* orderId: null,
|
|
59
|
+
* orderIdAlternative: null,
|
|
60
|
+
* paymentDescription: null,
|
|
61
|
+
* groupNumber: null,
|
|
62
|
+
* source: null,
|
|
63
|
+
* payabliTransId: null,
|
|
64
|
+
* unbundled: null,
|
|
65
|
+
* categories: [],
|
|
66
|
+
* splitFunding: []
|
|
67
|
+
* }
|
|
68
|
+
* },
|
|
69
|
+
* transStatus: 3,
|
|
70
|
+
* paypointId: 3040,
|
|
71
|
+
* totalAmount: 105,
|
|
72
|
+
* netAmount: 100,
|
|
73
|
+
* feeAmount: 5,
|
|
74
|
+
* settlementStatus: 0,
|
|
75
|
+
* operation: "Sale",
|
|
76
|
+
* responseData: {
|
|
77
|
+
* resultCode: "D0100",
|
|
78
|
+
* resultCodeText: "Declined",
|
|
79
|
+
* response: null,
|
|
80
|
+
* responsetext: "DECLINE",
|
|
81
|
+
* authcode: null,
|
|
82
|
+
* transactionid: "TRN_Ih68D6UZdip7OEQ2QFXat1yQSLF2nB",
|
|
83
|
+
* avsresponse: null,
|
|
84
|
+
* avsresponse_text: null,
|
|
85
|
+
* cvvresponse: null,
|
|
86
|
+
* cvvresponse_text: null,
|
|
87
|
+
* orderid: null,
|
|
88
|
+
* type: null,
|
|
89
|
+
* response_code: "200",
|
|
90
|
+
* response_code_text: "Do not honor",
|
|
91
|
+
* customer_vault_id: null,
|
|
92
|
+
* emv_auth_response_data: null
|
|
93
|
+
* },
|
|
94
|
+
* source: "api",
|
|
95
|
+
* scheduleReference: 0,
|
|
96
|
+
* orgId: 17448,
|
|
97
|
+
* refundId: 0,
|
|
98
|
+
* returnedId: 0,
|
|
99
|
+
* chargebackId: 0,
|
|
100
|
+
* retrievalId: 0,
|
|
101
|
+
* transAdditionalData: null,
|
|
102
|
+
* invoiceData: {
|
|
103
|
+
* invoiceNumber: null,
|
|
104
|
+
* invoiceDate: null,
|
|
105
|
+
* invoiceDueDate: null,
|
|
106
|
+
* invoiceEndDate: null,
|
|
107
|
+
* invoiceStatus: null,
|
|
108
|
+
* invoiceType: null,
|
|
109
|
+
* frequency: null,
|
|
110
|
+
* paymentTerms: null,
|
|
111
|
+
* termsConditions: null,
|
|
112
|
+
* notes: null,
|
|
113
|
+
* tax: null,
|
|
114
|
+
* discount: null,
|
|
115
|
+
* invoiceAmount: null,
|
|
116
|
+
* freightAmount: null,
|
|
117
|
+
* dutyAmount: null,
|
|
118
|
+
* purchaseOrder: null,
|
|
119
|
+
* firstName: null,
|
|
120
|
+
* lastName: null,
|
|
121
|
+
* company: null,
|
|
122
|
+
* shippingAddress1: null,
|
|
123
|
+
* shippingAddress2: null,
|
|
124
|
+
* shippingCity: null,
|
|
125
|
+
* shippingState: null,
|
|
126
|
+
* shippingZip: null,
|
|
127
|
+
* shippingCountry: null,
|
|
128
|
+
* shippingEmail: null,
|
|
129
|
+
* shippingPhone: null,
|
|
130
|
+
* shippingFromZip: null,
|
|
131
|
+
* summaryCommodityCode: null,
|
|
132
|
+
* items: null,
|
|
133
|
+
* attachments: null,
|
|
134
|
+
* additionalData: null
|
|
135
|
+
* },
|
|
136
|
+
* entrypageId: 0,
|
|
137
|
+
* externalPaypointID: "",
|
|
138
|
+
* isValidatedACH: false,
|
|
139
|
+
* transactionTime: "2025-12-01T09:50:03.559",
|
|
140
|
+
* customer: {
|
|
141
|
+
* identifiers: null,
|
|
142
|
+
* firstName: "David",
|
|
143
|
+
* lastName: "Beckham",
|
|
144
|
+
* companyName: "Driving School LLC",
|
|
145
|
+
* billingAddress1: "Home Address",
|
|
146
|
+
* billingAddress2: "",
|
|
147
|
+
* billingCity: "",
|
|
148
|
+
* billingState: "",
|
|
149
|
+
* billingZip: "45157",
|
|
150
|
+
* billingCountry: "US",
|
|
151
|
+
* billingPhone: "+15555555555",
|
|
152
|
+
* billingEmail: "david.beckham@example.com",
|
|
153
|
+
* customerNumber: "C-90010",
|
|
154
|
+
* shippingAddress1: "Home Address",
|
|
155
|
+
* shippingAddress2: "",
|
|
156
|
+
* shippingCity: "",
|
|
157
|
+
* shippingState: "",
|
|
158
|
+
* shippingZip: "45157",
|
|
159
|
+
* shippingCountry: "US",
|
|
160
|
+
* customerId: 40144,
|
|
161
|
+
* customerStatus: 0,
|
|
162
|
+
* additionalData: null
|
|
163
|
+
* },
|
|
164
|
+
* splitFundingInstructions: null,
|
|
165
|
+
* cfeeTransactions: [],
|
|
166
|
+
* transactionEvents: [{
|
|
167
|
+
* transEvent: "Created",
|
|
168
|
+
* eventData: "0HNHD68HATSUC:00000001",
|
|
169
|
+
* eventTime: "2025-12-01T09:50:02.558651"
|
|
170
|
+
* }, {
|
|
171
|
+
* transEvent: "Declined",
|
|
172
|
+
* eventData: "0HNHD68HATSUC:00000001",
|
|
173
|
+
* eventTime: "2025-12-01T09:50:03.609111"
|
|
174
|
+
* }],
|
|
175
|
+
* pendingFeeAmount: 0,
|
|
176
|
+
* riskFlagged: false,
|
|
177
|
+
* riskFlaggedOn: "2025-12-01T09:50:02.5474568",
|
|
178
|
+
* riskStatus: "PASSED",
|
|
179
|
+
* riskReason: "",
|
|
180
|
+
* riskAction: "",
|
|
181
|
+
* riskActionCode: 0,
|
|
182
|
+
* deviceId: "",
|
|
183
|
+
* achSecCode: "",
|
|
184
|
+
* achHolderType: Payabli.AchHolderType.Personal,
|
|
185
|
+
* ipAddress: "255.255.255.255",
|
|
186
|
+
* isSameDayACH: false,
|
|
187
|
+
* walletType: null
|
|
188
|
+
* },
|
|
189
|
+
* token: null
|
|
190
|
+
* }
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* {
|
|
194
|
+
* code: "D0225",
|
|
195
|
+
* reason: "Declined",
|
|
196
|
+
* explanation: "Insufficient funds in the account",
|
|
197
|
+
* action: "Request a lower amount or use a different payment method",
|
|
198
|
+
* data: {
|
|
199
|
+
* parentOrgName: "Mrinal's Pet Supplies",
|
|
200
|
+
* paypointDbaname: "Mrinal's Pet Shop North",
|
|
201
|
+
* paypointLegalname: "Mrinal's Pet Shop North",
|
|
202
|
+
* paypointEntryname: "495147f647",
|
|
203
|
+
* paymentTransId: "3040-a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d",
|
|
204
|
+
* connectorName: "gp",
|
|
205
|
+
* externalProcessorInformation: "",
|
|
206
|
+
* gatewayTransId: "TRN_K92j8dE3ZwqxPFL4RGYbu3zRTMH4pD",
|
|
207
|
+
* orderId: null,
|
|
208
|
+
* method: "card",
|
|
209
|
+
* batchNumber: "3040_combined_20251202",
|
|
210
|
+
* batchAmount: 315,
|
|
211
|
+
* payorId: 40145,
|
|
212
|
+
* paymentData: {
|
|
213
|
+
* maskedAccount: "4XXXXXXXXXXX1234",
|
|
214
|
+
* accountType: "visa",
|
|
215
|
+
* accountExp: "06/26",
|
|
216
|
+
* holderName: "Jennifer Smith",
|
|
217
|
+
* storedId: null,
|
|
218
|
+
* initiator: null,
|
|
219
|
+
* storedMethodUsageType: null,
|
|
220
|
+
* sequence: null,
|
|
221
|
+
* orderDescription: "",
|
|
222
|
+
* accountId: null,
|
|
223
|
+
* signatureData: null,
|
|
224
|
+
* binData: {
|
|
225
|
+
* binMatchedLength: "6",
|
|
226
|
+
* binCardBrand: "VISA",
|
|
227
|
+
* binCardType: "DEBIT",
|
|
228
|
+
* binCardCategory: "STANDARD",
|
|
229
|
+
* binCardIssuer: "CHASE BANK",
|
|
230
|
+
* binCardIssuerCountry: "UNITED STATES",
|
|
231
|
+
* binCardIssuerCountryCodeA2: "US",
|
|
232
|
+
* binCardIssuerCountryNumber: "840",
|
|
233
|
+
* binCardIsRegulated: "Y",
|
|
234
|
+
* binCardUseCategory: "",
|
|
235
|
+
* binCardIssuerCountryCodeA3: "USA"
|
|
236
|
+
* },
|
|
237
|
+
* paymentDetails: {
|
|
238
|
+
* totalAmount: 315,
|
|
239
|
+
* serviceFee: 15,
|
|
240
|
+
* checkNumber: null,
|
|
241
|
+
* checkImage: null,
|
|
242
|
+
* checkUniqueId: "",
|
|
243
|
+
* currency: "USD",
|
|
244
|
+
* orderDescription: null,
|
|
245
|
+
* orderId: null,
|
|
246
|
+
* orderIdAlternative: null,
|
|
247
|
+
* paymentDescription: null,
|
|
248
|
+
* groupNumber: null,
|
|
249
|
+
* source: null,
|
|
250
|
+
* payabliTransId: null,
|
|
251
|
+
* unbundled: null,
|
|
252
|
+
* categories: [],
|
|
253
|
+
* splitFunding: []
|
|
254
|
+
* }
|
|
255
|
+
* },
|
|
256
|
+
* transStatus: 3,
|
|
257
|
+
* paypointId: 3040,
|
|
258
|
+
* totalAmount: 315,
|
|
259
|
+
* netAmount: 300,
|
|
260
|
+
* feeAmount: 15,
|
|
261
|
+
* settlementStatus: 0,
|
|
262
|
+
* operation: "Sale",
|
|
263
|
+
* responseData: {
|
|
264
|
+
* resultCode: "D0225",
|
|
265
|
+
* resultCodeText: "Declined",
|
|
266
|
+
* response: null,
|
|
267
|
+
* responsetext: "INSUFFICIENT FUNDS",
|
|
268
|
+
* authcode: null,
|
|
269
|
+
* transactionid: "TRN_K92j8dE3ZwqxPFL4RGYbu3zRTMH4pD",
|
|
270
|
+
* avsresponse: null,
|
|
271
|
+
* avsresponse_text: null,
|
|
272
|
+
* cvvresponse: null,
|
|
273
|
+
* cvvresponse_text: null,
|
|
274
|
+
* orderid: null,
|
|
275
|
+
* type: null,
|
|
276
|
+
* response_code: "051",
|
|
277
|
+
* response_code_text: "Insufficient funds",
|
|
278
|
+
* customer_vault_id: null,
|
|
279
|
+
* emv_auth_response_data: null
|
|
280
|
+
* },
|
|
281
|
+
* source: "api",
|
|
282
|
+
* scheduleReference: 0,
|
|
283
|
+
* orgId: 17448,
|
|
284
|
+
* refundId: 0,
|
|
285
|
+
* returnedId: 0,
|
|
286
|
+
* chargebackId: 0,
|
|
287
|
+
* retrievalId: 0,
|
|
288
|
+
* transAdditionalData: null,
|
|
289
|
+
* invoiceData: {
|
|
290
|
+
* invoiceNumber: null,
|
|
291
|
+
* invoiceDate: null,
|
|
292
|
+
* invoiceDueDate: null,
|
|
293
|
+
* invoiceEndDate: null,
|
|
294
|
+
* invoiceStatus: null,
|
|
295
|
+
* invoiceType: null,
|
|
296
|
+
* frequency: null,
|
|
297
|
+
* paymentTerms: null,
|
|
298
|
+
* termsConditions: null,
|
|
299
|
+
* notes: null,
|
|
300
|
+
* tax: null,
|
|
301
|
+
* discount: null,
|
|
302
|
+
* invoiceAmount: null,
|
|
303
|
+
* freightAmount: null,
|
|
304
|
+
* dutyAmount: null,
|
|
305
|
+
* purchaseOrder: null,
|
|
306
|
+
* firstName: null,
|
|
307
|
+
* lastName: null,
|
|
308
|
+
* company: null,
|
|
309
|
+
* shippingAddress1: null,
|
|
310
|
+
* shippingAddress2: null,
|
|
311
|
+
* shippingCity: null,
|
|
312
|
+
* shippingState: null,
|
|
313
|
+
* shippingZip: null,
|
|
314
|
+
* shippingCountry: null,
|
|
315
|
+
* shippingEmail: null,
|
|
316
|
+
* shippingPhone: null,
|
|
317
|
+
* shippingFromZip: null,
|
|
318
|
+
* summaryCommodityCode: null,
|
|
319
|
+
* items: null,
|
|
320
|
+
* attachments: null,
|
|
321
|
+
* additionalData: null
|
|
322
|
+
* },
|
|
323
|
+
* entrypageId: 0,
|
|
324
|
+
* externalPaypointID: "",
|
|
325
|
+
* isValidatedACH: false,
|
|
326
|
+
* transactionTime: "2025-12-02T14:23:15.442",
|
|
327
|
+
* customer: {
|
|
328
|
+
* identifiers: null,
|
|
329
|
+
* firstName: "Jennifer",
|
|
330
|
+
* lastName: "Smith",
|
|
331
|
+
* companyName: "Smith Consulting",
|
|
332
|
+
* billingAddress1: "123 Main Street",
|
|
333
|
+
* billingAddress2: "Apt 4B",
|
|
334
|
+
* billingCity: "Chicago",
|
|
335
|
+
* billingState: "IL",
|
|
336
|
+
* billingZip: "60601",
|
|
337
|
+
* billingCountry: "US",
|
|
338
|
+
* billingPhone: "+13125551234",
|
|
339
|
+
* billingEmail: "jennifer.smith@example.com",
|
|
340
|
+
* customerNumber: "C-90011",
|
|
341
|
+
* shippingAddress1: "123 Main Street",
|
|
342
|
+
* shippingAddress2: "Apt 4B",
|
|
343
|
+
* shippingCity: "Chicago",
|
|
344
|
+
* shippingState: "IL",
|
|
345
|
+
* shippingZip: "60601",
|
|
346
|
+
* shippingCountry: "US",
|
|
347
|
+
* customerId: 40145,
|
|
348
|
+
* customerStatus: 0,
|
|
349
|
+
* additionalData: null
|
|
350
|
+
* },
|
|
351
|
+
* splitFundingInstructions: null,
|
|
352
|
+
* cfeeTransactions: [],
|
|
353
|
+
* transactionEvents: [{
|
|
354
|
+
* transEvent: "Created",
|
|
355
|
+
* eventData: "0HNHD69JCXWZR:00000001",
|
|
356
|
+
* eventTime: "2025-12-02T14:23:14.389423"
|
|
357
|
+
* }, {
|
|
358
|
+
* transEvent: "Declined",
|
|
359
|
+
* eventData: "0HNHD69JCXWZR:00000001",
|
|
360
|
+
* eventTime: "2025-12-02T14:23:15.501289"
|
|
361
|
+
* }],
|
|
362
|
+
* pendingFeeAmount: 0,
|
|
363
|
+
* riskFlagged: false,
|
|
364
|
+
* riskFlaggedOn: "2025-12-02T14:23:14.3782156",
|
|
365
|
+
* riskStatus: "PASSED",
|
|
366
|
+
* riskReason: "",
|
|
367
|
+
* riskAction: "",
|
|
368
|
+
* riskActionCode: 0,
|
|
369
|
+
* deviceId: "",
|
|
370
|
+
* achSecCode: "",
|
|
371
|
+
* achHolderType: Payabli.AchHolderType.Personal,
|
|
372
|
+
* ipAddress: "255.255.255.255",
|
|
373
|
+
* isSameDayACH: false,
|
|
374
|
+
* walletType: null
|
|
375
|
+
* },
|
|
376
|
+
* token: null
|
|
377
|
+
* }
|
|
378
|
+
*
|
|
379
|
+
* @example
|
|
380
|
+
* {
|
|
381
|
+
* code: "D0130",
|
|
382
|
+
* reason: "Declined",
|
|
383
|
+
* explanation: "Card has expired",
|
|
384
|
+
* action: "Update card expiration date or use a different payment method",
|
|
385
|
+
* data: {
|
|
386
|
+
* parentOrgName: "Mrinal's Pet Supplies",
|
|
387
|
+
* paypointDbaname: "Mrinal's Pet Shop North",
|
|
388
|
+
* paypointLegalname: "Mrinal's Pet Shop North",
|
|
389
|
+
* paypointEntryname: "495147f647",
|
|
390
|
+
* paymentTransId: "3040-b2c3d4e5f6a74b8c9d0e1f2a3b4c5d6e",
|
|
391
|
+
* connectorName: "gp",
|
|
392
|
+
* externalProcessorInformation: "",
|
|
393
|
+
* gatewayTransId: "TRN_M03k9eF4AxryQGM5SHZcv4aSUNI5qE",
|
|
394
|
+
* orderId: null,
|
|
395
|
+
* method: "card",
|
|
396
|
+
* batchNumber: "3040_combined_20251202",
|
|
397
|
+
* batchAmount: 525,
|
|
398
|
+
* payorId: 40146,
|
|
399
|
+
* paymentData: {
|
|
400
|
+
* maskedAccount: "5XXXXXXXXXXX9876",
|
|
401
|
+
* accountType: "mastercard",
|
|
402
|
+
* accountExp: "11/24",
|
|
403
|
+
* holderName: "Robert Johnson",
|
|
404
|
+
* storedId: null,
|
|
405
|
+
* initiator: null,
|
|
406
|
+
* storedMethodUsageType: null,
|
|
407
|
+
* sequence: null,
|
|
408
|
+
* orderDescription: "",
|
|
409
|
+
* accountId: null,
|
|
410
|
+
* signatureData: null,
|
|
411
|
+
* binData: {
|
|
412
|
+
* binMatchedLength: "6",
|
|
413
|
+
* binCardBrand: "MASTERCARD",
|
|
414
|
+
* binCardType: "CREDIT",
|
|
415
|
+
* binCardCategory: "PLATINUM",
|
|
416
|
+
* binCardIssuer: "CITIBANK",
|
|
417
|
+
* binCardIssuerCountry: "UNITED STATES",
|
|
418
|
+
* binCardIssuerCountryCodeA2: "US",
|
|
419
|
+
* binCardIssuerCountryNumber: "840",
|
|
420
|
+
* binCardIsRegulated: "",
|
|
421
|
+
* binCardUseCategory: "",
|
|
422
|
+
* binCardIssuerCountryCodeA3: "USA"
|
|
423
|
+
* },
|
|
424
|
+
* paymentDetails: {
|
|
425
|
+
* totalAmount: 210,
|
|
426
|
+
* serviceFee: 10,
|
|
427
|
+
* checkNumber: null,
|
|
428
|
+
* checkImage: null,
|
|
429
|
+
* checkUniqueId: "",
|
|
430
|
+
* currency: "USD",
|
|
431
|
+
* orderDescription: null,
|
|
432
|
+
* orderId: null,
|
|
433
|
+
* orderIdAlternative: null,
|
|
434
|
+
* paymentDescription: null,
|
|
435
|
+
* groupNumber: null,
|
|
436
|
+
* source: null,
|
|
437
|
+
* payabliTransId: null,
|
|
438
|
+
* unbundled: null,
|
|
439
|
+
* categories: [],
|
|
440
|
+
* splitFunding: []
|
|
441
|
+
* }
|
|
442
|
+
* },
|
|
443
|
+
* transStatus: 3,
|
|
444
|
+
* paypointId: 3040,
|
|
445
|
+
* totalAmount: 210,
|
|
446
|
+
* netAmount: 200,
|
|
447
|
+
* feeAmount: 10,
|
|
448
|
+
* settlementStatus: 0,
|
|
449
|
+
* operation: "Sale",
|
|
450
|
+
* responseData: {
|
|
451
|
+
* resultCode: "D0130",
|
|
452
|
+
* resultCodeText: "Declined",
|
|
453
|
+
* response: null,
|
|
454
|
+
* responsetext: "EXPIRED CARD",
|
|
455
|
+
* authcode: null,
|
|
456
|
+
* transactionid: "TRN_M03k9eF4AxryQGM5SHZcv4aSUNI5qE",
|
|
457
|
+
* avsresponse: null,
|
|
458
|
+
* avsresponse_text: null,
|
|
459
|
+
* cvvresponse: null,
|
|
460
|
+
* cvvresponse_text: null,
|
|
461
|
+
* orderid: null,
|
|
462
|
+
* type: null,
|
|
463
|
+
* response_code: "054",
|
|
464
|
+
* response_code_text: "Expired card",
|
|
465
|
+
* customer_vault_id: null,
|
|
466
|
+
* emv_auth_response_data: null
|
|
467
|
+
* },
|
|
468
|
+
* source: "api",
|
|
469
|
+
* scheduleReference: 0,
|
|
470
|
+
* orgId: 17448,
|
|
471
|
+
* refundId: 0,
|
|
472
|
+
* returnedId: 0,
|
|
473
|
+
* chargebackId: 0,
|
|
474
|
+
* retrievalId: 0,
|
|
475
|
+
* transAdditionalData: null,
|
|
476
|
+
* invoiceData: {
|
|
477
|
+
* invoiceNumber: null,
|
|
478
|
+
* invoiceDate: null,
|
|
479
|
+
* invoiceDueDate: null,
|
|
480
|
+
* invoiceEndDate: null,
|
|
481
|
+
* invoiceStatus: null,
|
|
482
|
+
* invoiceType: null,
|
|
483
|
+
* frequency: null,
|
|
484
|
+
* paymentTerms: null,
|
|
485
|
+
* termsConditions: null,
|
|
486
|
+
* notes: null,
|
|
487
|
+
* tax: null,
|
|
488
|
+
* discount: null,
|
|
489
|
+
* invoiceAmount: null,
|
|
490
|
+
* freightAmount: null,
|
|
491
|
+
* dutyAmount: null,
|
|
492
|
+
* purchaseOrder: null,
|
|
493
|
+
* firstName: null,
|
|
494
|
+
* lastName: null,
|
|
495
|
+
* company: null,
|
|
496
|
+
* shippingAddress1: null,
|
|
497
|
+
* shippingAddress2: null,
|
|
498
|
+
* shippingCity: null,
|
|
499
|
+
* shippingState: null,
|
|
500
|
+
* shippingZip: null,
|
|
501
|
+
* shippingCountry: null,
|
|
502
|
+
* shippingEmail: null,
|
|
503
|
+
* shippingPhone: null,
|
|
504
|
+
* shippingFromZip: null,
|
|
505
|
+
* summaryCommodityCode: null,
|
|
506
|
+
* items: null,
|
|
507
|
+
* attachments: null,
|
|
508
|
+
* additionalData: null
|
|
509
|
+
* },
|
|
510
|
+
* entrypageId: 0,
|
|
511
|
+
* externalPaypointID: "",
|
|
512
|
+
* isValidatedACH: false,
|
|
513
|
+
* transactionTime: "2025-12-02T15:45:22.783",
|
|
514
|
+
* customer: {
|
|
515
|
+
* identifiers: null,
|
|
516
|
+
* firstName: "Robert",
|
|
517
|
+
* lastName: "Johnson",
|
|
518
|
+
* companyName: "Johnson & Associates",
|
|
519
|
+
* billingAddress1: "789 Oak Avenue",
|
|
520
|
+
* billingAddress2: "",
|
|
521
|
+
* billingCity: "Seattle",
|
|
522
|
+
* billingState: "WA",
|
|
523
|
+
* billingZip: "98101",
|
|
524
|
+
* billingCountry: "US",
|
|
525
|
+
* billingPhone: "+12065559876",
|
|
526
|
+
* billingEmail: "robert.johnson@example.com",
|
|
527
|
+
* customerNumber: "C-90012",
|
|
528
|
+
* shippingAddress1: "789 Oak Avenue",
|
|
529
|
+
* shippingAddress2: "",
|
|
530
|
+
* shippingCity: "Seattle",
|
|
531
|
+
* shippingState: "WA",
|
|
532
|
+
* shippingZip: "98101",
|
|
533
|
+
* shippingCountry: "US",
|
|
534
|
+
* customerId: 40146,
|
|
535
|
+
* customerStatus: 0,
|
|
536
|
+
* additionalData: null
|
|
537
|
+
* },
|
|
538
|
+
* splitFundingInstructions: null,
|
|
539
|
+
* cfeeTransactions: [],
|
|
540
|
+
* transactionEvents: [{
|
|
541
|
+
* transEvent: "Created",
|
|
542
|
+
* eventData: "0HNHD69KDYZAS:00000001",
|
|
543
|
+
* eventTime: "2025-12-02T15:45:21.729567"
|
|
544
|
+
* }, {
|
|
545
|
+
* transEvent: "Declined",
|
|
546
|
+
* eventData: "0HNHD69KDYZAS:00000001",
|
|
547
|
+
* eventTime: "2025-12-02T15:45:22.839634"
|
|
548
|
+
* }],
|
|
549
|
+
* pendingFeeAmount: 0,
|
|
550
|
+
* riskFlagged: false,
|
|
551
|
+
* riskFlaggedOn: "2025-12-02T15:45:21.7183942",
|
|
552
|
+
* riskStatus: "PASSED",
|
|
553
|
+
* riskReason: "",
|
|
554
|
+
* riskAction: "",
|
|
555
|
+
* riskActionCode: 0,
|
|
556
|
+
* deviceId: "",
|
|
557
|
+
* achSecCode: "",
|
|
558
|
+
* achHolderType: Payabli.AchHolderType.Personal,
|
|
559
|
+
* ipAddress: "255.255.255.255",
|
|
560
|
+
* isSameDayACH: false,
|
|
561
|
+
* walletType: null
|
|
562
|
+
* },
|
|
563
|
+
* token: null
|
|
564
|
+
* }
|
|
565
|
+
*
|
|
566
|
+
* @example
|
|
567
|
+
* {
|
|
568
|
+
* code: "D0150",
|
|
569
|
+
* reason: "Declined",
|
|
570
|
+
* explanation: "CVV does not match",
|
|
571
|
+
* action: "Verify CVV and retry, or use a different payment method",
|
|
572
|
+
* data: {
|
|
573
|
+
* parentOrgName: "Mrinal's Pet Supplies",
|
|
574
|
+
* paypointDbaname: "Mrinal's Pet Shop North",
|
|
575
|
+
* paypointLegalname: "Mrinal's Pet Shop North",
|
|
576
|
+
* paypointEntryname: "495147f647",
|
|
577
|
+
* paymentTransId: "3040-c3d4e5f6a7b84c9d0e1f2a3b4c5d6e7f",
|
|
578
|
+
* connectorName: "gp",
|
|
579
|
+
* externalProcessorInformation: "",
|
|
580
|
+
* gatewayTransId: "TRN_N14l0fG5ByszRHN6TIAdw5bTVOJ6rF",
|
|
581
|
+
* orderId: null,
|
|
582
|
+
* method: "card",
|
|
583
|
+
* batchNumber: "3040_combined_20251202",
|
|
584
|
+
* batchAmount: 735,
|
|
585
|
+
* payorId: 40147,
|
|
586
|
+
* paymentData: {
|
|
587
|
+
* maskedAccount: "4XXXXXXXXXXX8765",
|
|
588
|
+
* accountType: "visa",
|
|
589
|
+
* accountExp: "09/27",
|
|
590
|
+
* holderName: "Maria Garcia",
|
|
591
|
+
* storedId: null,
|
|
592
|
+
* initiator: null,
|
|
593
|
+
* storedMethodUsageType: null,
|
|
594
|
+
* sequence: null,
|
|
595
|
+
* orderDescription: "",
|
|
596
|
+
* accountId: null,
|
|
597
|
+
* signatureData: null,
|
|
598
|
+
* binData: {
|
|
599
|
+
* binMatchedLength: "6",
|
|
600
|
+
* binCardBrand: "VISA",
|
|
601
|
+
* binCardType: "CREDIT",
|
|
602
|
+
* binCardCategory: "SIGNATURE",
|
|
603
|
+
* binCardIssuer: "WELLS FARGO",
|
|
604
|
+
* binCardIssuerCountry: "UNITED STATES",
|
|
605
|
+
* binCardIssuerCountryCodeA2: "US",
|
|
606
|
+
* binCardIssuerCountryNumber: "840",
|
|
607
|
+
* binCardIsRegulated: "",
|
|
608
|
+
* binCardUseCategory: "",
|
|
609
|
+
* binCardIssuerCountryCodeA3: "USA"
|
|
610
|
+
* },
|
|
611
|
+
* paymentDetails: {
|
|
612
|
+
* totalAmount: 157.5,
|
|
613
|
+
* serviceFee: 7.5,
|
|
614
|
+
* checkNumber: null,
|
|
615
|
+
* checkImage: null,
|
|
616
|
+
* checkUniqueId: "",
|
|
617
|
+
* currency: "USD",
|
|
618
|
+
* orderDescription: null,
|
|
619
|
+
* orderId: null,
|
|
620
|
+
* orderIdAlternative: null,
|
|
621
|
+
* paymentDescription: null,
|
|
622
|
+
* groupNumber: null,
|
|
623
|
+
* source: null,
|
|
624
|
+
* payabliTransId: null,
|
|
625
|
+
* unbundled: null,
|
|
626
|
+
* categories: [],
|
|
627
|
+
* splitFunding: []
|
|
628
|
+
* }
|
|
629
|
+
* },
|
|
630
|
+
* transStatus: 3,
|
|
631
|
+
* paypointId: 3040,
|
|
632
|
+
* totalAmount: 157.5,
|
|
633
|
+
* netAmount: 150,
|
|
634
|
+
* feeAmount: 7.5,
|
|
635
|
+
* settlementStatus: 0,
|
|
636
|
+
* operation: "Sale",
|
|
637
|
+
* responseData: {
|
|
638
|
+
* resultCode: "D0150",
|
|
639
|
+
* resultCodeText: "Declined",
|
|
640
|
+
* response: null,
|
|
641
|
+
* responsetext: "CVV MISMATCH",
|
|
642
|
+
* authcode: null,
|
|
643
|
+
* transactionid: "TRN_N14l0fG5ByszRHN6TIAdw5bTVOJ6rF",
|
|
644
|
+
* avsresponse: "Y",
|
|
645
|
+
* avsresponse_text: "Address and ZIP match",
|
|
646
|
+
* cvvresponse: "N",
|
|
647
|
+
* cvvresponse_text: "CVV2/CVC2 does not match",
|
|
648
|
+
* orderid: null,
|
|
649
|
+
* type: null,
|
|
650
|
+
* response_code: "N",
|
|
651
|
+
* response_code_text: "CVV does not match",
|
|
652
|
+
* customer_vault_id: null,
|
|
653
|
+
* emv_auth_response_data: null
|
|
654
|
+
* },
|
|
655
|
+
* source: "api",
|
|
656
|
+
* scheduleReference: 0,
|
|
657
|
+
* orgId: 17448,
|
|
658
|
+
* refundId: 0,
|
|
659
|
+
* returnedId: 0,
|
|
660
|
+
* chargebackId: 0,
|
|
661
|
+
* retrievalId: 0,
|
|
662
|
+
* transAdditionalData: null,
|
|
663
|
+
* invoiceData: {
|
|
664
|
+
* invoiceNumber: null,
|
|
665
|
+
* invoiceDate: null,
|
|
666
|
+
* invoiceDueDate: null,
|
|
667
|
+
* invoiceEndDate: null,
|
|
668
|
+
* invoiceStatus: null,
|
|
669
|
+
* invoiceType: null,
|
|
670
|
+
* frequency: null,
|
|
671
|
+
* paymentTerms: null,
|
|
672
|
+
* termsConditions: null,
|
|
673
|
+
* notes: null,
|
|
674
|
+
* tax: null,
|
|
675
|
+
* discount: null,
|
|
676
|
+
* invoiceAmount: null,
|
|
677
|
+
* freightAmount: null,
|
|
678
|
+
* dutyAmount: null,
|
|
679
|
+
* purchaseOrder: null,
|
|
680
|
+
* firstName: null,
|
|
681
|
+
* lastName: null,
|
|
682
|
+
* company: null,
|
|
683
|
+
* shippingAddress1: null,
|
|
684
|
+
* shippingAddress2: null,
|
|
685
|
+
* shippingCity: null,
|
|
686
|
+
* shippingState: null,
|
|
687
|
+
* shippingZip: null,
|
|
688
|
+
* shippingCountry: null,
|
|
689
|
+
* shippingEmail: null,
|
|
690
|
+
* shippingPhone: null,
|
|
691
|
+
* shippingFromZip: null,
|
|
692
|
+
* summaryCommodityCode: null,
|
|
693
|
+
* items: null,
|
|
694
|
+
* attachments: null,
|
|
695
|
+
* additionalData: null
|
|
696
|
+
* },
|
|
697
|
+
* entrypageId: 0,
|
|
698
|
+
* externalPaypointID: "",
|
|
699
|
+
* isValidatedACH: false,
|
|
700
|
+
* transactionTime: "2025-12-02T16:12:47.924",
|
|
701
|
+
* customer: {
|
|
702
|
+
* identifiers: null,
|
|
703
|
+
* firstName: "Maria",
|
|
704
|
+
* lastName: "Garcia",
|
|
705
|
+
* companyName: "Garcia Marketing",
|
|
706
|
+
* billingAddress1: "456 Pine Street",
|
|
707
|
+
* billingAddress2: "Suite 300",
|
|
708
|
+
* billingCity: "Austin",
|
|
709
|
+
* billingState: "TX",
|
|
710
|
+
* billingZip: "78701",
|
|
711
|
+
* billingCountry: "US",
|
|
712
|
+
* billingPhone: "+15125554321",
|
|
713
|
+
* billingEmail: "maria.garcia@example.com",
|
|
714
|
+
* customerNumber: "C-90013",
|
|
715
|
+
* shippingAddress1: "456 Pine Street",
|
|
716
|
+
* shippingAddress2: "Suite 300",
|
|
717
|
+
* shippingCity: "Austin",
|
|
718
|
+
* shippingState: "TX",
|
|
719
|
+
* shippingZip: "78701",
|
|
720
|
+
* shippingCountry: "US",
|
|
721
|
+
* customerId: 40147,
|
|
722
|
+
* customerStatus: 0,
|
|
723
|
+
* additionalData: null
|
|
724
|
+
* },
|
|
725
|
+
* splitFundingInstructions: null,
|
|
726
|
+
* cfeeTransactions: [],
|
|
727
|
+
* transactionEvents: [{
|
|
728
|
+
* transEvent: "Created",
|
|
729
|
+
* eventData: "0HNHD69LFABCT:00000001",
|
|
730
|
+
* eventTime: "2025-12-02T16:12:46.871245"
|
|
731
|
+
* }, {
|
|
732
|
+
* transEvent: "Declined",
|
|
733
|
+
* eventData: "0HNHD69LFABCT:00000001",
|
|
734
|
+
* eventTime: "2025-12-02T16:12:47.982123"
|
|
735
|
+
* }],
|
|
736
|
+
* pendingFeeAmount: 0,
|
|
737
|
+
* riskFlagged: false,
|
|
738
|
+
* riskFlaggedOn: "2025-12-02T16:12:46.8601567",
|
|
739
|
+
* riskStatus: "PASSED",
|
|
740
|
+
* riskReason: "",
|
|
741
|
+
* riskAction: "",
|
|
742
|
+
* riskActionCode: 0,
|
|
743
|
+
* deviceId: "",
|
|
744
|
+
* achSecCode: "",
|
|
745
|
+
* achHolderType: Payabli.AchHolderType.Personal,
|
|
746
|
+
* ipAddress: "255.255.255.255",
|
|
747
|
+
* isSameDayACH: false,
|
|
748
|
+
* walletType: null
|
|
749
|
+
* },
|
|
750
|
+
* token: null
|
|
751
|
+
* }
|
|
752
|
+
*/
|
|
753
|
+
export interface V2DeclinedTransactionResponseWrapper {
|
|
754
|
+
code: Payabli.V2ResponseCode;
|
|
755
|
+
reason: Payabli.V2ResponseReason;
|
|
756
|
+
explanation: Payabli.V2ResponseExplanation;
|
|
757
|
+
action: Payabli.V2ResponseAction;
|
|
758
|
+
data: Payabli.V2TransactionDetails;
|
|
759
|
+
/** Pagination token (equivalent to `pageIdentifier` in v1 APIs). Returns `null` when pagination is not applicable. */
|
|
760
|
+
token: string | null;
|
|
761
|
+
}
|