@payabli/sdk-node 0.0.123 → 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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/bill/types/BillResponseData.d.ts +2 -1
- package/dist/cjs/api/resources/export/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/export/client/Client.js +5 -21
- package/dist/cjs/api/resources/import/client/Client.d.ts +0 -5
- 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/lineItem/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/lineItem/client/Client.js +5 -21
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +247 -2
- 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/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/moneyOutTypes/types/AuthCapturePayoutResponse.d.ts +2 -2
- package/dist/cjs/api/resources/notification/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/notification/client/Client.js +5 -21
- package/dist/cjs/api/resources/notificationlogs/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/notificationlogs/client/Client.js +5 -21
- package/dist/cjs/api/resources/ocr/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/ocr/client/Client.js +5 -21
- package/dist/cjs/api/resources/organization/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/organization/client/Client.js +5 -21
- package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/paymentLink/client/Client.js +5 -21
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.js +5 -21
- package/dist/cjs/api/resources/paypoint/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/paypoint/client/Client.js +5 -21
- package/dist/cjs/api/resources/query/client/Client.d.ts +0 -5
- 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 +0 -5
- package/dist/cjs/api/resources/statistic/client/Client.js +5 -21
- package/dist/cjs/api/resources/subscription/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/subscription/client/Client.js +5 -21
- package/dist/cjs/api/resources/templates/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/templates/client/Client.js +5 -21
- package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +51 -5
- 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 +100 -0
- 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 +0 -5
- 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 +0 -5
- package/dist/cjs/api/resources/vendor/client/Client.js +5 -21
- package/dist/cjs/api/resources/wallet/client/Client.d.ts +0 -5
- 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/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/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/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/bill/types/BillResponseData.d.mts +2 -1
- package/dist/esm/api/resources/export/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/export/client/Client.mjs +5 -21
- package/dist/esm/api/resources/import/client/Client.d.mts +0 -5
- 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/lineItem/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/lineItem/client/Client.mjs +5 -21
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +247 -2
- 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/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/moneyOutTypes/types/AuthCapturePayoutResponse.d.mts +2 -2
- package/dist/esm/api/resources/notification/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/notification/client/Client.mjs +5 -21
- package/dist/esm/api/resources/notificationlogs/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/notificationlogs/client/Client.mjs +5 -21
- package/dist/esm/api/resources/ocr/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/ocr/client/Client.mjs +5 -21
- package/dist/esm/api/resources/organization/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/organization/client/Client.mjs +5 -21
- package/dist/esm/api/resources/paymentLink/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/paymentLink/client/Client.mjs +5 -21
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.mjs +5 -21
- package/dist/esm/api/resources/paypoint/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/paypoint/client/Client.mjs +5 -21
- package/dist/esm/api/resources/query/client/Client.d.mts +0 -5
- 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 +0 -5
- package/dist/esm/api/resources/statistic/client/Client.mjs +5 -21
- package/dist/esm/api/resources/subscription/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/subscription/client/Client.mjs +5 -21
- package/dist/esm/api/resources/templates/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/templates/client/Client.mjs +5 -21
- package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +51 -5
- 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 +100 -0
- 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 +0 -5
- 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 +0 -5
- package/dist/esm/api/resources/vendor/client/Client.mjs +5 -21
- package/dist/esm/api/resources/wallet/client/Client.d.mts +0 -5
- 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/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/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/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +467 -2
- /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
|
@@ -56,7 +56,8 @@ export * from "./Authcode.mjs";
|
|
|
56
56
|
export * from "./AutoElement.mjs";
|
|
57
57
|
export * from "./Avgmonthly.mjs";
|
|
58
58
|
export * from "./Avgticketamt.mjs";
|
|
59
|
-
export * from "./
|
|
59
|
+
export * from "./AvsResponse.mjs";
|
|
60
|
+
export * from "./AvsResponseText.mjs";
|
|
60
61
|
export * from "./BAddress.mjs";
|
|
61
62
|
export * from "./Baddress1.mjs";
|
|
62
63
|
export * from "./Baddress2.mjs";
|
|
@@ -169,7 +170,9 @@ export * from "./CustomerNumberNullable.mjs";
|
|
|
169
170
|
export * from "./CustomerQueryRecords.mjs";
|
|
170
171
|
export * from "./CustomerStatus.mjs";
|
|
171
172
|
export * from "./CustomerSummaryRecord.mjs";
|
|
172
|
-
export * from "./
|
|
173
|
+
export * from "./CustomerVaultId.mjs";
|
|
174
|
+
export * from "./CvvResponse.mjs";
|
|
175
|
+
export * from "./CvvResponseText.mjs";
|
|
173
176
|
export * from "./Datenullable.mjs";
|
|
174
177
|
export * from "./DatetimeNullable.mjs";
|
|
175
178
|
export * from "./Dbaname.mjs";
|
|
@@ -187,6 +190,7 @@ export * from "./DutyAmount.mjs";
|
|
|
187
190
|
export * from "./Ein.mjs";
|
|
188
191
|
export * from "./Element.mjs";
|
|
189
192
|
export * from "./Email.mjs";
|
|
193
|
+
export * from "./EmvAuthResponseData.mjs";
|
|
190
194
|
export * from "./Enabled.mjs";
|
|
191
195
|
export * from "./EnrollmentStatus.mjs";
|
|
192
196
|
export * from "./EntityId.mjs";
|
|
@@ -260,6 +264,7 @@ export * from "./LocationCode.mjs";
|
|
|
260
264
|
export * from "./Maddress.mjs";
|
|
261
265
|
export * from "./Maddress1.mjs";
|
|
262
266
|
export * from "./Maskedaccount.mjs";
|
|
267
|
+
export * from "./MaxTicket.mjs";
|
|
263
268
|
export * from "./Mcc.mjs";
|
|
264
269
|
export * from "./Mcity.mjs";
|
|
265
270
|
export * from "./Mcountry.mjs";
|
|
@@ -273,6 +278,7 @@ export * from "./Mfa.mjs";
|
|
|
273
278
|
export * from "./MfaData.mjs";
|
|
274
279
|
export * from "./MfaMode.mjs";
|
|
275
280
|
export * from "./MfaValidationCode.mjs";
|
|
281
|
+
export * from "./MinTicket.mjs";
|
|
276
282
|
export * from "./Mstate.mjs";
|
|
277
283
|
export * from "./Mzip.mjs";
|
|
278
284
|
export * from "./NameUser.mjs";
|
|
@@ -286,6 +292,7 @@ export * from "./NotificationReportRequest.mjs";
|
|
|
286
292
|
export * from "./NotificationStandardRequest.mjs";
|
|
287
293
|
export * from "./OdpSetup.mjs";
|
|
288
294
|
export * from "./OList.mjs";
|
|
295
|
+
export * from "./OnCreate.mjs";
|
|
289
296
|
export * from "./Operation.mjs";
|
|
290
297
|
export * from "./OptinStatus.mjs";
|
|
291
298
|
export * from "./Order.mjs";
|
|
@@ -442,6 +449,8 @@ export * from "./Responsedata.mjs";
|
|
|
442
449
|
export * from "./Responsedatanonobject.mjs";
|
|
443
450
|
export * from "./ResponseText.mjs";
|
|
444
451
|
export * from "./ResultCode.mjs";
|
|
452
|
+
export * from "./ResultCodeText.mjs";
|
|
453
|
+
export * from "./ResultCodev2.mjs";
|
|
445
454
|
export * from "./Resulttext.mjs";
|
|
446
455
|
export * from "./Resumable.mjs";
|
|
447
456
|
export * from "./RetrievalId.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.126";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.126";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -6780,8 +6780,10 @@ await client.lineItem.updateItem(700, {
|
|
|
6780
6780
|
<dd>
|
|
6781
6781
|
|
|
6782
6782
|
Authorize a card transaction. This returns an authorization code and reserves funds for the merchant. Authorized transactions aren't flagged for settlement until [captured](/api-reference/moneyin/capture-an-authorized-transaction).
|
|
6783
|
-
|
|
6784
|
-
|
|
6783
|
+
Only card transactions can be authorized. This endpoint can't be used for ACH transactions.
|
|
6784
|
+
<Tip>
|
|
6785
|
+
Consider migrating to the [v2 Authorize endpoint](/developers/api-reference/moneyinV2/authorize-a-transaction) to take advantage of unified response codes and improved response consistency.
|
|
6786
|
+
</Tip>
|
|
6785
6787
|
</dd>
|
|
6786
6788
|
</dl>
|
|
6787
6789
|
</dd>
|
|
@@ -6944,6 +6946,10 @@ await client.moneyIn.capture("10-7d9cd67d-2d5d-4cd7-a1b7-72b8b201ec13", 0);
|
|
|
6944
6946
|
Capture an [authorized transaction](/api-reference/moneyin/authorize-a-transaction) to complete the transaction and move funds from the customer to merchant account.
|
|
6945
6947
|
|
|
6946
6948
|
You can use this endpoint to capture both full and partial amounts of the original authorized transaction. See [Capture an authorized transaction](/developers/developer-guides/pay-in-auth-and-capture) for more information about this endpoint.
|
|
6949
|
+
|
|
6950
|
+
<Tip>
|
|
6951
|
+
Consider migrating to the [v2 Capture endpoint](/developers/api-reference/moneyinV2/capture-an-authorized-transaction) to take advantage of unified response codes and improved response consistency.
|
|
6952
|
+
</Tip>
|
|
6947
6953
|
</dd>
|
|
6948
6954
|
</dl>
|
|
6949
6955
|
</dd>
|
|
@@ -7166,6 +7172,10 @@ await client.moneyIn.details("45-as456777hhhhhhhhhh77777777-324");
|
|
|
7166
7172
|
<dd>
|
|
7167
7173
|
|
|
7168
7174
|
Make a single transaction. This method authorizes and captures a payment in one step.
|
|
7175
|
+
|
|
7176
|
+
<Tip>
|
|
7177
|
+
Consider migrating to the [v2 Make a transaction endpoint](/developers/api-reference/moneyinV2/make-a-transaction) to take advantage of unified response codes and improved response consistency.
|
|
7178
|
+
</Tip>
|
|
7169
7179
|
</dd>
|
|
7170
7180
|
</dl>
|
|
7171
7181
|
</dd>
|
|
@@ -7328,6 +7338,10 @@ An amount equal to zero will refunds the total amount authorized minus any servi
|
|
|
7328
7338
|
<dd>
|
|
7329
7339
|
|
|
7330
7340
|
Refund a transaction that has settled and send money back to the account holder. If a transaction hasn't been settled, void it instead.
|
|
7341
|
+
|
|
7342
|
+
<Tip>
|
|
7343
|
+
Consider migrating to the [v2 Refund endpoint](/developers/api-reference/moneyinV2/refund-a-settled-transaction) to take advantage of unified response codes and improved response consistency.
|
|
7344
|
+
</Tip>
|
|
7331
7345
|
</dd>
|
|
7332
7346
|
</dl>
|
|
7333
7347
|
</dd>
|
|
@@ -7704,6 +7718,10 @@ await client.moneyIn.validate({
|
|
|
7704
7718
|
<dd>
|
|
7705
7719
|
|
|
7706
7720
|
Cancel a transaction that hasn't been settled yet. Voiding non-captured authorizations prevents future captures. If a transaction has been settled, refund it instead.
|
|
7721
|
+
|
|
7722
|
+
<Tip>
|
|
7723
|
+
Consider migrating to the [v2 Void endpoint](/developers/api-reference/moneyinV2/void-a-transaction) to take advantage of unified response codes and improved response consistency.
|
|
7724
|
+
</Tip>
|
|
7707
7725
|
</dd>
|
|
7708
7726
|
</dl>
|
|
7709
7727
|
</dd>
|
|
@@ -7750,6 +7768,453 @@ await client.moneyIn.void("10-3ffa27df-b171-44e0-b251-e95fbfc7a723");
|
|
|
7750
7768
|
</dl>
|
|
7751
7769
|
|
|
7752
7770
|
|
|
7771
|
+
</dd>
|
|
7772
|
+
</dl>
|
|
7773
|
+
</details>
|
|
7774
|
+
|
|
7775
|
+
<details><summary><code>client.moneyIn.<a href="/src/api/resources/moneyIn/client/Client.ts">getpaidv2</a>({ ...params }) -> Payabli.V2TransactionResponseWrapper</code></summary>
|
|
7776
|
+
<dl>
|
|
7777
|
+
<dd>
|
|
7778
|
+
|
|
7779
|
+
#### 📝 Description
|
|
7780
|
+
|
|
7781
|
+
<dl>
|
|
7782
|
+
<dd>
|
|
7783
|
+
|
|
7784
|
+
<dl>
|
|
7785
|
+
<dd>
|
|
7786
|
+
|
|
7787
|
+
Make a single transaction. This method authorizes and captures a payment in one step. This is the v2 version of the `api/MoneyIn/getpaid` endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
|
|
7788
|
+
</dd>
|
|
7789
|
+
</dl>
|
|
7790
|
+
</dd>
|
|
7791
|
+
</dl>
|
|
7792
|
+
|
|
7793
|
+
#### 🔌 Usage
|
|
7794
|
+
|
|
7795
|
+
<dl>
|
|
7796
|
+
<dd>
|
|
7797
|
+
|
|
7798
|
+
<dl>
|
|
7799
|
+
<dd>
|
|
7800
|
+
|
|
7801
|
+
```typescript
|
|
7802
|
+
await client.moneyIn.getpaidv2({
|
|
7803
|
+
body: {
|
|
7804
|
+
customerData: {
|
|
7805
|
+
customerId: 4440
|
|
7806
|
+
},
|
|
7807
|
+
entryPoint: "f743aed24a",
|
|
7808
|
+
ipaddress: "255.255.255.255",
|
|
7809
|
+
paymentDetails: {
|
|
7810
|
+
serviceFee: 0,
|
|
7811
|
+
totalAmount: 100
|
|
7812
|
+
},
|
|
7813
|
+
paymentMethod: {
|
|
7814
|
+
cardcvv: "999",
|
|
7815
|
+
cardexp: "02/27",
|
|
7816
|
+
cardHolder: "John Cassian",
|
|
7817
|
+
cardnumber: "4111111111111111",
|
|
7818
|
+
cardzip: "12345",
|
|
7819
|
+
initiator: "payor",
|
|
7820
|
+
method: "card"
|
|
7821
|
+
}
|
|
7822
|
+
}
|
|
7823
|
+
});
|
|
7824
|
+
|
|
7825
|
+
```
|
|
7826
|
+
</dd>
|
|
7827
|
+
</dl>
|
|
7828
|
+
</dd>
|
|
7829
|
+
</dl>
|
|
7830
|
+
|
|
7831
|
+
#### ⚙️ Parameters
|
|
7832
|
+
|
|
7833
|
+
<dl>
|
|
7834
|
+
<dd>
|
|
7835
|
+
|
|
7836
|
+
<dl>
|
|
7837
|
+
<dd>
|
|
7838
|
+
|
|
7839
|
+
**request:** `Payabli.RequestPaymentV2`
|
|
7840
|
+
|
|
7841
|
+
</dd>
|
|
7842
|
+
</dl>
|
|
7843
|
+
|
|
7844
|
+
<dl>
|
|
7845
|
+
<dd>
|
|
7846
|
+
|
|
7847
|
+
**requestOptions:** `MoneyInClient.RequestOptions`
|
|
7848
|
+
|
|
7849
|
+
</dd>
|
|
7850
|
+
</dl>
|
|
7851
|
+
</dd>
|
|
7852
|
+
</dl>
|
|
7853
|
+
|
|
7854
|
+
|
|
7855
|
+
</dd>
|
|
7856
|
+
</dl>
|
|
7857
|
+
</details>
|
|
7858
|
+
|
|
7859
|
+
<details><summary><code>client.moneyIn.<a href="/src/api/resources/moneyIn/client/Client.ts">authorizev2</a>({ ...params }) -> Payabli.V2TransactionResponseWrapper</code></summary>
|
|
7860
|
+
<dl>
|
|
7861
|
+
<dd>
|
|
7862
|
+
|
|
7863
|
+
#### 📝 Description
|
|
7864
|
+
|
|
7865
|
+
<dl>
|
|
7866
|
+
<dd>
|
|
7867
|
+
|
|
7868
|
+
<dl>
|
|
7869
|
+
<dd>
|
|
7870
|
+
|
|
7871
|
+
Authorize a card transaction. This returns an authorization code and reserves funds for the merchant. Authorized transactions aren't flagged for settlement until captured. This is the v2 version of the `api/MoneyIn/authorize` endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
|
|
7872
|
+
|
|
7873
|
+
**Note**: Only card transactions can be authorized. This endpoint can't be used for ACH transactions.
|
|
7874
|
+
</dd>
|
|
7875
|
+
</dl>
|
|
7876
|
+
</dd>
|
|
7877
|
+
</dl>
|
|
7878
|
+
|
|
7879
|
+
#### 🔌 Usage
|
|
7880
|
+
|
|
7881
|
+
<dl>
|
|
7882
|
+
<dd>
|
|
7883
|
+
|
|
7884
|
+
<dl>
|
|
7885
|
+
<dd>
|
|
7886
|
+
|
|
7887
|
+
```typescript
|
|
7888
|
+
await client.moneyIn.authorizev2({
|
|
7889
|
+
body: {
|
|
7890
|
+
customerData: {
|
|
7891
|
+
customerId: 4440
|
|
7892
|
+
},
|
|
7893
|
+
entryPoint: "f743aed24a",
|
|
7894
|
+
ipaddress: "255.255.255.255",
|
|
7895
|
+
paymentDetails: {
|
|
7896
|
+
serviceFee: 0,
|
|
7897
|
+
totalAmount: 100
|
|
7898
|
+
},
|
|
7899
|
+
paymentMethod: {
|
|
7900
|
+
cardcvv: "999",
|
|
7901
|
+
cardexp: "02/27",
|
|
7902
|
+
cardHolder: "John Cassian",
|
|
7903
|
+
cardnumber: "4111111111111111",
|
|
7904
|
+
cardzip: "12345",
|
|
7905
|
+
initiator: "payor",
|
|
7906
|
+
method: "card"
|
|
7907
|
+
}
|
|
7908
|
+
}
|
|
7909
|
+
});
|
|
7910
|
+
|
|
7911
|
+
```
|
|
7912
|
+
</dd>
|
|
7913
|
+
</dl>
|
|
7914
|
+
</dd>
|
|
7915
|
+
</dl>
|
|
7916
|
+
|
|
7917
|
+
#### ⚙️ Parameters
|
|
7918
|
+
|
|
7919
|
+
<dl>
|
|
7920
|
+
<dd>
|
|
7921
|
+
|
|
7922
|
+
<dl>
|
|
7923
|
+
<dd>
|
|
7924
|
+
|
|
7925
|
+
**request:** `Payabli.RequestPaymentAuthorizeV2`
|
|
7926
|
+
|
|
7927
|
+
</dd>
|
|
7928
|
+
</dl>
|
|
7929
|
+
|
|
7930
|
+
<dl>
|
|
7931
|
+
<dd>
|
|
7932
|
+
|
|
7933
|
+
**requestOptions:** `MoneyInClient.RequestOptions`
|
|
7934
|
+
|
|
7935
|
+
</dd>
|
|
7936
|
+
</dl>
|
|
7937
|
+
</dd>
|
|
7938
|
+
</dl>
|
|
7939
|
+
|
|
7940
|
+
|
|
7941
|
+
</dd>
|
|
7942
|
+
</dl>
|
|
7943
|
+
</details>
|
|
7944
|
+
|
|
7945
|
+
<details><summary><code>client.moneyIn.<a href="/src/api/resources/moneyIn/client/Client.ts">capturev2</a>(transId, { ...params }) -> Payabli.V2TransactionResponseWrapper</code></summary>
|
|
7946
|
+
<dl>
|
|
7947
|
+
<dd>
|
|
7948
|
+
|
|
7949
|
+
#### 📝 Description
|
|
7950
|
+
|
|
7951
|
+
<dl>
|
|
7952
|
+
<dd>
|
|
7953
|
+
|
|
7954
|
+
<dl>
|
|
7955
|
+
<dd>
|
|
7956
|
+
|
|
7957
|
+
Capture an authorized transaction to complete the transaction and move funds from the customer to merchant account. This is the v2 version of the `api/MoneyIn/capture/{transId}` endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
|
|
7958
|
+
</dd>
|
|
7959
|
+
</dl>
|
|
7960
|
+
</dd>
|
|
7961
|
+
</dl>
|
|
7962
|
+
|
|
7963
|
+
#### 🔌 Usage
|
|
7964
|
+
|
|
7965
|
+
<dl>
|
|
7966
|
+
<dd>
|
|
7967
|
+
|
|
7968
|
+
<dl>
|
|
7969
|
+
<dd>
|
|
7970
|
+
|
|
7971
|
+
```typescript
|
|
7972
|
+
await client.moneyIn.capturev2("10-7d9cd67d-2d5d-4cd7-a1b7-72b8b201ec13", {
|
|
7973
|
+
paymentDetails: {
|
|
7974
|
+
totalAmount: 105,
|
|
7975
|
+
serviceFee: 5
|
|
7976
|
+
}
|
|
7977
|
+
});
|
|
7978
|
+
|
|
7979
|
+
```
|
|
7980
|
+
</dd>
|
|
7981
|
+
</dl>
|
|
7982
|
+
</dd>
|
|
7983
|
+
</dl>
|
|
7984
|
+
|
|
7985
|
+
#### ⚙️ Parameters
|
|
7986
|
+
|
|
7987
|
+
<dl>
|
|
7988
|
+
<dd>
|
|
7989
|
+
|
|
7990
|
+
<dl>
|
|
7991
|
+
<dd>
|
|
7992
|
+
|
|
7993
|
+
**transId:** `string` — ReferenceId for the transaction (PaymentId).
|
|
7994
|
+
|
|
7995
|
+
</dd>
|
|
7996
|
+
</dl>
|
|
7997
|
+
|
|
7998
|
+
<dl>
|
|
7999
|
+
<dd>
|
|
8000
|
+
|
|
8001
|
+
**request:** `Payabli.CaptureRequest`
|
|
8002
|
+
|
|
8003
|
+
</dd>
|
|
8004
|
+
</dl>
|
|
8005
|
+
|
|
8006
|
+
<dl>
|
|
8007
|
+
<dd>
|
|
8008
|
+
|
|
8009
|
+
**requestOptions:** `MoneyInClient.RequestOptions`
|
|
8010
|
+
|
|
8011
|
+
</dd>
|
|
8012
|
+
</dl>
|
|
8013
|
+
</dd>
|
|
8014
|
+
</dl>
|
|
8015
|
+
|
|
8016
|
+
|
|
8017
|
+
</dd>
|
|
8018
|
+
</dl>
|
|
8019
|
+
</details>
|
|
8020
|
+
|
|
8021
|
+
<details><summary><code>client.moneyIn.<a href="/src/api/resources/moneyIn/client/Client.ts">refundv2</a>(transId) -> Payabli.V2TransactionResponseWrapper</code></summary>
|
|
8022
|
+
<dl>
|
|
8023
|
+
<dd>
|
|
8024
|
+
|
|
8025
|
+
#### 📝 Description
|
|
8026
|
+
|
|
8027
|
+
<dl>
|
|
8028
|
+
<dd>
|
|
8029
|
+
|
|
8030
|
+
<dl>
|
|
8031
|
+
<dd>
|
|
8032
|
+
|
|
8033
|
+
Give a full refund for a transaction that has settled and send money back to the account holder. To perform a partial refund, see [Partially refund a transaction](developers/api-reference/moneyinV2/partial-refund-a-settled-transaction).
|
|
8034
|
+
|
|
8035
|
+
This is the v2 version of the refund endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
|
|
8036
|
+
</dd>
|
|
8037
|
+
</dl>
|
|
8038
|
+
</dd>
|
|
8039
|
+
</dl>
|
|
8040
|
+
|
|
8041
|
+
#### 🔌 Usage
|
|
8042
|
+
|
|
8043
|
+
<dl>
|
|
8044
|
+
<dd>
|
|
8045
|
+
|
|
8046
|
+
<dl>
|
|
8047
|
+
<dd>
|
|
8048
|
+
|
|
8049
|
+
```typescript
|
|
8050
|
+
await client.moneyIn.refundv2("10-3ffa27df-b171-44e0-b251-e95fbfc7a723");
|
|
8051
|
+
|
|
8052
|
+
```
|
|
8053
|
+
</dd>
|
|
8054
|
+
</dl>
|
|
8055
|
+
</dd>
|
|
8056
|
+
</dl>
|
|
8057
|
+
|
|
8058
|
+
#### ⚙️ Parameters
|
|
8059
|
+
|
|
8060
|
+
<dl>
|
|
8061
|
+
<dd>
|
|
8062
|
+
|
|
8063
|
+
<dl>
|
|
8064
|
+
<dd>
|
|
8065
|
+
|
|
8066
|
+
**transId:** `string` — ReferenceId for the transaction (PaymentId).
|
|
8067
|
+
|
|
8068
|
+
</dd>
|
|
8069
|
+
</dl>
|
|
8070
|
+
|
|
8071
|
+
<dl>
|
|
8072
|
+
<dd>
|
|
8073
|
+
|
|
8074
|
+
**requestOptions:** `MoneyInClient.RequestOptions`
|
|
8075
|
+
|
|
8076
|
+
</dd>
|
|
8077
|
+
</dl>
|
|
8078
|
+
</dd>
|
|
8079
|
+
</dl>
|
|
8080
|
+
|
|
8081
|
+
|
|
8082
|
+
</dd>
|
|
8083
|
+
</dl>
|
|
8084
|
+
</details>
|
|
8085
|
+
|
|
8086
|
+
<details><summary><code>client.moneyIn.<a href="/src/api/resources/moneyIn/client/Client.ts">refundv2Amount</a>(transId, amount) -> Payabli.V2TransactionResponseWrapper</code></summary>
|
|
8087
|
+
<dl>
|
|
8088
|
+
<dd>
|
|
8089
|
+
|
|
8090
|
+
#### 📝 Description
|
|
8091
|
+
|
|
8092
|
+
<dl>
|
|
8093
|
+
<dd>
|
|
8094
|
+
|
|
8095
|
+
<dl>
|
|
8096
|
+
<dd>
|
|
8097
|
+
|
|
8098
|
+
Refund a transaction that has settled and send money back to the account holder. If `amount` is omitted or set to 0, performs a full refund. When a non-zero `amount` is provided, this endpoint performs a partial refund.
|
|
8099
|
+
|
|
8100
|
+
This is the v2 version of the refund endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
|
|
8101
|
+
</dd>
|
|
8102
|
+
</dl>
|
|
8103
|
+
</dd>
|
|
8104
|
+
</dl>
|
|
8105
|
+
|
|
8106
|
+
#### 🔌 Usage
|
|
8107
|
+
|
|
8108
|
+
<dl>
|
|
8109
|
+
<dd>
|
|
8110
|
+
|
|
8111
|
+
<dl>
|
|
8112
|
+
<dd>
|
|
8113
|
+
|
|
8114
|
+
```typescript
|
|
8115
|
+
await client.moneyIn.refundv2Amount("10-3ffa27df-b171-44e0-b251-e95fbfc7a723", 0);
|
|
8116
|
+
|
|
8117
|
+
```
|
|
8118
|
+
</dd>
|
|
8119
|
+
</dl>
|
|
8120
|
+
</dd>
|
|
8121
|
+
</dl>
|
|
8122
|
+
|
|
8123
|
+
#### ⚙️ Parameters
|
|
8124
|
+
|
|
8125
|
+
<dl>
|
|
8126
|
+
<dd>
|
|
8127
|
+
|
|
8128
|
+
<dl>
|
|
8129
|
+
<dd>
|
|
8130
|
+
|
|
8131
|
+
**transId:** `string` — ReferenceId for the transaction (PaymentId).
|
|
8132
|
+
|
|
8133
|
+
</dd>
|
|
8134
|
+
</dl>
|
|
8135
|
+
|
|
8136
|
+
<dl>
|
|
8137
|
+
<dd>
|
|
8138
|
+
|
|
8139
|
+
**amount:** `number` — Amount to refund from original transaction, minus any service fees charged on the original transaction. If omitted or set to 0, performs a full refund.
|
|
8140
|
+
|
|
8141
|
+
</dd>
|
|
8142
|
+
</dl>
|
|
8143
|
+
|
|
8144
|
+
<dl>
|
|
8145
|
+
<dd>
|
|
8146
|
+
|
|
8147
|
+
**requestOptions:** `MoneyInClient.RequestOptions`
|
|
8148
|
+
|
|
8149
|
+
</dd>
|
|
8150
|
+
</dl>
|
|
8151
|
+
</dd>
|
|
8152
|
+
</dl>
|
|
8153
|
+
|
|
8154
|
+
|
|
8155
|
+
</dd>
|
|
8156
|
+
</dl>
|
|
8157
|
+
</details>
|
|
8158
|
+
|
|
8159
|
+
<details><summary><code>client.moneyIn.<a href="/src/api/resources/moneyIn/client/Client.ts">voidv2</a>(transId) -> Payabli.V2TransactionResponseWrapper</code></summary>
|
|
8160
|
+
<dl>
|
|
8161
|
+
<dd>
|
|
8162
|
+
|
|
8163
|
+
#### 📝 Description
|
|
8164
|
+
|
|
8165
|
+
<dl>
|
|
8166
|
+
<dd>
|
|
8167
|
+
|
|
8168
|
+
<dl>
|
|
8169
|
+
<dd>
|
|
8170
|
+
|
|
8171
|
+
Cancel a transaction that hasn't been settled yet. Voiding non-captured authorizations prevents future captures. This is the v2 version of the `api/MoneyIn/void/{transId}` endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
|
|
8172
|
+
</dd>
|
|
8173
|
+
</dl>
|
|
8174
|
+
</dd>
|
|
8175
|
+
</dl>
|
|
8176
|
+
|
|
8177
|
+
#### 🔌 Usage
|
|
8178
|
+
|
|
8179
|
+
<dl>
|
|
8180
|
+
<dd>
|
|
8181
|
+
|
|
8182
|
+
<dl>
|
|
8183
|
+
<dd>
|
|
8184
|
+
|
|
8185
|
+
```typescript
|
|
8186
|
+
await client.moneyIn.voidv2("10-3ffa27df-b171-44e0-b251-e95fbfc7a723");
|
|
8187
|
+
|
|
8188
|
+
```
|
|
8189
|
+
</dd>
|
|
8190
|
+
</dl>
|
|
8191
|
+
</dd>
|
|
8192
|
+
</dl>
|
|
8193
|
+
|
|
8194
|
+
#### ⚙️ Parameters
|
|
8195
|
+
|
|
8196
|
+
<dl>
|
|
8197
|
+
<dd>
|
|
8198
|
+
|
|
8199
|
+
<dl>
|
|
8200
|
+
<dd>
|
|
8201
|
+
|
|
8202
|
+
**transId:** `string` — ReferenceId for the transaction (PaymentId).
|
|
8203
|
+
|
|
8204
|
+
</dd>
|
|
8205
|
+
</dl>
|
|
8206
|
+
|
|
8207
|
+
<dl>
|
|
8208
|
+
<dd>
|
|
8209
|
+
|
|
8210
|
+
**requestOptions:** `MoneyInClient.RequestOptions`
|
|
8211
|
+
|
|
8212
|
+
</dd>
|
|
8213
|
+
</dl>
|
|
8214
|
+
</dd>
|
|
8215
|
+
</dl>
|
|
8216
|
+
|
|
8217
|
+
|
|
7753
8218
|
</dd>
|
|
7754
8219
|
</dl>
|
|
7755
8220
|
</details>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|