@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.
Files changed (263) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/api/resources/bill/types/BillOutData.d.ts +3 -3
  4. package/dist/cjs/api/resources/bill/types/BillResponseData.d.ts +3 -3
  5. package/dist/cjs/api/resources/boarding/client/Client.d.ts +41 -5
  6. package/dist/cjs/api/resources/boarding/client/Client.js +41 -5
  7. package/dist/cjs/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.ts +1 -1
  8. package/dist/cjs/api/resources/invoice/client/requests/AddInvoiceRequest.d.ts +1 -1
  9. package/dist/cjs/api/resources/invoice/types/GetInvoiceRecord.d.ts +5 -5
  10. package/dist/cjs/api/resources/invoice/types/QueryInvoiceResponse.d.ts +5 -5
  11. package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +1 -1
  12. package/dist/cjs/api/resources/moneyIn/client/Client.js +1 -1
  13. package/dist/cjs/api/resources/moneyIn/client/requests/RequestCredit.d.ts +1 -1
  14. package/dist/cjs/api/resources/moneyIn/client/requests/RequestPayment.d.ts +2 -2
  15. package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorize.d.ts +1 -1
  16. package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.ts +1 -1
  17. package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentV2.d.ts +2 -2
  18. package/dist/cjs/api/resources/moneyIn/types/ResponseDataRefunds.d.ts +1 -1
  19. package/dist/cjs/api/resources/moneyIn/types/TransactionDetailCustomer.d.ts +1 -1
  20. package/dist/cjs/api/resources/moneyIn/types/TransactionDetailInvoiceData.d.ts +9 -9
  21. package/dist/cjs/api/resources/moneyIn/types/TransactionDetailRecord.d.ts +1 -1
  22. package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +21 -0
  23. package/dist/cjs/api/resources/moneyOut/client/Client.js +21 -0
  24. package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts +21 -0
  25. package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.ts +2 -2
  26. package/dist/cjs/api/resources/moneyOutTypes/types/MethodElementOut.d.ts +21 -0
  27. package/dist/cjs/api/resources/moneyOutTypes/types/MethodsListOut.d.ts +11 -0
  28. package/dist/cjs/api/resources/moneyOutTypes/types/PaymentLinkStatus.d.ts +8 -0
  29. package/dist/cjs/api/resources/moneyOutTypes/types/PaymentLinkStatus.js +11 -0
  30. package/dist/cjs/api/resources/moneyOutTypes/types/index.d.ts +3 -0
  31. package/dist/cjs/api/resources/moneyOutTypes/types/index.js +3 -0
  32. package/dist/cjs/api/resources/notification/client/Client.d.ts +4 -4
  33. package/dist/cjs/api/resources/notification/client/Client.js +4 -4
  34. package/dist/cjs/api/resources/organization/client/requests/AddOrganizationRequest.d.ts +1 -1
  35. package/dist/cjs/api/resources/organization/client/requests/OrganizationData.d.ts +1 -1
  36. package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +231 -46
  37. package/dist/cjs/api/resources/paymentLink/client/Client.js +325 -46
  38. package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataBill.d.ts +69 -22
  39. package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataOut.d.ts +8 -25
  40. package/dist/cjs/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.d.ts +12 -0
  41. package/dist/cjs/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.js +3 -0
  42. package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBody.d.ts +0 -79
  43. package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBodyOut.d.ts +88 -0
  44. package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBodyOut.js +3 -0
  45. package/dist/cjs/api/resources/paymentLink/types/index.d.ts +2 -0
  46. package/dist/cjs/api/resources/paymentLink/types/index.js +2 -0
  47. package/dist/cjs/api/resources/query/client/requests/ListTransfersPaypointRequest.d.ts +1 -1
  48. package/dist/cjs/api/resources/queryTypes/types/LimitRecord.d.ts +1 -1
  49. package/dist/cjs/api/resources/queryTypes/types/QueryTransferDetailResponse.d.ts +8 -8
  50. package/dist/cjs/api/resources/subscription/client/requests/RequestSchedule.d.ts +1 -1
  51. package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +4 -1
  52. package/dist/cjs/api/resources/tokenStorage/client/Client.js +4 -1
  53. package/dist/cjs/api/resources/tokenStorage/client/requests/AddMethodRequest.d.ts +6 -3
  54. package/dist/cjs/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.ts +1 -1
  55. package/dist/cjs/api/resources/tokenStorage/types/CreateAnonymous.d.ts +1 -1
  56. package/dist/cjs/api/resources/tokenStorage/types/Temporary.d.ts +1 -1
  57. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.ts +2 -2
  58. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.ts +14 -14
  59. package/dist/cjs/api/types/AcceptOauth.d.ts +1 -1
  60. package/dist/cjs/api/types/AcceptRegister.d.ts +1 -1
  61. package/dist/cjs/api/types/AchValidation.d.ts +1 -1
  62. package/dist/cjs/api/types/Annualrevenue.d.ts +1 -1
  63. package/dist/cjs/api/types/ApplePayType.d.ts +1 -1
  64. package/dist/cjs/api/types/ApplicationData.d.ts +1 -1
  65. package/dist/cjs/api/types/ApplicationDataPayIn.d.ts +3 -5
  66. package/dist/cjs/api/types/ApplicationDetailsRecord.d.ts +1 -1
  67. package/dist/cjs/api/types/ApplicationQueryRecord.d.ts +1 -1
  68. package/dist/cjs/api/types/Attachments.d.ts +1 -1
  69. package/dist/cjs/api/types/Avgmonthly.d.ts +1 -1
  70. package/dist/cjs/api/types/Avgticketamt.d.ts +1 -1
  71. package/dist/cjs/api/types/BankData.d.ts +1 -1
  72. package/dist/cjs/api/types/BillApprovals.d.ts +1 -1
  73. package/dist/cjs/api/types/BillData.d.ts +3 -3
  74. package/dist/cjs/api/types/BillDetailsResponse.d.ts +2 -2
  75. package/dist/cjs/api/types/BillEvents.d.ts +1 -1
  76. package/dist/cjs/api/types/BillPayOutData.d.ts +2 -2
  77. package/dist/cjs/api/types/BillPayOutDataRequest.d.ts +2 -2
  78. package/dist/cjs/api/types/BillQueryRecord2.d.ts +4 -4
  79. package/dist/cjs/api/types/BillQueryRecord2BillApprovalsItem.d.ts +1 -1
  80. package/dist/cjs/api/types/Billitems.d.ts +1 -1
  81. package/dist/cjs/api/types/ContactsField.d.ts +1 -1
  82. package/dist/cjs/api/types/DeviceId.d.ts +1 -1
  83. package/dist/cjs/api/types/Discount.d.ts +1 -1
  84. package/dist/cjs/api/types/DutyAmount.d.ts +1 -1
  85. package/dist/cjs/api/types/EnrollmentStatus.d.ts +1 -1
  86. package/dist/cjs/api/types/ExpectedProcessingDateTime.d.ts +1 -1
  87. package/dist/cjs/api/types/ForceCustomerCreation.d.ts +1 -1
  88. package/dist/cjs/api/types/FreightAmount.d.ts +1 -1
  89. package/dist/cjs/api/types/HasVcardTransactions.d.ts +1 -1
  90. package/dist/cjs/api/types/Highticketamt.d.ts +1 -1
  91. package/dist/cjs/api/types/Initiator.d.ts +1 -1
  92. package/dist/cjs/api/types/IsRoot.d.ts +1 -1
  93. package/dist/cjs/api/types/IsSameDayAch.d.ts +1 -1
  94. package/dist/cjs/api/types/LastModified.d.ts +1 -1
  95. package/dist/cjs/api/types/Mfa.d.ts +1 -1
  96. package/dist/cjs/api/types/Netamountnullable.d.ts +1 -1
  97. package/dist/cjs/api/types/Ownerid.d.ts +5 -1
  98. package/dist/cjs/api/types/Ownership.d.ts +1 -1
  99. package/dist/cjs/api/types/PayabliCredentials.d.ts +2 -0
  100. package/dist/cjs/api/types/PayabliCredentialsPascal.d.ts +2 -0
  101. package/dist/cjs/api/types/PaymentDetail.d.ts +1 -1
  102. package/dist/cjs/api/types/PayorId.d.ts +1 -1
  103. package/dist/cjs/api/types/PciAttestation.d.ts +1 -1
  104. package/dist/cjs/api/types/PendingFeeAmount.d.ts +1 -1
  105. package/dist/cjs/api/types/ReadOnly.d.ts +1 -1
  106. package/dist/cjs/api/types/RiskActionCode.d.ts +1 -1
  107. package/dist/cjs/api/types/RiskFlagged.d.ts +1 -1
  108. package/dist/cjs/api/types/RiskFlaggedOn.d.ts +1 -1
  109. package/dist/cjs/api/types/SaveIfSuccess.d.ts +1 -1
  110. package/dist/cjs/api/types/Sequence.d.ts +1 -1
  111. package/dist/cjs/api/types/SignerAcceptance.d.ts +1 -1
  112. package/dist/cjs/api/types/SignerData.d.ts +6 -2
  113. package/dist/cjs/api/types/SignerDataRequest.d.ts +1 -1
  114. package/dist/cjs/api/types/SplitFunding.d.ts +1 -1
  115. package/dist/cjs/api/types/StoredMethodUsageType.d.ts +1 -1
  116. package/dist/cjs/api/types/SubscriptionQueryRecords.d.ts +4 -4
  117. package/dist/cjs/api/types/Tax.d.ts +1 -1
  118. package/dist/cjs/api/types/TemplateCode.d.ts +1 -1
  119. package/dist/cjs/api/types/Ticketamt.d.ts +1 -1
  120. package/dist/cjs/api/types/TransactionQueryRecords.d.ts +1 -1
  121. package/dist/cjs/api/types/TransactionQueryRecordsCustomer.d.ts +1 -1
  122. package/dist/cjs/api/types/VendorPhone.d.ts +1 -1
  123. package/dist/cjs/api/types/Visible.d.ts +1 -1
  124. package/dist/cjs/api/types/index.d.ts +0 -2
  125. package/dist/cjs/api/types/index.js +0 -2
  126. package/dist/cjs/version.d.ts +1 -1
  127. package/dist/cjs/version.js +1 -1
  128. package/dist/esm/BaseClient.mjs +2 -2
  129. package/dist/esm/api/resources/bill/types/BillOutData.d.mts +3 -3
  130. package/dist/esm/api/resources/bill/types/BillResponseData.d.mts +3 -3
  131. package/dist/esm/api/resources/boarding/client/Client.d.mts +41 -5
  132. package/dist/esm/api/resources/boarding/client/Client.mjs +41 -5
  133. package/dist/esm/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.mts +1 -1
  134. package/dist/esm/api/resources/invoice/client/requests/AddInvoiceRequest.d.mts +1 -1
  135. package/dist/esm/api/resources/invoice/types/GetInvoiceRecord.d.mts +5 -5
  136. package/dist/esm/api/resources/invoice/types/QueryInvoiceResponse.d.mts +5 -5
  137. package/dist/esm/api/resources/moneyIn/client/Client.d.mts +1 -1
  138. package/dist/esm/api/resources/moneyIn/client/Client.mjs +1 -1
  139. package/dist/esm/api/resources/moneyIn/client/requests/RequestCredit.d.mts +1 -1
  140. package/dist/esm/api/resources/moneyIn/client/requests/RequestPayment.d.mts +2 -2
  141. package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorize.d.mts +1 -1
  142. package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.mts +1 -1
  143. package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentV2.d.mts +2 -2
  144. package/dist/esm/api/resources/moneyIn/types/ResponseDataRefunds.d.mts +1 -1
  145. package/dist/esm/api/resources/moneyIn/types/TransactionDetailCustomer.d.mts +1 -1
  146. package/dist/esm/api/resources/moneyIn/types/TransactionDetailInvoiceData.d.mts +9 -9
  147. package/dist/esm/api/resources/moneyIn/types/TransactionDetailRecord.d.mts +1 -1
  148. package/dist/esm/api/resources/moneyOut/client/Client.d.mts +21 -0
  149. package/dist/esm/api/resources/moneyOut/client/Client.mjs +21 -0
  150. package/dist/esm/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.mts +21 -0
  151. package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.mts +2 -2
  152. package/dist/esm/api/resources/moneyOutTypes/types/MethodElementOut.d.mts +21 -0
  153. package/dist/esm/api/resources/moneyOutTypes/types/MethodsListOut.d.mts +11 -0
  154. package/dist/esm/api/resources/moneyOutTypes/types/PaymentLinkStatus.d.mts +8 -0
  155. package/dist/esm/api/resources/moneyOutTypes/types/PaymentLinkStatus.mjs +8 -0
  156. package/dist/esm/api/resources/moneyOutTypes/types/index.d.mts +3 -0
  157. package/dist/esm/api/resources/moneyOutTypes/types/index.mjs +3 -0
  158. package/dist/esm/api/resources/notification/client/Client.d.mts +4 -4
  159. package/dist/esm/api/resources/notification/client/Client.mjs +4 -4
  160. package/dist/esm/api/resources/organization/client/requests/AddOrganizationRequest.d.mts +1 -1
  161. package/dist/esm/api/resources/organization/client/requests/OrganizationData.d.mts +1 -1
  162. package/dist/esm/api/resources/paymentLink/client/Client.d.mts +231 -46
  163. package/dist/esm/api/resources/paymentLink/client/Client.mjs +325 -46
  164. package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataBill.d.mts +69 -22
  165. package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataOut.d.mts +8 -25
  166. package/dist/esm/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.d.mts +12 -0
  167. package/dist/esm/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.mjs +2 -0
  168. package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBody.d.mts +0 -79
  169. package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBodyOut.d.mts +88 -0
  170. package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBodyOut.mjs +2 -0
  171. package/dist/esm/api/resources/paymentLink/types/index.d.mts +2 -0
  172. package/dist/esm/api/resources/paymentLink/types/index.mjs +2 -0
  173. package/dist/esm/api/resources/query/client/requests/ListTransfersPaypointRequest.d.mts +1 -1
  174. package/dist/esm/api/resources/queryTypes/types/LimitRecord.d.mts +1 -1
  175. package/dist/esm/api/resources/queryTypes/types/QueryTransferDetailResponse.d.mts +8 -8
  176. package/dist/esm/api/resources/subscription/client/requests/RequestSchedule.d.mts +1 -1
  177. package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +4 -1
  178. package/dist/esm/api/resources/tokenStorage/client/Client.mjs +4 -1
  179. package/dist/esm/api/resources/tokenStorage/client/requests/AddMethodRequest.d.mts +6 -3
  180. package/dist/esm/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.mts +1 -1
  181. package/dist/esm/api/resources/tokenStorage/types/CreateAnonymous.d.mts +1 -1
  182. package/dist/esm/api/resources/tokenStorage/types/Temporary.d.mts +1 -1
  183. package/dist/esm/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.mts +2 -2
  184. package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.mts +14 -14
  185. package/dist/esm/api/types/AcceptOauth.d.mts +1 -1
  186. package/dist/esm/api/types/AcceptRegister.d.mts +1 -1
  187. package/dist/esm/api/types/AchValidation.d.mts +1 -1
  188. package/dist/esm/api/types/Annualrevenue.d.mts +1 -1
  189. package/dist/esm/api/types/ApplePayType.d.mts +1 -1
  190. package/dist/esm/api/types/ApplicationData.d.mts +1 -1
  191. package/dist/esm/api/types/ApplicationDataPayIn.d.mts +3 -5
  192. package/dist/esm/api/types/ApplicationDetailsRecord.d.mts +1 -1
  193. package/dist/esm/api/types/ApplicationQueryRecord.d.mts +1 -1
  194. package/dist/esm/api/types/Attachments.d.mts +1 -1
  195. package/dist/esm/api/types/Avgmonthly.d.mts +1 -1
  196. package/dist/esm/api/types/Avgticketamt.d.mts +1 -1
  197. package/dist/esm/api/types/BankData.d.mts +1 -1
  198. package/dist/esm/api/types/BillApprovals.d.mts +1 -1
  199. package/dist/esm/api/types/BillData.d.mts +3 -3
  200. package/dist/esm/api/types/BillDetailsResponse.d.mts +2 -2
  201. package/dist/esm/api/types/BillEvents.d.mts +1 -1
  202. package/dist/esm/api/types/BillPayOutData.d.mts +2 -2
  203. package/dist/esm/api/types/BillPayOutDataRequest.d.mts +2 -2
  204. package/dist/esm/api/types/BillQueryRecord2.d.mts +4 -4
  205. package/dist/esm/api/types/BillQueryRecord2BillApprovalsItem.d.mts +1 -1
  206. package/dist/esm/api/types/Billitems.d.mts +1 -1
  207. package/dist/esm/api/types/ContactsField.d.mts +1 -1
  208. package/dist/esm/api/types/DeviceId.d.mts +1 -1
  209. package/dist/esm/api/types/Discount.d.mts +1 -1
  210. package/dist/esm/api/types/DutyAmount.d.mts +1 -1
  211. package/dist/esm/api/types/EnrollmentStatus.d.mts +1 -1
  212. package/dist/esm/api/types/ExpectedProcessingDateTime.d.mts +1 -1
  213. package/dist/esm/api/types/ForceCustomerCreation.d.mts +1 -1
  214. package/dist/esm/api/types/FreightAmount.d.mts +1 -1
  215. package/dist/esm/api/types/HasVcardTransactions.d.mts +1 -1
  216. package/dist/esm/api/types/Highticketamt.d.mts +1 -1
  217. package/dist/esm/api/types/Initiator.d.mts +1 -1
  218. package/dist/esm/api/types/IsRoot.d.mts +1 -1
  219. package/dist/esm/api/types/IsSameDayAch.d.mts +1 -1
  220. package/dist/esm/api/types/LastModified.d.mts +1 -1
  221. package/dist/esm/api/types/Mfa.d.mts +1 -1
  222. package/dist/esm/api/types/Netamountnullable.d.mts +1 -1
  223. package/dist/esm/api/types/Ownerid.d.mts +5 -1
  224. package/dist/esm/api/types/Ownership.d.mts +1 -1
  225. package/dist/esm/api/types/PayabliCredentials.d.mts +2 -0
  226. package/dist/esm/api/types/PayabliCredentialsPascal.d.mts +2 -0
  227. package/dist/esm/api/types/PaymentDetail.d.mts +1 -1
  228. package/dist/esm/api/types/PayorId.d.mts +1 -1
  229. package/dist/esm/api/types/PciAttestation.d.mts +1 -1
  230. package/dist/esm/api/types/PendingFeeAmount.d.mts +1 -1
  231. package/dist/esm/api/types/ReadOnly.d.mts +1 -1
  232. package/dist/esm/api/types/RiskActionCode.d.mts +1 -1
  233. package/dist/esm/api/types/RiskFlagged.d.mts +1 -1
  234. package/dist/esm/api/types/RiskFlaggedOn.d.mts +1 -1
  235. package/dist/esm/api/types/SaveIfSuccess.d.mts +1 -1
  236. package/dist/esm/api/types/Sequence.d.mts +1 -1
  237. package/dist/esm/api/types/SignerAcceptance.d.mts +1 -1
  238. package/dist/esm/api/types/SignerData.d.mts +6 -2
  239. package/dist/esm/api/types/SignerDataRequest.d.mts +1 -1
  240. package/dist/esm/api/types/SplitFunding.d.mts +1 -1
  241. package/dist/esm/api/types/StoredMethodUsageType.d.mts +1 -1
  242. package/dist/esm/api/types/SubscriptionQueryRecords.d.mts +4 -4
  243. package/dist/esm/api/types/Tax.d.mts +1 -1
  244. package/dist/esm/api/types/TemplateCode.d.mts +1 -1
  245. package/dist/esm/api/types/Ticketamt.d.mts +1 -1
  246. package/dist/esm/api/types/TransactionQueryRecords.d.mts +1 -1
  247. package/dist/esm/api/types/TransactionQueryRecordsCustomer.d.mts +1 -1
  248. package/dist/esm/api/types/VendorPhone.d.mts +1 -1
  249. package/dist/esm/api/types/Visible.d.mts +1 -1
  250. package/dist/esm/api/types/index.d.mts +0 -2
  251. package/dist/esm/api/types/index.mjs +0 -2
  252. package/dist/esm/version.d.mts +1 -1
  253. package/dist/esm/version.mjs +1 -1
  254. package/package.json +1 -1
  255. package/reference.md +253 -56
  256. package/dist/cjs/api/types/Datenullable.d.ts +0 -4
  257. package/dist/cjs/api/types/DatetimeNullable.d.ts +0 -4
  258. package/dist/esm/api/types/Datenullable.d.mts +0 -4
  259. package/dist/esm/api/types/DatetimeNullable.d.mts +0 -4
  260. /package/dist/cjs/api/{types/Datenullable.js → resources/moneyOutTypes/types/MethodElementOut.js} +0 -0
  261. /package/dist/cjs/api/{types/DatetimeNullable.js → resources/moneyOutTypes/types/MethodsListOut.js} +0 -0
  262. /package/dist/esm/api/{types/Datenullable.mjs → resources/moneyOutTypes/types/MethodElementOut.mjs} +0 -0
  263. /package/dist/esm/api/{types/DatetimeNullable.mjs → resources/moneyOutTypes/types/MethodsListOut.mjs} +0 -0
