@payabli/sdk-node 0.0.131 → 0.0.133
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/LICENSE.md +1 -1
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/bill/types/BillOutData.d.ts +3 -3
- package/dist/cjs/api/resources/bill/types/BillResponseData.d.ts +3 -3
- package/dist/cjs/api/resources/boarding/client/Client.d.ts +41 -5
- package/dist/cjs/api/resources/boarding/client/Client.js +41 -5
- package/dist/cjs/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.ts +1 -1
- package/dist/cjs/api/resources/invoice/client/requests/AddInvoiceRequest.d.ts +1 -1
- package/dist/cjs/api/resources/invoice/types/GetInvoiceRecord.d.ts +5 -5
- package/dist/cjs/api/resources/invoice/types/QueryInvoiceResponse.d.ts +5 -5
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/client/Client.js +1 -1
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestCredit.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPayment.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorize.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentV2.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/types/ResponseDataRefunds.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailCustomer.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailInvoiceData.d.ts +9 -9
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailRecord.d.ts +1 -1
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +21 -0
- package/dist/cjs/api/resources/moneyOut/client/Client.js +21 -0
- package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts +21 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.ts +2 -2
- package/dist/cjs/api/resources/moneyOutTypes/types/MethodElementOut.d.ts +21 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/MethodsListOut.d.ts +11 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/PaymentLinkStatus.d.ts +8 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/PaymentLinkStatus.js +11 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/index.js +3 -0
- package/dist/cjs/api/resources/notification/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/notification/client/Client.js +4 -4
- package/dist/cjs/api/resources/organization/client/requests/AddOrganizationRequest.d.ts +1 -1
- package/dist/cjs/api/resources/organization/client/requests/OrganizationData.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +231 -46
- package/dist/cjs/api/resources/paymentLink/client/Client.js +325 -46
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataBill.d.ts +69 -22
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataOut.d.ts +8 -25
- package/dist/cjs/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.d.ts +12 -0
- package/dist/cjs/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.js +3 -0
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBody.d.ts +0 -79
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBodyOut.d.ts +88 -0
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBodyOut.js +3 -0
- package/dist/cjs/api/resources/paymentLink/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/paymentLink/types/index.js +2 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransfersPaypointRequest.d.ts +1 -1
- package/dist/cjs/api/resources/queryTypes/types/LimitRecord.d.ts +1 -1
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferDetailResponse.d.ts +8 -8
- package/dist/cjs/api/resources/subscription/client/requests/RequestSchedule.d.ts +1 -1
- package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/tokenStorage/client/Client.js +4 -1
- package/dist/cjs/api/resources/tokenStorage/client/requests/AddMethodRequest.d.ts +6 -3
- package/dist/cjs/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.ts +1 -1
- package/dist/cjs/api/resources/tokenStorage/types/CreateAnonymous.d.ts +1 -1
- package/dist/cjs/api/resources/tokenStorage/types/Temporary.d.ts +1 -1
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.ts +2 -2
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.ts +14 -14
- package/dist/cjs/api/types/AcceptOauth.d.ts +1 -1
- package/dist/cjs/api/types/AcceptRegister.d.ts +1 -1
- package/dist/cjs/api/types/AchValidation.d.ts +1 -1
- package/dist/cjs/api/types/Annualrevenue.d.ts +1 -1
- package/dist/cjs/api/types/ApplePayType.d.ts +1 -1
- package/dist/cjs/api/types/ApplicationData.d.ts +1 -1
- package/dist/cjs/api/types/ApplicationDataPayIn.d.ts +3 -5
- package/dist/cjs/api/types/ApplicationDetailsRecord.d.ts +1 -1
- package/dist/cjs/api/types/ApplicationQueryRecord.d.ts +1 -1
- package/dist/cjs/api/types/Attachments.d.ts +1 -1
- package/dist/cjs/api/types/Avgmonthly.d.ts +1 -1
- package/dist/cjs/api/types/Avgticketamt.d.ts +1 -1
- package/dist/cjs/api/types/BankData.d.ts +1 -1
- package/dist/cjs/api/types/BillApprovals.d.ts +1 -1
- package/dist/cjs/api/types/BillData.d.ts +3 -3
- package/dist/cjs/api/types/BillDetailsResponse.d.ts +2 -2
- package/dist/cjs/api/types/BillEvents.d.ts +1 -1
- package/dist/cjs/api/types/BillPayOutData.d.ts +2 -2
- package/dist/cjs/api/types/BillPayOutDataRequest.d.ts +2 -2
- package/dist/cjs/api/types/BillQueryRecord2.d.ts +4 -4
- package/dist/cjs/api/types/BillQueryRecord2BillApprovalsItem.d.ts +1 -1
- package/dist/cjs/api/types/Billitems.d.ts +1 -1
- package/dist/cjs/api/types/ContactsField.d.ts +1 -1
- package/dist/cjs/api/types/DeviceId.d.ts +1 -1
- package/dist/cjs/api/types/Discount.d.ts +1 -1
- package/dist/cjs/api/types/DutyAmount.d.ts +1 -1
- package/dist/cjs/api/types/EnrollmentStatus.d.ts +1 -1
- package/dist/cjs/api/types/ExpectedProcessingDateTime.d.ts +1 -1
- package/dist/cjs/api/types/ForceCustomerCreation.d.ts +1 -1
- package/dist/cjs/api/types/FreightAmount.d.ts +1 -1
- package/dist/cjs/api/types/HasVcardTransactions.d.ts +1 -1
- package/dist/cjs/api/types/Highticketamt.d.ts +1 -1
- package/dist/cjs/api/types/Initiator.d.ts +1 -1
- package/dist/cjs/api/types/IsRoot.d.ts +1 -1
- package/dist/cjs/api/types/IsSameDayAch.d.ts +1 -1
- package/dist/cjs/api/types/LastModified.d.ts +1 -1
- package/dist/cjs/api/types/Mfa.d.ts +1 -1
- package/dist/cjs/api/types/Netamountnullable.d.ts +1 -1
- package/dist/cjs/api/types/Ownerid.d.ts +5 -1
- package/dist/cjs/api/types/Ownership.d.ts +1 -1
- package/dist/cjs/api/types/PayabliCredentials.d.ts +2 -0
- package/dist/cjs/api/types/PayabliCredentialsPascal.d.ts +2 -0
- package/dist/cjs/api/types/PaymentDetail.d.ts +1 -1
- package/dist/cjs/api/types/PayorId.d.ts +1 -1
- package/dist/cjs/api/types/PciAttestation.d.ts +1 -1
- package/dist/cjs/api/types/PendingFeeAmount.d.ts +1 -1
- package/dist/cjs/api/types/ReadOnly.d.ts +1 -1
- package/dist/cjs/api/types/RiskActionCode.d.ts +1 -1
- package/dist/cjs/api/types/RiskFlagged.d.ts +1 -1
- package/dist/cjs/api/types/RiskFlaggedOn.d.ts +1 -1
- package/dist/cjs/api/types/SaveIfSuccess.d.ts +1 -1
- package/dist/cjs/api/types/Sequence.d.ts +1 -1
- package/dist/cjs/api/types/SignerAcceptance.d.ts +1 -1
- package/dist/cjs/api/types/SignerData.d.ts +6 -2
- package/dist/cjs/api/types/SignerDataRequest.d.ts +1 -1
- package/dist/cjs/api/types/SplitFunding.d.ts +1 -1
- package/dist/cjs/api/types/StoredMethodUsageType.d.ts +1 -1
- package/dist/cjs/api/types/SubscriptionQueryRecords.d.ts +4 -4
- package/dist/cjs/api/types/Tax.d.ts +1 -1
- package/dist/cjs/api/types/TemplateCode.d.ts +1 -1
- package/dist/cjs/api/types/Ticketamt.d.ts +1 -1
- package/dist/cjs/api/types/TransactionQueryRecords.d.ts +1 -1
- package/dist/cjs/api/types/TransactionQueryRecordsCustomer.d.ts +1 -1
- package/dist/cjs/api/types/VendorPhone.d.ts +1 -1
- package/dist/cjs/api/types/Visible.d.ts +1 -1
- package/dist/cjs/api/types/index.d.ts +0 -2
- package/dist/cjs/api/types/index.js +0 -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/BillOutData.d.mts +3 -3
- package/dist/esm/api/resources/bill/types/BillResponseData.d.mts +3 -3
- package/dist/esm/api/resources/boarding/client/Client.d.mts +41 -5
- package/dist/esm/api/resources/boarding/client/Client.mjs +41 -5
- package/dist/esm/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.mts +1 -1
- package/dist/esm/api/resources/invoice/client/requests/AddInvoiceRequest.d.mts +1 -1
- package/dist/esm/api/resources/invoice/types/GetInvoiceRecord.d.mts +5 -5
- package/dist/esm/api/resources/invoice/types/QueryInvoiceResponse.d.mts +5 -5
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/client/Client.mjs +1 -1
- package/dist/esm/api/resources/moneyIn/client/requests/RequestCredit.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPayment.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorize.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentV2.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/types/ResponseDataRefunds.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailCustomer.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailInvoiceData.d.mts +9 -9
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailRecord.d.mts +1 -1
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +21 -0
- package/dist/esm/api/resources/moneyOut/client/Client.mjs +21 -0
- package/dist/esm/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.mts +21 -0
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.mts +2 -2
- package/dist/esm/api/resources/moneyOutTypes/types/MethodElementOut.d.mts +21 -0
- package/dist/esm/api/resources/moneyOutTypes/types/MethodsListOut.d.mts +11 -0
- package/dist/esm/api/resources/moneyOutTypes/types/PaymentLinkStatus.d.mts +8 -0
- package/dist/esm/api/resources/moneyOutTypes/types/PaymentLinkStatus.mjs +8 -0
- package/dist/esm/api/resources/moneyOutTypes/types/index.d.mts +3 -0
- package/dist/esm/api/resources/moneyOutTypes/types/index.mjs +3 -0
- package/dist/esm/api/resources/notification/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/notification/client/Client.mjs +4 -4
- package/dist/esm/api/resources/organization/client/requests/AddOrganizationRequest.d.mts +1 -1
- package/dist/esm/api/resources/organization/client/requests/OrganizationData.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/client/Client.d.mts +231 -46
- package/dist/esm/api/resources/paymentLink/client/Client.mjs +325 -46
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataBill.d.mts +69 -22
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataOut.d.mts +8 -25
- package/dist/esm/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.d.mts +12 -0
- package/dist/esm/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBody.d.mts +0 -79
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBodyOut.d.mts +88 -0
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBodyOut.mjs +2 -0
- package/dist/esm/api/resources/paymentLink/types/index.d.mts +2 -0
- package/dist/esm/api/resources/paymentLink/types/index.mjs +2 -0
- package/dist/esm/api/resources/query/client/requests/ListTransfersPaypointRequest.d.mts +1 -1
- package/dist/esm/api/resources/queryTypes/types/LimitRecord.d.mts +1 -1
- package/dist/esm/api/resources/queryTypes/types/QueryTransferDetailResponse.d.mts +8 -8
- package/dist/esm/api/resources/subscription/client/requests/RequestSchedule.d.mts +1 -1
- package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/tokenStorage/client/Client.mjs +4 -1
- package/dist/esm/api/resources/tokenStorage/client/requests/AddMethodRequest.d.mts +6 -3
- package/dist/esm/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.mts +1 -1
- package/dist/esm/api/resources/tokenStorage/types/CreateAnonymous.d.mts +1 -1
- package/dist/esm/api/resources/tokenStorage/types/Temporary.d.mts +1 -1
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.mts +2 -2
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.mts +14 -14
- package/dist/esm/api/types/AcceptOauth.d.mts +1 -1
- package/dist/esm/api/types/AcceptRegister.d.mts +1 -1
- package/dist/esm/api/types/AchValidation.d.mts +1 -1
- package/dist/esm/api/types/Annualrevenue.d.mts +1 -1
- package/dist/esm/api/types/ApplePayType.d.mts +1 -1
- package/dist/esm/api/types/ApplicationData.d.mts +1 -1
- package/dist/esm/api/types/ApplicationDataPayIn.d.mts +3 -5
- package/dist/esm/api/types/ApplicationDetailsRecord.d.mts +1 -1
- package/dist/esm/api/types/ApplicationQueryRecord.d.mts +1 -1
- package/dist/esm/api/types/Attachments.d.mts +1 -1
- package/dist/esm/api/types/Avgmonthly.d.mts +1 -1
- package/dist/esm/api/types/Avgticketamt.d.mts +1 -1
- package/dist/esm/api/types/BankData.d.mts +1 -1
- package/dist/esm/api/types/BillApprovals.d.mts +1 -1
- package/dist/esm/api/types/BillData.d.mts +3 -3
- package/dist/esm/api/types/BillDetailsResponse.d.mts +2 -2
- package/dist/esm/api/types/BillEvents.d.mts +1 -1
- package/dist/esm/api/types/BillPayOutData.d.mts +2 -2
- package/dist/esm/api/types/BillPayOutDataRequest.d.mts +2 -2
- package/dist/esm/api/types/BillQueryRecord2.d.mts +4 -4
- package/dist/esm/api/types/BillQueryRecord2BillApprovalsItem.d.mts +1 -1
- package/dist/esm/api/types/Billitems.d.mts +1 -1
- package/dist/esm/api/types/ContactsField.d.mts +1 -1
- package/dist/esm/api/types/DeviceId.d.mts +1 -1
- package/dist/esm/api/types/Discount.d.mts +1 -1
- package/dist/esm/api/types/DutyAmount.d.mts +1 -1
- package/dist/esm/api/types/EnrollmentStatus.d.mts +1 -1
- package/dist/esm/api/types/ExpectedProcessingDateTime.d.mts +1 -1
- package/dist/esm/api/types/ForceCustomerCreation.d.mts +1 -1
- package/dist/esm/api/types/FreightAmount.d.mts +1 -1
- package/dist/esm/api/types/HasVcardTransactions.d.mts +1 -1
- package/dist/esm/api/types/Highticketamt.d.mts +1 -1
- package/dist/esm/api/types/Initiator.d.mts +1 -1
- package/dist/esm/api/types/IsRoot.d.mts +1 -1
- package/dist/esm/api/types/IsSameDayAch.d.mts +1 -1
- package/dist/esm/api/types/LastModified.d.mts +1 -1
- package/dist/esm/api/types/Mfa.d.mts +1 -1
- package/dist/esm/api/types/Netamountnullable.d.mts +1 -1
- package/dist/esm/api/types/Ownerid.d.mts +5 -1
- package/dist/esm/api/types/Ownership.d.mts +1 -1
- package/dist/esm/api/types/PayabliCredentials.d.mts +2 -0
- package/dist/esm/api/types/PayabliCredentialsPascal.d.mts +2 -0
- package/dist/esm/api/types/PaymentDetail.d.mts +1 -1
- package/dist/esm/api/types/PayorId.d.mts +1 -1
- package/dist/esm/api/types/PciAttestation.d.mts +1 -1
- package/dist/esm/api/types/PendingFeeAmount.d.mts +1 -1
- package/dist/esm/api/types/ReadOnly.d.mts +1 -1
- package/dist/esm/api/types/RiskActionCode.d.mts +1 -1
- package/dist/esm/api/types/RiskFlagged.d.mts +1 -1
- package/dist/esm/api/types/RiskFlaggedOn.d.mts +1 -1
- package/dist/esm/api/types/SaveIfSuccess.d.mts +1 -1
- package/dist/esm/api/types/Sequence.d.mts +1 -1
- package/dist/esm/api/types/SignerAcceptance.d.mts +1 -1
- package/dist/esm/api/types/SignerData.d.mts +6 -2
- package/dist/esm/api/types/SignerDataRequest.d.mts +1 -1
- package/dist/esm/api/types/SplitFunding.d.mts +1 -1
- package/dist/esm/api/types/StoredMethodUsageType.d.mts +1 -1
- package/dist/esm/api/types/SubscriptionQueryRecords.d.mts +4 -4
- package/dist/esm/api/types/Tax.d.mts +1 -1
- package/dist/esm/api/types/TemplateCode.d.mts +1 -1
- package/dist/esm/api/types/Ticketamt.d.mts +1 -1
- package/dist/esm/api/types/TransactionQueryRecords.d.mts +1 -1
- package/dist/esm/api/types/TransactionQueryRecordsCustomer.d.mts +1 -1
- package/dist/esm/api/types/VendorPhone.d.mts +1 -1
- package/dist/esm/api/types/Visible.d.mts +1 -1
- package/dist/esm/api/types/index.d.mts +0 -2
- package/dist/esm/api/types/index.mjs +0 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +253 -56
- package/dist/cjs/api/types/Datenullable.d.ts +0 -4
- package/dist/cjs/api/types/DatetimeNullable.d.ts +0 -4
- package/dist/esm/api/types/Datenullable.d.mts +0 -4
- package/dist/esm/api/types/DatetimeNullable.d.mts +0 -4
- /package/dist/cjs/api/{types/Datenullable.js → resources/moneyOutTypes/types/MethodElementOut.js} +0 -0
- /package/dist/cjs/api/{types/DatetimeNullable.js → resources/moneyOutTypes/types/MethodsListOut.js} +0 -0
- /package/dist/esm/api/{types/Datenullable.mjs → resources/moneyOutTypes/types/MethodElementOut.mjs} +0 -0
- /package/dist/esm/api/{types/DatetimeNullable.mjs → resources/moneyOutTypes/types/MethodsListOut.mjs} +0 -0
|
@@ -137,7 +137,7 @@ export declare class PaymentLinkClient {
|
|
|
137
137
|
addPayLinkFromInvoice(idInvoice: number, request: Payabli.PayLinkDataInvoice, requestOptions?: PaymentLinkClient.RequestOptions): core.HttpResponsePromise<Payabli.PayabliApiResponsePaymentLinks>;
|
|
138
138
|
private __addPayLinkFromInvoice;
|
|
139
139
|
/**
|
|
140
|
-
* Generates a payment link for a bill from the bill ID.
|
|
140
|
+
* Generates a payment link for a bill from the bill ID. The vendor receives a secure page where they can select their preferred payment method (ACH, virtual card, or check) and complete the payment.
|
|
141
141
|
*
|
|
142
142
|
* @param {number} billId - The Payabli ID for the bill.
|
|
143
143
|
* @param {Payabli.PayLinkDataBill} request
|
|
@@ -189,35 +189,82 @@ export declare class PaymentLinkClient {
|
|
|
189
189
|
* },
|
|
190
190
|
* paymentMethods: {
|
|
191
191
|
* allMethodsChecked: true,
|
|
192
|
+
* allowMultipleMethods: true,
|
|
193
|
+
* defaultMethod: "vcard",
|
|
192
194
|
* enabled: true,
|
|
193
195
|
* header: "Payment Methods",
|
|
194
196
|
* methods: {
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
* eCheck: true,
|
|
199
|
-
* mastercard: true,
|
|
200
|
-
* visa: true
|
|
197
|
+
* ach: true,
|
|
198
|
+
* check: true,
|
|
199
|
+
* vcard: true
|
|
201
200
|
* },
|
|
201
|
+
* order: 0,
|
|
202
|
+
* showPreviewVirtualCard: true
|
|
203
|
+
* },
|
|
204
|
+
* review: {
|
|
205
|
+
* enabled: true,
|
|
206
|
+
* header: "Review Payment",
|
|
202
207
|
* order: 0
|
|
203
208
|
* },
|
|
204
|
-
*
|
|
209
|
+
* settings: {
|
|
210
|
+
* color: "#000000",
|
|
211
|
+
* language: "en"
|
|
212
|
+
* }
|
|
213
|
+
* }
|
|
214
|
+
* })
|
|
215
|
+
*
|
|
216
|
+
* @example
|
|
217
|
+
* await client.paymentLink.addPayLinkFromBill(23548884, {
|
|
218
|
+
* body: {
|
|
219
|
+
* contactUs: {
|
|
220
|
+
* emailLabel: "Email",
|
|
221
|
+
* enabled: true,
|
|
222
|
+
* header: "Contact Us",
|
|
223
|
+
* order: 0,
|
|
224
|
+
* paymentIcons: true,
|
|
225
|
+
* phoneLabel: "Phone"
|
|
226
|
+
* },
|
|
227
|
+
* logo: {
|
|
205
228
|
* enabled: true,
|
|
206
|
-
* fields: [{
|
|
207
|
-
* display: true,
|
|
208
|
-
* fixed: true,
|
|
209
|
-
* identifier: true,
|
|
210
|
-
* label: "Full Name",
|
|
211
|
-
* name: "fullName",
|
|
212
|
-
* order: 0,
|
|
213
|
-
* required: true,
|
|
214
|
-
* validation: "alpha",
|
|
215
|
-
* value: "",
|
|
216
|
-
* width: 0
|
|
217
|
-
* }],
|
|
218
|
-
* header: "Payor Information",
|
|
219
229
|
* order: 0
|
|
220
230
|
* },
|
|
231
|
+
* messageBeforePaying: {
|
|
232
|
+
* enabled: true,
|
|
233
|
+
* label: "Please review your payment details",
|
|
234
|
+
* order: 0
|
|
235
|
+
* },
|
|
236
|
+
* notes: {
|
|
237
|
+
* enabled: true,
|
|
238
|
+
* header: "Additional Notes",
|
|
239
|
+
* order: 0,
|
|
240
|
+
* placeholder: "Enter any additional notes here",
|
|
241
|
+
* value: ""
|
|
242
|
+
* },
|
|
243
|
+
* page: {
|
|
244
|
+
* description: "Get paid securely",
|
|
245
|
+
* enabled: true,
|
|
246
|
+
* header: "Payment Page",
|
|
247
|
+
* order: 0
|
|
248
|
+
* },
|
|
249
|
+
* paymentButton: {
|
|
250
|
+
* enabled: true,
|
|
251
|
+
* label: "Pay Now",
|
|
252
|
+
* order: 0
|
|
253
|
+
* },
|
|
254
|
+
* paymentMethods: {
|
|
255
|
+
* allMethodsChecked: true,
|
|
256
|
+
* allowMultipleMethods: true,
|
|
257
|
+
* defaultMethod: "vcard",
|
|
258
|
+
* enabled: true,
|
|
259
|
+
* header: "Payment Methods",
|
|
260
|
+
* methods: {
|
|
261
|
+
* ach: true,
|
|
262
|
+
* check: true,
|
|
263
|
+
* vcard: true
|
|
264
|
+
* },
|
|
265
|
+
* order: 0,
|
|
266
|
+
* showPreviewVirtualCard: true
|
|
267
|
+
* },
|
|
221
268
|
* review: {
|
|
222
269
|
* enabled: true,
|
|
223
270
|
* header: "Review Payment",
|
|
@@ -244,7 +291,7 @@ export declare class PaymentLinkClient {
|
|
|
244
291
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
245
292
|
*
|
|
246
293
|
* @example
|
|
247
|
-
* await client.paymentLink.deletePayLinkFromId("
|
|
294
|
+
* await client.paymentLink.deletePayLinkFromId("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234")
|
|
248
295
|
*/
|
|
249
296
|
deletePayLinkFromId(payLinkId: string, requestOptions?: PaymentLinkClient.RequestOptions): core.HttpResponsePromise<Payabli.PayabliApiResponsePaymentLinks>;
|
|
250
297
|
private __deletePayLinkFromId;
|
|
@@ -407,34 +454,17 @@ export declare class PaymentLinkClient {
|
|
|
407
454
|
* },
|
|
408
455
|
* paymentMethods: {
|
|
409
456
|
* allMethodsChecked: true,
|
|
457
|
+
* allowMultipleMethods: true,
|
|
458
|
+
* defaultMethod: "vcard",
|
|
410
459
|
* enabled: true,
|
|
411
460
|
* header: "Payment Methods",
|
|
412
461
|
* methods: {
|
|
413
|
-
*
|
|
414
|
-
*
|
|
415
|
-
*
|
|
416
|
-
* eCheck: true,
|
|
417
|
-
* mastercard: true,
|
|
418
|
-
* visa: true
|
|
462
|
+
* ach: true,
|
|
463
|
+
* check: true,
|
|
464
|
+
* vcard: true
|
|
419
465
|
* },
|
|
420
|
-
* order: 0
|
|
421
|
-
*
|
|
422
|
-
* payor: {
|
|
423
|
-
* enabled: true,
|
|
424
|
-
* fields: [{
|
|
425
|
-
* display: true,
|
|
426
|
-
* fixed: true,
|
|
427
|
-
* identifier: true,
|
|
428
|
-
* label: "Full Name",
|
|
429
|
-
* name: "fullName",
|
|
430
|
-
* order: 0,
|
|
431
|
-
* required: true,
|
|
432
|
-
* validation: "alpha",
|
|
433
|
-
* value: "",
|
|
434
|
-
* width: 0
|
|
435
|
-
* }],
|
|
436
|
-
* header: "Payor Information",
|
|
437
|
-
* order: 0
|
|
466
|
+
* order: 0,
|
|
467
|
+
* showPreviewVirtualCard: true
|
|
438
468
|
* },
|
|
439
469
|
* review: {
|
|
440
470
|
* enabled: true,
|
|
@@ -450,4 +480,159 @@ export declare class PaymentLinkClient {
|
|
|
450
480
|
*/
|
|
451
481
|
addPayLinkFromBillLotNumber(lotNumber: string, request: Payabli.PayLinkDataOut, requestOptions?: PaymentLinkClient.RequestOptions): core.HttpResponsePromise<Payabli.PayabliApiResponsePaymentLinks>;
|
|
452
482
|
private __addPayLinkFromBillLotNumber;
|
|
483
|
+
/**
|
|
484
|
+
* Partially updates a Pay Out payment link's content, expiration date, and/or status. Use this to modify the payment page configuration, extend or change the expiration, or cancel a link. Updating the expiration date of an expired link reactivates it to Active status.
|
|
485
|
+
*
|
|
486
|
+
* @param {string} paylinkId - ID for the payment link.
|
|
487
|
+
* @param {Payabli.PatchOutPaymentLinkRequest} request
|
|
488
|
+
* @param {PaymentLinkClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
489
|
+
*
|
|
490
|
+
* @throws {@link Payabli.BadRequestError}
|
|
491
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
492
|
+
* @throws {@link Payabli.InternalServerError}
|
|
493
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
494
|
+
*
|
|
495
|
+
* @example
|
|
496
|
+
* await client.paymentLink.patchOutPaymentLink("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234", {
|
|
497
|
+
* expirationDate: "2026-06-01T00:00:00Z",
|
|
498
|
+
* status: "Active"
|
|
499
|
+
* })
|
|
500
|
+
*
|
|
501
|
+
* @example
|
|
502
|
+
* await client.paymentLink.patchOutPaymentLink("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234", {
|
|
503
|
+
* status: "Canceled"
|
|
504
|
+
* })
|
|
505
|
+
*
|
|
506
|
+
* @example
|
|
507
|
+
* await client.paymentLink.patchOutPaymentLink("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234", {
|
|
508
|
+
* billPageData: {
|
|
509
|
+
* page: {
|
|
510
|
+
* description: "You have a payment waiting",
|
|
511
|
+
* enabled: true,
|
|
512
|
+
* header: "Vendor Payment",
|
|
513
|
+
* order: 0
|
|
514
|
+
* },
|
|
515
|
+
* paymentButton: {
|
|
516
|
+
* enabled: true,
|
|
517
|
+
* label: "Select Payment Method",
|
|
518
|
+
* order: 0
|
|
519
|
+
* },
|
|
520
|
+
* paymentMethods: {
|
|
521
|
+
* allMethodsChecked: true,
|
|
522
|
+
* allowMultipleMethods: true,
|
|
523
|
+
* defaultMethod: "ach",
|
|
524
|
+
* enabled: true,
|
|
525
|
+
* header: "Payment Methods",
|
|
526
|
+
* methods: {
|
|
527
|
+
* ach: true,
|
|
528
|
+
* check: true,
|
|
529
|
+
* vcard: true
|
|
530
|
+
* },
|
|
531
|
+
* order: 0,
|
|
532
|
+
* showPreviewVirtualCard: false
|
|
533
|
+
* }
|
|
534
|
+
* }
|
|
535
|
+
* })
|
|
536
|
+
*/
|
|
537
|
+
patchOutPaymentLink(paylinkId: string, request: Payabli.PatchOutPaymentLinkRequest, requestOptions?: PaymentLinkClient.RequestOptions): core.HttpResponsePromise<Payabli.PayabliApiResponsePaymentLinks>;
|
|
538
|
+
private __patchOutPaymentLink;
|
|
539
|
+
/**
|
|
540
|
+
* Updates the payment page content for a Pay Out payment link. Use this to change the branding, messaging, payment methods offered, or other page configuration.
|
|
541
|
+
*
|
|
542
|
+
* @param {string} paylinkId - ID for the payment link.
|
|
543
|
+
* @param {Payabli.PaymentPageRequestBodyOut} request
|
|
544
|
+
* @param {PaymentLinkClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
545
|
+
*
|
|
546
|
+
* @throws {@link Payabli.BadRequestError}
|
|
547
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
548
|
+
* @throws {@link Payabli.InternalServerError}
|
|
549
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
550
|
+
*
|
|
551
|
+
* @example
|
|
552
|
+
* await client.paymentLink.updatePayLinkOutFromId("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234", {
|
|
553
|
+
* contactUs: {
|
|
554
|
+
* emailLabel: "Email",
|
|
555
|
+
* enabled: true,
|
|
556
|
+
* header: "Contact Us",
|
|
557
|
+
* order: 0,
|
|
558
|
+
* paymentIcons: true,
|
|
559
|
+
* phoneLabel: "Phone"
|
|
560
|
+
* },
|
|
561
|
+
* logo: {
|
|
562
|
+
* enabled: true,
|
|
563
|
+
* order: 0
|
|
564
|
+
* },
|
|
565
|
+
* messageBeforePaying: {
|
|
566
|
+
* enabled: true,
|
|
567
|
+
* label: "Please review your payment details",
|
|
568
|
+
* order: 0
|
|
569
|
+
* },
|
|
570
|
+
* notes: {
|
|
571
|
+
* enabled: true,
|
|
572
|
+
* header: "Additional Notes",
|
|
573
|
+
* order: 0,
|
|
574
|
+
* placeholder: "Enter any additional notes here",
|
|
575
|
+
* value: ""
|
|
576
|
+
* },
|
|
577
|
+
* page: {
|
|
578
|
+
* description: "Get paid securely",
|
|
579
|
+
* enabled: true,
|
|
580
|
+
* header: "Payment Page",
|
|
581
|
+
* order: 0
|
|
582
|
+
* },
|
|
583
|
+
* paymentButton: {
|
|
584
|
+
* enabled: true,
|
|
585
|
+
* label: "Pay Now",
|
|
586
|
+
* order: 0
|
|
587
|
+
* },
|
|
588
|
+
* paymentMethods: {
|
|
589
|
+
* allMethodsChecked: true,
|
|
590
|
+
* allowMultipleMethods: true,
|
|
591
|
+
* defaultMethod: "vcard",
|
|
592
|
+
* enabled: true,
|
|
593
|
+
* header: "Payment Methods",
|
|
594
|
+
* methods: {
|
|
595
|
+
* ach: true,
|
|
596
|
+
* check: true,
|
|
597
|
+
* vcard: true
|
|
598
|
+
* },
|
|
599
|
+
* order: 0,
|
|
600
|
+
* showPreviewVirtualCard: true
|
|
601
|
+
* },
|
|
602
|
+
* review: {
|
|
603
|
+
* enabled: true,
|
|
604
|
+
* header: "Review Payment",
|
|
605
|
+
* order: 0
|
|
606
|
+
* },
|
|
607
|
+
* settings: {
|
|
608
|
+
* color: "#000000",
|
|
609
|
+
* language: "en"
|
|
610
|
+
* }
|
|
611
|
+
* })
|
|
612
|
+
*
|
|
613
|
+
* @example
|
|
614
|
+
* await client.paymentLink.updatePayLinkOutFromId("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234", {
|
|
615
|
+
* paymentMethods: {
|
|
616
|
+
* allMethodsChecked: false,
|
|
617
|
+
* allowMultipleMethods: true,
|
|
618
|
+
* defaultMethod: "vcard",
|
|
619
|
+
* enabled: true,
|
|
620
|
+
* header: "Payment Methods",
|
|
621
|
+
* methods: {
|
|
622
|
+
* ach: true,
|
|
623
|
+
* check: false,
|
|
624
|
+
* vcard: true
|
|
625
|
+
* },
|
|
626
|
+
* order: 0,
|
|
627
|
+
* showPreviewVirtualCard: true
|
|
628
|
+
* },
|
|
629
|
+
* paymentButton: {
|
|
630
|
+
* enabled: true,
|
|
631
|
+
* label: "Choose Payment Method",
|
|
632
|
+
* order: 0
|
|
633
|
+
* }
|
|
634
|
+
* })
|
|
635
|
+
*/
|
|
636
|
+
updatePayLinkOutFromId(paylinkId: string, request: Payabli.PaymentPageRequestBodyOut, requestOptions?: PaymentLinkClient.RequestOptions): core.HttpResponsePromise<Payabli.PayabliApiResponsePaymentLinks>;
|
|
637
|
+
private __updatePayLinkOutFromId;
|
|
453
638
|
}
|