@@ -198,7 +198,7 @@ export class PaymentLinkClient {
198
198
  });
199
199
  }
200
200
  /**
201
- * Generates a payment link for a bill from the bill ID.
201
+ * 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.
202
202
  *
203
203
  * @param {number} billId - The Payabli ID for the bill.
204
204
  * @param {Payabli.PayLinkDataBill} request
@@ -250,35 +250,82 @@ export class PaymentLinkClient {
250
250
  * },
251
251
  * paymentMethods: {
252
252
  * allMethodsChecked: true,
253
+ * allowMultipleMethods: true,
254
+ * defaultMethod: "vcard",
253
255
  * enabled: true,
254
256
  * header: "Payment Methods",
255
257
  * methods: {
256
- * amex: true,
257
- * applePay: true,
258
- * discover: true,
259
- * eCheck: true,
260
- * mastercard: true,
261
- * visa: true
258
+ * ach: true,
259
+ * check: true,
260
+ * vcard: true
262
261
  * },
262
+ * order: 0,
263
+ * showPreviewVirtualCard: true
264
+ * },
265
+ * review: {
266
+ * enabled: true,
267
+ * header: "Review Payment",
263
268
  * order: 0
264
269
  * },
265
- * payor: {
270
+ * settings: {
271
+ * color: "#000000",
272
+ * language: "en"
273
+ * }
274
+ * }
275
+ * })
276
+ *
277
+ * @example
278
+ * await client.paymentLink.addPayLinkFromBill(23548884, {
279
+ * body: {
280
+ * contactUs: {
281
+ * emailLabel: "Email",
266
282
  * enabled: true,
267
- * fields: [{
268
- * display: true,
269
- * fixed: true,
270
- * identifier: true,
271
- * label: "Full Name",
272
- * name: "fullName",
273
- * order: 0,
274
- * required: true,
275
- * validation: "alpha",
276
- * value: "",
277
- * width: 0
278
- * }],
279
- * header: "Payor Information",
283
+ * header: "Contact Us",
284
+ * order: 0,
285
+ * paymentIcons: true,
286
+ * phoneLabel: "Phone"
287
+ * },
288
+ * logo: {
289
+ * enabled: true,
290
+ * order: 0
291
+ * },
292
+ * messageBeforePaying: {
293
+ * enabled: true,
294
+ * label: "Please review your payment details",
295
+ * order: 0
296
+ * },
297
+ * notes: {
298
+ * enabled: true,
299
+ * header: "Additional Notes",
300
+ * order: 0,
301
+ * placeholder: "Enter any additional notes here",
302
+ * value: ""
303
+ * },
304
+ * page: {
305
+ * description: "Get paid securely",
306
+ * enabled: true,
307
+ * header: "Payment Page",
308
+ * order: 0
309
+ * },
310
+ * paymentButton: {
311
+ * enabled: true,
312
+ * label: "Pay Now",
280
313
  * order: 0
281
314
  * },
315
+ * paymentMethods: {
316
+ * allMethodsChecked: true,
317
+ * allowMultipleMethods: true,
318
+ * defaultMethod: "vcard",
319
+ * enabled: true,
320
+ * header: "Payment Methods",
321
+ * methods: {
322
+ * ach: true,
323
+ * check: true,
324
+ * vcard: true
325
+ * },
326
+ * order: 0,
327
+ * showPreviewVirtualCard: true
328
+ * },
282
329
  * review: {
283
330
  * enabled: true,
284
331
  * header: "Review Payment",
@@ -357,7 +404,7 @@ export class PaymentLinkClient {
357
404
  * @throws {@link Payabli.ServiceUnavailableError}
358
405
  *
359
406
  * @example
360
- * await client.paymentLink.deletePayLinkFromId("payLinkId")
407
+ * await client.paymentLink.deletePayLinkFromId("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234")
361
408
  */
362
409
  deletePayLinkFromId(payLinkId, requestOptions) {
363
410
  return core.HttpResponsePromise.fromPromise(this.__deletePayLinkFromId(payLinkId, requestOptions));
@@ -796,34 +843,17 @@ export class PaymentLinkClient {
796
843
  * },
797
844
  * paymentMethods: {
798
845
  * allMethodsChecked: true,
846
+ * allowMultipleMethods: true,
847
+ * defaultMethod: "vcard",
799
848
  * enabled: true,
800
849
  * header: "Payment Methods",
801
850
  * methods: {
802
- * amex: true,
803
- * applePay: true,
804
- * discover: true,
805
- * eCheck: true,
806
- * mastercard: true,
807
- * visa: true
851
+ * ach: true,
852
+ * check: true,
853
+ * vcard: true
808
854
  * },
809
- * order: 0
810
- * },
811
- * payor: {
812
- * enabled: true,
813
- * fields: [{
814
- * display: true,
815
- * fixed: true,
816
- * identifier: true,
817
- * label: "Full Name",
818
- * name: "fullName",
819
- * order: 0,
820
- * required: true,
821
- * validation: "alpha",
822
- * value: "",
823
- * width: 0
824
- * }],
825
- * header: "Payor Information",
826
- * order: 0
855
+ * order: 0,
856
+ * showPreviewVirtualCard: true
827
857
  * },
828
858
  * review: {
829
859
  * enabled: true,
@@ -882,4 +912,253 @@ export class PaymentLinkClient {
882
912
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/PaymentLink/bill/lotNumber/{lotNumber}");
883
913
  });
884
914
  }
915
+ /**
916
+ * 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.
917
+ *
918
+ * @param {string} paylinkId - ID for the payment link.
919
+ * @param {Payabli.PatchOutPaymentLinkRequest} request
920
+ * @param {PaymentLinkClient.RequestOptions} requestOptions - Request-specific configuration.
921
+ *
922
+ * @throws {@link Payabli.BadRequestError}
923
+ * @throws {@link Payabli.UnauthorizedError}
924
+ * @throws {@link Payabli.InternalServerError}
925
+ * @throws {@link Payabli.ServiceUnavailableError}
926
+ *
927
+ * @example
928
+ * await client.paymentLink.patchOutPaymentLink("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234", {
929
+ * expirationDate: "2026-06-01T00:00:00Z",
930
+ * status: "Active"
931
+ * })
932
+ *
933
+ * @example
934
+ * await client.paymentLink.patchOutPaymentLink("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234", {
935
+ * status: "Canceled"
936
+ * })
937
+ *
938
+ * @example
939
+ * await client.paymentLink.patchOutPaymentLink("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234", {
940
+ * billPageData: {
941
+ * page: {
942
+ * description: "You have a payment waiting",
943
+ * enabled: true,
944
+ * header: "Vendor Payment",
945
+ * order: 0
946
+ * },
947
+ * paymentButton: {
948
+ * enabled: true,
949
+ * label: "Select Payment Method",
950
+ * order: 0
951
+ * },
952
+ * paymentMethods: {
953
+ * allMethodsChecked: true,
954
+ * allowMultipleMethods: true,
955
+ * defaultMethod: "ach",
956
+ * enabled: true,
957
+ * header: "Payment Methods",
958
+ * methods: {
959
+ * ach: true,
960
+ * check: true,
961
+ * vcard: true
962
+ * },
963
+ * order: 0,
964
+ * showPreviewVirtualCard: false
965
+ * }
966
+ * }
967
+ * })
968
+ */
969
+ patchOutPaymentLink(paylinkId, request, requestOptions) {
970
+ return core.HttpResponsePromise.fromPromise(this.__patchOutPaymentLink(paylinkId, request, requestOptions));
971
+ }
972
+ __patchOutPaymentLink(paylinkId, request, requestOptions) {
973
+ return __awaiter(this, void 0, void 0, function* () {
974
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
975
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
976
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
977
+ const _response = yield core.fetcher({
978
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `PaymentLink/out/${core.url.encodePathParam(paylinkId)}`),
979
+ method: "PATCH",
980
+ headers: _headers,
981
+ contentType: "application/json",
982
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
983
+ requestType: "json",
984
+ body: request,
985
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
986
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
987
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
988
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
989
+ logging: this._options.logging,
990
+ });
991
+ if (_response.ok) {
992
+ return {
993
+ data: _response.body,
994
+ rawResponse: _response.rawResponse,
995
+ };
996
+ }
997
+ if (_response.error.reason === "status-code") {
998
+ switch (_response.error.statusCode) {
999
+ case 400:
1000
+ throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
1001
+ case 401:
1002
+ throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
1003
+ case 500:
1004
+ throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
1005
+ case 503:
1006
+ throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
1007
+ default:
1008
+ throw new errors.PayabliError({
1009
+ statusCode: _response.error.statusCode,
1010
+ body: _response.error.body,
1011
+ rawResponse: _response.rawResponse,
1012
+ });
1013
+ }
1014
+ }
1015
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "PATCH", "/PaymentLink/out/{paylinkId}");
1016
+ });
1017
+ }
1018
+ /**
1019
+ * 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.
1020
+ *
1021
+ * @param {string} paylinkId - ID for the payment link.
1022
+ * @param {Payabli.PaymentPageRequestBodyOut} request
1023
+ * @param {PaymentLinkClient.RequestOptions} requestOptions - Request-specific configuration.
1024
+ *
1025
+ * @throws {@link Payabli.BadRequestError}
1026
+ * @throws {@link Payabli.UnauthorizedError}
1027
+ * @throws {@link Payabli.InternalServerError}
1028
+ * @throws {@link Payabli.ServiceUnavailableError}
1029
+ *
1030
+ * @example
1031
+ * await client.paymentLink.updatePayLinkOutFromId("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234", {
1032
+ * contactUs: {
1033
+ * emailLabel: "Email",
1034
+ * enabled: true,
1035
+ * header: "Contact Us",
1036
+ * order: 0,
1037
+ * paymentIcons: true,
1038
+ * phoneLabel: "Phone"
1039
+ * },
1040
+ * logo: {
1041
+ * enabled: true,
1042
+ * order: 0
1043
+ * },
1044
+ * messageBeforePaying: {
1045
+ * enabled: true,
1046
+ * label: "Please review your payment details",
1047
+ * order: 0
1048
+ * },
1049
+ * notes: {
1050
+ * enabled: true,
1051
+ * header: "Additional Notes",
1052
+ * order: 0,
1053
+ * placeholder: "Enter any additional notes here",
1054
+ * value: ""
1055
+ * },
1056
+ * page: {
1057
+ * description: "Get paid securely",
1058
+ * enabled: true,
1059
+ * header: "Payment Page",
1060
+ * order: 0
1061
+ * },
1062
+ * paymentButton: {
1063
+ * enabled: true,
1064
+ * label: "Pay Now",
1065
+ * order: 0
1066
+ * },
1067
+ * paymentMethods: {
1068
+ * allMethodsChecked: true,
1069
+ * allowMultipleMethods: true,
1070
+ * defaultMethod: "vcard",
1071
+ * enabled: true,
1072
+ * header: "Payment Methods",
1073
+ * methods: {
1074
+ * ach: true,
1075
+ * check: true,
1076
+ * vcard: true
1077
+ * },
1078
+ * order: 0,
1079
+ * showPreviewVirtualCard: true
1080
+ * },
1081
+ * review: {
1082
+ * enabled: true,
1083
+ * header: "Review Payment",
1084
+ * order: 0
1085
+ * },
1086
+ * settings: {
1087
+ * color: "#000000",
1088
+ * language: "en"
1089
+ * }
1090
+ * })
1091
+ *
1092
+ * @example
1093
+ * await client.paymentLink.updatePayLinkOutFromId("2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234", {
1094
+ * paymentMethods: {
1095
+ * allMethodsChecked: false,
1096
+ * allowMultipleMethods: true,
1097
+ * defaultMethod: "vcard",
1098
+ * enabled: true,
1099
+ * header: "Payment Methods",
1100
+ * methods: {
1101
+ * ach: true,
1102
+ * check: false,
1103
+ * vcard: true
1104
+ * },
1105
+ * order: 0,
1106
+ * showPreviewVirtualCard: true
1107
+ * },
1108
+ * paymentButton: {
1109
+ * enabled: true,
1110
+ * label: "Choose Payment Method",
1111
+ * order: 0
1112
+ * }
1113
+ * })
1114
+ */
1115
+ updatePayLinkOutFromId(paylinkId, request, requestOptions) {
1116
+ return core.HttpResponsePromise.fromPromise(this.__updatePayLinkOutFromId(paylinkId, request, requestOptions));
1117
+ }
1118
+ __updatePayLinkOutFromId(paylinkId, request, requestOptions) {
1119
+ return __awaiter(this, void 0, void 0, function* () {
1120
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1121
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
1122
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1123
+ const _response = yield core.fetcher({
1124
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `PaymentLink/updateOut/${core.url.encodePathParam(paylinkId)}`),
1125
+ method: "PATCH",
1126
+ headers: _headers,
1127
+ contentType: "application/json",
1128
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1129
+ requestType: "json",
1130
+ body: request,
1131
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
1132
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
1133
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1134
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
1135
+ logging: this._options.logging,
1136
+ });
1137
+ if (_response.ok) {
1138
+ return {
1139
+ data: _response.body,
1140
+ rawResponse: _response.rawResponse,
1141
+ };
1142
+ }
1143
+ if (_response.error.reason === "status-code") {
1144
+ switch (_response.error.statusCode) {
1145
+ case 400:
1146
+ throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
1147
+ case 401:
1148
+ throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
1149
+ case 500:
1150
+ throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
1151
+ case 503:
1152
+ throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
1153
+ default:
1154
+ throw new errors.PayabliError({
1155
+ statusCode: _response.error.statusCode,
1156
+ body: _response.error.body,
1157
+ rawResponse: _response.rawResponse,
1158
+ });
1159
+ }
1160
+ }
1161
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "PATCH", "/PaymentLink/updateOut/{paylinkId}");
1162
+ });
1163
+ }
885
1164
  }
@@ -41,35 +41,82 @@ import type * as Payabli from "../../../../index.mjs";
41
41
  * },
42
42
  * paymentMethods: {
43
43
  * allMethodsChecked: true,
44
+ * allowMultipleMethods: true,
45
+ * defaultMethod: "vcard",
44
46
  * enabled: true,
45
47
  * header: "Payment Methods",
46
48
  * methods: {
47
- * amex: true,
48
- * applePay: true,
49
- * discover: true,
50
- * eCheck: true,
51
- * mastercard: true,
52
- * visa: true
49
+ * ach: true,
50
+ * check: true,
51
+ * vcard: true
53
52
  * },
53
+ * order: 0,
54
+ * showPreviewVirtualCard: true
55
+ * },
56
+ * review: {
57
+ * enabled: true,
58
+ * header: "Review Payment",
54
59
  * order: 0
55
60
  * },
56
- * payor: {
57
- * enabled: true,
58
- * fields: [{
59
- * display: true,
60
- * fixed: true,
61
- * identifier: true,
62
- * label: "Full Name",
63
- * name: "fullName",
64
- * order: 0,
65
- * required: true,
66
- * validation: "alpha",
67
- * value: "",
68
- * width: 0
69
- * }],
70
- * header: "Payor Information",
61
+ * settings: {
62
+ * color: "#000000",
63
+ * language: "en"
64
+ * }
65
+ * }
66
+ * }
67
+ *
68
+ * @example
69
+ * {
70
+ * body: {
71
+ * contactUs: {
72
+ * emailLabel: "Email",
73
+ * enabled: true,
74
+ * header: "Contact Us",
75
+ * order: 0,
76
+ * paymentIcons: true,
77
+ * phoneLabel: "Phone"
78
+ * },
79
+ * logo: {
80
+ * enabled: true,
71
81
  * order: 0
72
82
  * },
83
+ * messageBeforePaying: {
84
+ * enabled: true,
85
+ * label: "Please review your payment details",
86
+ * order: 0
87
+ * },
88
+ * notes: {
89
+ * enabled: true,
90
+ * header: "Additional Notes",
91
+ * order: 0,
92
+ * placeholder: "Enter any additional notes here",
93
+ * value: ""
94
+ * },
95
+ * page: {
96
+ * description: "Get paid securely",
97
+ * enabled: true,
98
+ * header: "Payment Page",
99
+ * order: 0
100
+ * },
101
+ * paymentButton: {
102
+ * enabled: true,
103
+ * label: "Pay Now",
104
+ * order: 0
105
+ * },
106
+ * paymentMethods: {
107
+ * allMethodsChecked: true,
108
+ * allowMultipleMethods: true,
109
+ * defaultMethod: "vcard",
110
+ * enabled: true,
111
+ * header: "Payment Methods",
112
+ * methods: {
113
+ * ach: true,
114
+ * check: true,
115
+ * vcard: true
116
+ * },
117
+ * order: 0,
118
+ * showPreviewVirtualCard: true
119
+ * },
73
120
  * review: {
74
121
  * enabled: true,
75
122
  * header: "Review Payment",
@@ -88,5 +135,5 @@ export interface PayLinkDataBill {
88
135
  /** List of recipient email addresses. When there is more than one, separate them by a semicolon (;). */
89
136
  mail2?: string;
90
137
  idempotencyKey?: Payabli.IdempotencyKey;
91
- body: Payabli.PaymentPageRequestBody;
138
+ body: Payabli.PaymentPageRequestBodyOut;
92
139
  }
@@ -44,34 +44,17 @@ import type * as Payabli from "../../../../index.mjs";
44
44
  * },
45
45
  * paymentMethods: {
46
46
  * allMethodsChecked: true,
47
+ * allowMultipleMethods: true,
48
+ * defaultMethod: "vcard",
47
49
  * enabled: true,
48
50
  * header: "Payment Methods",
49
51
  * methods: {
50
- * amex: true,
51
- * applePay: true,
52
- * discover: true,
53
- * eCheck: true,
54
- * mastercard: true,
55
- * visa: true
52
+ * ach: true,
53
+ * check: true,
54
+ * vcard: true
56
55
  * },
57
- * order: 0
58
- * },
59
- * payor: {
60
- * enabled: true,
61
- * fields: [{
62
- * display: true,
63
- * fixed: true,
64
- * identifier: true,
65
- * label: "Full Name",
66
- * name: "fullName",
67
- * order: 0,
68
- * required: true,
69
- * validation: "alpha",
70
- * value: "",
71
- * width: 0
72
- * }],
73
- * header: "Payor Information",
74
- * order: 0
56
+ * order: 0,
57
+ * showPreviewVirtualCard: true
75
58
  * },
76
59
  * review: {
77
60
  * enabled: true,
@@ -93,5 +76,5 @@ export interface PayLinkDataOut {
93
76
  mail2?: string;
94
77
  /** Indicates whether customer can modify the payment amount. A value of `true` means the amount isn't modifiable, a value `false` means the payor can modify the amount to pay. */
95
78
  amountFixed?: string;
96
- body: Payabli.PaymentPageRequestBody;
79
+ body: Payabli.PaymentPageRequestBodyOut;
97
80
  }
@@ -0,0 +1,12 @@
1
+ import type * as Payabli from "../../../index.mjs";
2
+ /**
3
+ * Request body for partially updating a Pay Out payment link.
4
+ */
5
+ export interface PatchOutPaymentLinkRequest {
6
+ /** Updated payment link page configuration. */
7
+ billPageData?: Payabli.PaymentPageRequestBodyOut | undefined;
8
+ /** New expiration date for the payment link. Must be a future date. If null and the link is expired, uses the default expiration from settings. Updating the expiration date reactivates an expired payment link to Active status. */
9
+ expirationDate?: string | undefined;
10
+ /** Updated status for the payment link. */
11
+ status?: Payabli.PaymentLinkStatus | undefined;
12
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -108,85 +108,6 @@ import type * as Payabli from "../../../index.mjs";
108
108
  * redirectAfterApproveUrl: "https://example.com/success"
109
109
  * }
110
110
  * }
111
- *
112
- * @example
113
- * {
114
- * contactUs: {
115
- * emailLabel: "Email",
116
- * enabled: true,
117
- * header: "Contact Us",
118
- * order: 0,
119
- * paymentIcons: true,
120
- * phoneLabel: "Phone"
121
- * },
122
- * logo: {
123
- * enabled: true,
124
- * order: 0
125
- * },
126
- * messageBeforePaying: {
127
- * enabled: true,
128
- * label: "Please review your payment details",
129
- * order: 0
130
- * },
131
- * notes: {
132
- * enabled: true,
133
- * header: "Additional Notes",
134
- * order: 0,
135
- * placeholder: "Enter any additional notes here",
136
- * value: ""
137
- * },
138
- * page: {
139
- * description: "Get paid securely",
140
- * enabled: true,
141
- * header: "Payment Page",
142
- * order: 0
143
- * },
144
- * paymentButton: {
145
- * enabled: true,
146
- * label: "Pay Now",
147
- * order: 0
148
- * },
149
- * paymentMethods: {
150
- * allMethodsChecked: true,
151
- * enabled: true,
152
- * header: "Payment Methods",
153
- * methods: {
154
- * amex: true,
155
- * applePay: true,
156
- * discover: true,
157
- * eCheck: true,
158
- * mastercard: true,
159
- * visa: true
160
- * },
161
- * order: 0
162
- * },
163
- * payor: {
164
- * enabled: true,
165
- * fields: [{
166
- * display: true,
167
- * fixed: true,
168
- * identifier: true,
169
- * label: "Full Name",
170
- * name: "fullName",
171
- * order: 0,
172
- * required: true,
173
- * validation: "alpha",
174
- * value: "",
175
- * width: 0
176
- * }],
177
- * header: "Payor Information",
178
- * order: 0
179
- * },
180
- * review: {
181
- * enabled: true,
182
- * header: "Review Payment",
183
- * order: 0
184
- * },
185
- * settings: {
186
- * color: "#000000",
187
- * language: "en"
188
- * }
189
- * }
190
111
  */
191
112
  export interface PaymentPageRequestBody {
192
113
  /** ContactUs section of payment link page */