mollie-api-typescript 0.9.5 → 0.9.6
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/bin/mcp-server.js +2840 -1135
- package/bin/mcp-server.js.map +84 -69
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/entitybalance.d.ts +42 -42
- package/dist/commonjs/models/entitybalance.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalance.js +53 -51
- package/dist/commonjs/models/entitybalance.js.map +1 -1
- package/dist/commonjs/models/entitychargeback.d.ts +8 -8
- package/dist/commonjs/models/entitychargeback.d.ts.map +1 -1
- package/dist/commonjs/models/entitychargeback.js +13 -12
- package/dist/commonjs/models/entitychargeback.js.map +1 -1
- package/dist/commonjs/models/entityinvoice.d.ts +24 -24
- package/dist/commonjs/models/entityinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/entityinvoice.js +31 -31
- package/dist/commonjs/models/entityinvoice.js.map +1 -1
- package/dist/commonjs/models/entitysettlement.d.ts +32 -32
- package/dist/commonjs/models/entitysettlement.d.ts.map +1 -1
- package/dist/commonjs/models/entitysettlement.js +43 -43
- package/dist/commonjs/models/entitysettlement.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +17 -2
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +17 -2
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/listcustomerresponse.d.ts +107 -0
- package/dist/commonjs/models/listcustomerresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listcustomerresponse.js +112 -0
- package/dist/commonjs/models/listcustomerresponse.js.map +1 -0
- package/dist/commonjs/models/listentitybalance.d.ts +300 -0
- package/dist/commonjs/models/listentitybalance.d.ts.map +1 -0
- package/dist/commonjs/models/listentitybalance.js +245 -0
- package/dist/commonjs/models/listentitybalance.js.map +1 -0
- package/dist/commonjs/models/listentitychargeback.d.ts +175 -0
- package/dist/commonjs/models/listentitychargeback.d.ts.map +1 -0
- package/dist/commonjs/models/listentitychargeback.js +146 -0
- package/dist/commonjs/models/listentitychargeback.js.map +1 -0
- package/dist/commonjs/models/listentityinvoice.d.ts +236 -0
- package/dist/commonjs/models/listentityinvoice.d.ts.map +1 -0
- package/dist/commonjs/models/listentityinvoice.js +202 -0
- package/dist/commonjs/models/listentityinvoice.js.map +1 -0
- package/dist/commonjs/models/listentitymethod.d.ts +319 -0
- package/dist/commonjs/models/listentitymethod.d.ts.map +1 -0
- package/dist/commonjs/models/listentitymethod.js +264 -0
- package/dist/commonjs/models/listentitymethod.js.map +1 -0
- package/dist/commonjs/models/{entitymethodall.d.ts → listentitymethodall.d.ts} +60 -65
- package/dist/commonjs/models/listentitymethodall.d.ts.map +1 -0
- package/dist/commonjs/models/listentitymethodall.js +289 -0
- package/dist/commonjs/models/listentitymethodall.js.map +1 -0
- package/dist/commonjs/models/listentitypermission.d.ts +63 -0
- package/dist/commonjs/models/listentitypermission.d.ts.map +1 -0
- package/dist/commonjs/models/listentitypermission.js +92 -0
- package/dist/commonjs/models/listentitypermission.js.map +1 -0
- package/dist/commonjs/models/listentityrefund.d.ts +256 -0
- package/dist/commonjs/models/listentityrefund.d.ts.map +1 -0
- package/dist/commonjs/models/listentityrefund.js +202 -0
- package/dist/commonjs/models/listentityrefund.js.map +1 -0
- package/dist/commonjs/models/listentitysettlement.d.ts +321 -0
- package/dist/commonjs/models/listentitysettlement.d.ts.map +1 -0
- package/dist/commonjs/models/listentitysettlement.js +248 -0
- package/dist/commonjs/models/listentitysettlement.js.map +1 -0
- package/dist/commonjs/models/listentityterminal.d.ts +130 -0
- package/dist/commonjs/models/listentityterminal.d.ts.map +1 -0
- package/dist/commonjs/models/listentityterminal.js +124 -0
- package/dist/commonjs/models/listentityterminal.js.map +1 -0
- package/dist/commonjs/models/listentitywebhook.d.ts +91 -0
- package/dist/commonjs/models/listentitywebhook.d.ts.map +1 -0
- package/dist/commonjs/models/listentitywebhook.js +105 -0
- package/dist/commonjs/models/listentitywebhook.js.map +1 -0
- package/dist/commonjs/models/listmandateresponse.d.ts +176 -0
- package/dist/commonjs/models/listmandateresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listmandateresponse.js +157 -0
- package/dist/commonjs/models/listmandateresponse.js.map +1 -0
- package/dist/commonjs/models/listpaymentresponse.d.ts +1348 -0
- package/dist/commonjs/models/listpaymentresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listpaymentresponse.js +620 -0
- package/dist/commonjs/models/listpaymentresponse.js.map +1 -0
- package/dist/commonjs/models/listprofileresponse.d.ts +202 -0
- package/dist/commonjs/models/listprofileresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listprofileresponse.js +159 -0
- package/dist/commonjs/models/listprofileresponse.js.map +1 -0
- package/dist/commonjs/models/{routegetresponse.d.ts → listroutegetresponse.d.ts} +23 -28
- package/dist/commonjs/models/listroutegetresponse.d.ts.map +1 -0
- package/dist/commonjs/models/{routegetresponse.js → listroutegetresponse.js} +30 -32
- package/dist/commonjs/models/listroutegetresponse.js.map +1 -0
- package/dist/commonjs/models/listsalesinvoiceresponse.d.ts +375 -0
- package/dist/commonjs/models/listsalesinvoiceresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listsalesinvoiceresponse.js +267 -0
- package/dist/commonjs/models/listsalesinvoiceresponse.js.map +1 -0
- package/dist/commonjs/models/listsubscriptionresponse.d.ts +249 -0
- package/dist/commonjs/models/listsubscriptionresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listsubscriptionresponse.js +171 -0
- package/dist/commonjs/models/listsubscriptionresponse.js.map +1 -0
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +2 -2
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +2 -2
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.d.ts +2 -2
- package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.js +2 -2
- package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.d.ts +2 -2
- package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.js +2 -2
- package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.d.ts +2 -2
- package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.js +2 -2
- package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts +2 -2
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.js +4 -2
- package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listbalances.d.ts +2 -2
- package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalances.js +2 -2
- package/dist/commonjs/models/operations/listbalances.js.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.d.ts +2 -2
- package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.js +2 -2
- package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listclients.d.ts +0 -5
- package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclients.js +0 -2
- package/dist/commonjs/models/operations/listclients.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts +2 -2
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.js +2 -2
- package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.d.ts +2 -2
- package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.js +2 -2
- package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.d.ts +2 -2
- package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.js +2 -2
- package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listmandates.d.ts +2 -2
- package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmandates.js +2 -2
- package/dist/commonjs/models/operations/listmandates.js.map +1 -1
- package/dist/commonjs/models/operations/listmethods.d.ts +2 -2
- package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmethods.js +2 -2
- package/dist/commonjs/models/operations/listmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listpayments.d.ts +2 -2
- package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayments.js +2 -2
- package/dist/commonjs/models/operations/listpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listpermissions.d.ts +2 -2
- package/dist/commonjs/models/operations/listpermissions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpermissions.js +2 -2
- package/dist/commonjs/models/operations/listpermissions.js.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.d.ts +2 -2
- package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.js +2 -2
- package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.d.ts +2 -2
- package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.js +2 -2
- package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts +2 -2
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.js +4 -2
- package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +2 -2
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.js +2 -2
- package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +2 -2
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.js +2 -2
- package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +2 -2
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.js +2 -2
- package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.d.ts +2 -2
- package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.js +2 -2
- package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +2 -2
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +2 -2
- package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.d.ts +2 -2
- package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.js +4 -2
- package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listterminals.d.ts +2 -2
- package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listterminals.js +2 -2
- package/dist/commonjs/models/operations/listterminals.js.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.d.ts +2 -2
- package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.js +2 -2
- package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
- package/dist/commonjs/models/operations/paymentlistroutes.d.ts +2 -2
- package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
- package/dist/commonjs/models/operations/paymentlistroutes.js +2 -2
- package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
- package/dist/commonjs/models/paymentresponse.d.ts +48 -48
- package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentresponse.js +67 -62
- package/dist/commonjs/models/paymentresponse.js.map +1 -1
- package/dist/commonjs/models/profileresponse.d.ts +8 -8
- package/dist/commonjs/models/profileresponse.d.ts.map +1 -1
- package/dist/commonjs/models/profileresponse.js +11 -12
- package/dist/commonjs/models/profileresponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoiceresponse.d.ts +40 -40
- package/dist/commonjs/models/salesinvoiceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoiceresponse.js +56 -51
- package/dist/commonjs/models/salesinvoiceresponse.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/entitybalance.d.ts +42 -42
- package/dist/esm/models/entitybalance.d.ts.map +1 -1
- package/dist/esm/models/entitybalance.js +44 -42
- package/dist/esm/models/entitybalance.js.map +1 -1
- package/dist/esm/models/entitychargeback.d.ts +8 -8
- package/dist/esm/models/entitychargeback.d.ts.map +1 -1
- package/dist/esm/models/entitychargeback.js +10 -9
- package/dist/esm/models/entitychargeback.js.map +1 -1
- package/dist/esm/models/entityinvoice.d.ts +24 -24
- package/dist/esm/models/entityinvoice.d.ts.map +1 -1
- package/dist/esm/models/entityinvoice.js +24 -24
- package/dist/esm/models/entityinvoice.js.map +1 -1
- package/dist/esm/models/entitysettlement.d.ts +32 -32
- package/dist/esm/models/entitysettlement.d.ts.map +1 -1
- package/dist/esm/models/entitysettlement.js +34 -34
- package/dist/esm/models/entitysettlement.js.map +1 -1
- package/dist/esm/models/index.d.ts +17 -2
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +17 -2
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/listcustomerresponse.d.ts +107 -0
- package/dist/esm/models/listcustomerresponse.d.ts.map +1 -0
- package/dist/esm/models/listcustomerresponse.js +72 -0
- package/dist/esm/models/listcustomerresponse.js.map +1 -0
- package/dist/esm/models/listentitybalance.d.ts +300 -0
- package/dist/esm/models/listentitybalance.d.ts.map +1 -0
- package/dist/esm/models/listentitybalance.js +197 -0
- package/dist/esm/models/listentitybalance.js.map +1 -0
- package/dist/esm/models/listentitychargeback.d.ts +175 -0
- package/dist/esm/models/listentitychargeback.d.ts.map +1 -0
- package/dist/esm/models/listentitychargeback.js +102 -0
- package/dist/esm/models/listentitychargeback.js.map +1 -0
- package/dist/esm/models/listentityinvoice.d.ts +236 -0
- package/dist/esm/models/listentityinvoice.d.ts.map +1 -0
- package/dist/esm/models/listentityinvoice.js +154 -0
- package/dist/esm/models/listentityinvoice.js.map +1 -0
- package/dist/esm/models/listentitymethod.d.ts +319 -0
- package/dist/esm/models/listentitymethod.d.ts.map +1 -0
- package/dist/esm/models/listentitymethod.js +214 -0
- package/dist/esm/models/listentitymethod.js.map +1 -0
- package/dist/esm/models/{entitymethodall.d.ts → listentitymethodall.d.ts} +60 -65
- package/dist/esm/models/listentitymethodall.d.ts.map +1 -0
- package/dist/esm/models/listentitymethodall.js +237 -0
- package/dist/esm/models/listentitymethodall.js.map +1 -0
- package/dist/esm/models/listentitypermission.d.ts +63 -0
- package/dist/esm/models/listentitypermission.d.ts.map +1 -0
- package/dist/esm/models/listentitypermission.js +52 -0
- package/dist/esm/models/listentitypermission.js.map +1 -0
- package/dist/esm/models/listentityrefund.d.ts +256 -0
- package/dist/esm/models/listentityrefund.d.ts.map +1 -0
- package/dist/esm/models/listentityrefund.js +154 -0
- package/dist/esm/models/listentityrefund.js.map +1 -0
- package/dist/esm/models/listentitysettlement.d.ts +321 -0
- package/dist/esm/models/listentitysettlement.d.ts.map +1 -0
- package/dist/esm/models/listentitysettlement.js +198 -0
- package/dist/esm/models/listentitysettlement.js.map +1 -0
- package/dist/esm/models/listentityterminal.d.ts +130 -0
- package/dist/esm/models/listentityterminal.d.ts.map +1 -0
- package/dist/esm/models/listentityterminal.js +84 -0
- package/dist/esm/models/listentityterminal.js.map +1 -0
- package/dist/esm/models/listentitywebhook.d.ts +91 -0
- package/dist/esm/models/listentitywebhook.d.ts.map +1 -0
- package/dist/esm/models/listentitywebhook.js +65 -0
- package/dist/esm/models/listentitywebhook.js.map +1 -0
- package/dist/esm/models/listmandateresponse.d.ts +176 -0
- package/dist/esm/models/listmandateresponse.d.ts.map +1 -0
- package/dist/esm/models/listmandateresponse.js +115 -0
- package/dist/esm/models/listmandateresponse.js.map +1 -0
- package/dist/esm/models/listpaymentresponse.d.ts +1348 -0
- package/dist/esm/models/listpaymentresponse.d.ts.map +1 -0
- package/dist/esm/models/listpaymentresponse.js +558 -0
- package/dist/esm/models/listpaymentresponse.js.map +1 -0
- package/dist/esm/models/listprofileresponse.d.ts +202 -0
- package/dist/esm/models/listprofileresponse.d.ts.map +1 -0
- package/dist/esm/models/listprofileresponse.js +117 -0
- package/dist/esm/models/listprofileresponse.js.map +1 -0
- package/dist/esm/models/{routegetresponse.d.ts → listroutegetresponse.d.ts} +23 -28
- package/dist/esm/models/listroutegetresponse.d.ts.map +1 -0
- package/dist/esm/models/listroutegetresponse.js +76 -0
- package/dist/esm/models/listroutegetresponse.js.map +1 -0
- package/dist/esm/models/listsalesinvoiceresponse.d.ts +375 -0
- package/dist/esm/models/listsalesinvoiceresponse.d.ts.map +1 -0
- package/dist/esm/models/listsalesinvoiceresponse.js +215 -0
- package/dist/esm/models/listsalesinvoiceresponse.js.map +1 -0
- package/dist/esm/models/listsubscriptionresponse.d.ts +249 -0
- package/dist/esm/models/listsubscriptionresponse.d.ts.map +1 -0
- package/dist/esm/models/listsubscriptionresponse.js +129 -0
- package/dist/esm/models/listsubscriptionresponse.js.map +1 -0
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +2 -2
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.js +2 -2
- package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/esm/models/operations/listallchargebacks.d.ts +2 -2
- package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listallchargebacks.js +2 -2
- package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listallmethods.d.ts +2 -2
- package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listallmethods.js +2 -2
- package/dist/esm/models/operations/listallmethods.js.map +1 -1
- package/dist/esm/models/operations/listallrefunds.d.ts +2 -2
- package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listallrefunds.js +2 -2
- package/dist/esm/models/operations/listallrefunds.js.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.d.ts +2 -2
- package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.js +4 -2
- package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listbalances.d.ts +2 -2
- package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalances.js +2 -2
- package/dist/esm/models/operations/listbalances.js.map +1 -1
- package/dist/esm/models/operations/listchargebacks.d.ts +2 -2
- package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listchargebacks.js +2 -2
- package/dist/esm/models/operations/listchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listclients.d.ts +0 -5
- package/dist/esm/models/operations/listclients.d.ts.map +1 -1
- package/dist/esm/models/operations/listclients.js +0 -2
- package/dist/esm/models/operations/listclients.js.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.d.ts +2 -2
- package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.js +2 -2
- package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/esm/models/operations/listcustomers.d.ts +2 -2
- package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomers.js +2 -2
- package/dist/esm/models/operations/listcustomers.js.map +1 -1
- package/dist/esm/models/operations/listinvoices.d.ts +2 -2
- package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listinvoices.js +2 -2
- package/dist/esm/models/operations/listinvoices.js.map +1 -1
- package/dist/esm/models/operations/listmandates.d.ts +2 -2
- package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
- package/dist/esm/models/operations/listmandates.js +2 -2
- package/dist/esm/models/operations/listmandates.js.map +1 -1
- package/dist/esm/models/operations/listmethods.d.ts +2 -2
- package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listmethods.js +2 -2
- package/dist/esm/models/operations/listmethods.js.map +1 -1
- package/dist/esm/models/operations/listpayments.d.ts +2 -2
- package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayments.js +2 -2
- package/dist/esm/models/operations/listpayments.js.map +1 -1
- package/dist/esm/models/operations/listpermissions.d.ts +2 -2
- package/dist/esm/models/operations/listpermissions.d.ts.map +1 -1
- package/dist/esm/models/operations/listpermissions.js +2 -2
- package/dist/esm/models/operations/listpermissions.js.map +1 -1
- package/dist/esm/models/operations/listprofiles.d.ts +2 -2
- package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/esm/models/operations/listprofiles.js +2 -2
- package/dist/esm/models/operations/listprofiles.js.map +1 -1
- package/dist/esm/models/operations/listrefunds.d.ts +2 -2
- package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listrefunds.js +2 -2
- package/dist/esm/models/operations/listrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.d.ts +2 -2
- package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.js +4 -2
- package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts +2 -2
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.js +2 -2
- package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +2 -2
- package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.js +2 -2
- package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.d.ts +2 -2
- package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.js +2 -2
- package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsettlements.d.ts +2 -2
- package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlements.js +2 -2
- package/dist/esm/models/operations/listsettlements.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts +2 -2
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.js +2 -2
- package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.d.ts +2 -2
- package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.js +4 -2
- package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listterminals.d.ts +2 -2
- package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
- package/dist/esm/models/operations/listterminals.js +2 -2
- package/dist/esm/models/operations/listterminals.js.map +1 -1
- package/dist/esm/models/operations/listwebhooks.d.ts +2 -2
- package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/esm/models/operations/listwebhooks.js +2 -2
- package/dist/esm/models/operations/listwebhooks.js.map +1 -1
- package/dist/esm/models/operations/paymentlistroutes.d.ts +2 -2
- package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
- package/dist/esm/models/operations/paymentlistroutes.js +2 -2
- package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
- package/dist/esm/models/paymentresponse.d.ts +48 -48
- package/dist/esm/models/paymentresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentresponse.js +54 -49
- package/dist/esm/models/paymentresponse.js.map +1 -1
- package/dist/esm/models/profileresponse.d.ts +8 -8
- package/dist/esm/models/profileresponse.d.ts.map +1 -1
- package/dist/esm/models/profileresponse.js +8 -9
- package/dist/esm/models/profileresponse.js.map +1 -1
- package/dist/esm/models/salesinvoiceresponse.d.ts +40 -40
- package/dist/esm/models/salesinvoiceresponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoiceresponse.js +45 -40
- package/dist/esm/models/salesinvoiceresponse.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/entitybalance.ts +112 -93
- package/src/models/entitychargeback.ts +29 -20
- package/src/models/entityinvoice.ts +63 -51
- package/src/models/entitysettlement.ts +140 -96
- package/src/models/index.ts +17 -2
- package/src/models/listcustomerresponse.ts +223 -0
- package/src/models/listentitybalance.ts +598 -0
- package/src/models/listentitychargeback.ts +361 -0
- package/src/models/listentityinvoice.ts +492 -0
- package/src/models/listentitymethod.ts +608 -0
- package/src/models/{entitymethodall.ts → listentitymethodall.ts} +139 -142
- package/src/models/listentitypermission.ts +149 -0
- package/src/models/listentityrefund.ts +544 -0
- package/src/models/listentitysettlement.ts +651 -0
- package/src/models/listentityterminal.ts +253 -0
- package/src/models/listentitywebhook.ts +195 -0
- package/src/models/listmandateresponse.ts +343 -0
- package/src/models/listpaymentresponse.ts +2225 -0
- package/src/models/listprofileresponse.ts +365 -0
- package/src/models/{routegetresponse.ts → listroutegetresponse.ts} +51 -58
- package/src/models/listsalesinvoiceresponse.ts +799 -0
- package/src/models/listsubscriptionresponse.ts +447 -0
- package/src/models/operations/getpaymentlinkpayments.ts +4 -4
- package/src/models/operations/listallchargebacks.ts +4 -4
- package/src/models/operations/listallmethods.ts +4 -4
- package/src/models/operations/listallrefunds.ts +4 -4
- package/src/models/operations/listallsubscriptions.ts +6 -4
- package/src/models/operations/listbalances.ts +4 -4
- package/src/models/operations/listchargebacks.ts +4 -4
- package/src/models/operations/listclients.ts +0 -7
- package/src/models/operations/listcustomerpayments.ts +4 -4
- package/src/models/operations/listcustomers.ts +4 -4
- package/src/models/operations/listinvoices.ts +4 -4
- package/src/models/operations/listmandates.ts +4 -4
- package/src/models/operations/listmethods.ts +4 -4
- package/src/models/operations/listpayments.ts +4 -4
- package/src/models/operations/listpermissions.ts +4 -4
- package/src/models/operations/listprofiles.ts +4 -4
- package/src/models/operations/listrefunds.ts +4 -4
- package/src/models/operations/listsalesinvoices.ts +6 -4
- package/src/models/operations/listsettlementchargebacks.ts +4 -4
- package/src/models/operations/listsettlementpayments.ts +4 -4
- package/src/models/operations/listsettlementrefunds.ts +4 -4
- package/src/models/operations/listsettlements.ts +4 -4
- package/src/models/operations/listsubscriptionpayments.ts +4 -4
- package/src/models/operations/listsubscriptions.ts +6 -4
- package/src/models/operations/listterminals.ts +4 -4
- package/src/models/operations/listwebhooks.ts +4 -4
- package/src/models/operations/paymentlistroutes.ts +4 -4
- package/src/models/paymentresponse.ts +159 -117
- package/src/models/profileresponse.ts +26 -19
- package/src/models/salesinvoiceresponse.ts +149 -97
- package/dist/commonjs/models/entitymethodall.d.ts.map +0 -1
- package/dist/commonjs/models/entitymethodall.js +0 -291
- package/dist/commonjs/models/entitymethodall.js.map +0 -1
- package/dist/commonjs/models/routegetresponse.d.ts.map +0 -1
- package/dist/commonjs/models/routegetresponse.js.map +0 -1
- package/dist/esm/models/entitymethodall.d.ts.map +0 -1
- package/dist/esm/models/entitymethodall.js +0 -239
- package/dist/esm/models/entitymethodall.js.map +0 -1
- package/dist/esm/models/routegetresponse.d.ts.map +0 -1
- package/dist/esm/models/routegetresponse.js +0 -78
- package/dist/esm/models/routegetresponse.js.map +0 -1
|
@@ -0,0 +1,1348 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
+
import { RFCDate } from "../types/rfcdate.js";
|
|
5
|
+
import { Amount, Amount$Outbound } from "./amount.js";
|
|
6
|
+
import { AmountNullable, AmountNullable$Outbound } from "./amountnullable.js";
|
|
7
|
+
import { CaptureModeResponse } from "./capturemoderesponse.js";
|
|
8
|
+
import { EntityPaymentRouteResponse, EntityPaymentRouteResponse$Outbound } from "./entitypaymentrouteresponse.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
10
|
+
import { LineCategoriesResponse } from "./linecategoriesresponse.js";
|
|
11
|
+
import { LocaleResponse } from "./localeresponse.js";
|
|
12
|
+
import { Metadata, Metadata$Outbound } from "./metadata.js";
|
|
13
|
+
import { MethodResponse } from "./methodresponse.js";
|
|
14
|
+
import { Mode } from "./mode.js";
|
|
15
|
+
import { PaymentAddress, PaymentAddress$Outbound } from "./paymentaddress.js";
|
|
16
|
+
import { PaymentDetailsCardAuditionResponse } from "./paymentdetailscardauditionresponse.js";
|
|
17
|
+
import { PaymentDetailsCardFundingResponse } from "./paymentdetailscardfundingresponse.js";
|
|
18
|
+
import { PaymentDetailsCardLabelResponse } from "./paymentdetailscardlabelresponse.js";
|
|
19
|
+
import { PaymentDetailsCardSecurityResponse } from "./paymentdetailscardsecurityresponse.js";
|
|
20
|
+
import { PaymentDetailsFailureReasonResponse } from "./paymentdetailsfailurereasonresponse.js";
|
|
21
|
+
import { PaymentDetailsFeeRegionResponse } from "./paymentdetailsfeeregionresponse.js";
|
|
22
|
+
import { PaymentDetailsReceiptCardReadMethodResponse } from "./paymentdetailsreceiptcardreadmethodresponse.js";
|
|
23
|
+
import { PaymentDetailsReceiptCardVerificationMethodResponse } from "./paymentdetailsreceiptcardverificationmethodresponse.js";
|
|
24
|
+
import { PaymentDetailsSellerProtectionResponse } from "./paymentdetailssellerprotectionresponse.js";
|
|
25
|
+
import { PaymentDetailsWalletResponse } from "./paymentdetailswalletresponse.js";
|
|
26
|
+
import { PaymentLineTypeResponse } from "./paymentlinetyperesponse.js";
|
|
27
|
+
import { RecurringLineItem, RecurringLineItem$Outbound } from "./recurringlineitem.js";
|
|
28
|
+
import { SequenceTypeResponse } from "./sequencetyperesponse.js";
|
|
29
|
+
import { StatusReason, StatusReason$Outbound } from "./statusreason.js";
|
|
30
|
+
import { Url, Url$Outbound } from "./url.js";
|
|
31
|
+
/**
|
|
32
|
+
* The total amount that is already refunded. Only available when refunds are available for this payment. For some
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* payment methods, this amount may be higher than the payment amount, for example to allow reimbursement of the
|
|
36
|
+
* costs for a return shipment to the customer.
|
|
37
|
+
*/
|
|
38
|
+
export type ListPaymentResponseAmountRefunded = {
|
|
39
|
+
/**
|
|
40
|
+
* A three-character ISO 4217 currency code.
|
|
41
|
+
*/
|
|
42
|
+
currency: string;
|
|
43
|
+
/**
|
|
44
|
+
* A string containing an exact monetary amount in the given currency.
|
|
45
|
+
*/
|
|
46
|
+
value: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* The remaining amount that can be refunded. Only available when refunds are available for this payment.
|
|
50
|
+
*/
|
|
51
|
+
export type ListPaymentResponseAmountRemaining = {
|
|
52
|
+
/**
|
|
53
|
+
* A three-character ISO 4217 currency code.
|
|
54
|
+
*/
|
|
55
|
+
currency: string;
|
|
56
|
+
/**
|
|
57
|
+
* A string containing an exact monetary amount in the given currency.
|
|
58
|
+
*/
|
|
59
|
+
value: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The total amount that is already captured for this payment. Only available when this payment supports captures.
|
|
63
|
+
*/
|
|
64
|
+
export type ListPaymentResponseAmountCaptured = {
|
|
65
|
+
/**
|
|
66
|
+
* A three-character ISO 4217 currency code.
|
|
67
|
+
*/
|
|
68
|
+
currency: string;
|
|
69
|
+
/**
|
|
70
|
+
* A string containing an exact monetary amount in the given currency.
|
|
71
|
+
*/
|
|
72
|
+
value: string;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* The total amount that was charged back for this payment. Only available when the total charged back amount is not
|
|
76
|
+
*
|
|
77
|
+
* @remarks
|
|
78
|
+
* zero.
|
|
79
|
+
*/
|
|
80
|
+
export type ListPaymentResponseAmountChargedBack = {
|
|
81
|
+
/**
|
|
82
|
+
* A three-character ISO 4217 currency code.
|
|
83
|
+
*/
|
|
84
|
+
currency: string;
|
|
85
|
+
/**
|
|
86
|
+
* A string containing an exact monetary amount in the given currency.
|
|
87
|
+
*/
|
|
88
|
+
value: string;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* This optional field will contain the approximate amount that will be settled to your account, converted to the
|
|
92
|
+
*
|
|
93
|
+
* @remarks
|
|
94
|
+
* currency your account is settled in.
|
|
95
|
+
*
|
|
96
|
+
* Any amounts not settled by Mollie will not be reflected in this amount, e.g. PayPal or gift cards. If no amount is
|
|
97
|
+
* settled by Mollie the `settlementAmount` is omitted from the response.
|
|
98
|
+
*
|
|
99
|
+
* Please note that this amount might be recalculated and changed when the status of the payment changes. We suggest
|
|
100
|
+
* using the List balance transactions endpoint instead to get more accurate settlement amounts for your payments.
|
|
101
|
+
*/
|
|
102
|
+
export type ListPaymentResponseSettlementAmount = {
|
|
103
|
+
/**
|
|
104
|
+
* A three-character ISO 4217 currency code.
|
|
105
|
+
*/
|
|
106
|
+
currency: string;
|
|
107
|
+
/**
|
|
108
|
+
* A string containing an exact monetary amount in the given currency.
|
|
109
|
+
*/
|
|
110
|
+
value: string;
|
|
111
|
+
};
|
|
112
|
+
export type ListPaymentResponseLine = {
|
|
113
|
+
/**
|
|
114
|
+
* The type of product purchased. For example, a physical or a digital product.
|
|
115
|
+
*
|
|
116
|
+
* @remarks
|
|
117
|
+
*
|
|
118
|
+
* The `tip` payment line type is not available when creating a payment.
|
|
119
|
+
*/
|
|
120
|
+
type?: PaymentLineTypeResponse | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* A description of the line item. For example *LEGO 4440 Forest Police Station*.
|
|
123
|
+
*/
|
|
124
|
+
description: string;
|
|
125
|
+
/**
|
|
126
|
+
* The number of items.
|
|
127
|
+
*/
|
|
128
|
+
quantity: number;
|
|
129
|
+
/**
|
|
130
|
+
* The unit for the quantity. For example *pcs*, *kg*, or *cm*.
|
|
131
|
+
*/
|
|
132
|
+
quantityUnit?: string | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
135
|
+
*/
|
|
136
|
+
unitPrice: Amount;
|
|
137
|
+
/**
|
|
138
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
139
|
+
*/
|
|
140
|
+
discountAmount?: Amount | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
143
|
+
*/
|
|
144
|
+
totalAmount: Amount;
|
|
145
|
+
/**
|
|
146
|
+
* The VAT rate applied to the line, for example `21.00` for 21%. The vatRate should be passed as a string and
|
|
147
|
+
*
|
|
148
|
+
* @remarks
|
|
149
|
+
* not as a float, to ensure the correct number of decimals are passed.
|
|
150
|
+
*/
|
|
151
|
+
vatRate?: string | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
154
|
+
*/
|
|
155
|
+
vatAmount?: Amount | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* The SKU, EAN, ISBN or UPC of the product sold.
|
|
158
|
+
*/
|
|
159
|
+
sku?: string | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* An array with the voucher categories, in case of a line eligible for a voucher. See the
|
|
162
|
+
*
|
|
163
|
+
* @remarks
|
|
164
|
+
* [Integrating Vouchers](https://docs.mollie.com/docs/integrating-vouchers/) guide for more information.
|
|
165
|
+
*/
|
|
166
|
+
categories?: Array<LineCategoriesResponse> | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* A link pointing to an image of the product sold.
|
|
169
|
+
*/
|
|
170
|
+
imageUrl?: string | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* A link pointing to the product page in your web shop of the product sold.
|
|
173
|
+
*/
|
|
174
|
+
productUrl?: string | undefined;
|
|
175
|
+
recurring?: RecurringLineItem | undefined;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* The customer's billing address details. We advise to provide these details to improve fraud protection and
|
|
179
|
+
*
|
|
180
|
+
* @remarks
|
|
181
|
+
* conversion.
|
|
182
|
+
*
|
|
183
|
+
* Should include `email` or a valid postal address consisting of `streetAndNumber`, `postalCode`, `city` and
|
|
184
|
+
* `country`.
|
|
185
|
+
*
|
|
186
|
+
* Required for payment method `in3`, `klarna`, `billie` and `riverty`.
|
|
187
|
+
*/
|
|
188
|
+
export type ListPaymentResponseBillingAddress = {
|
|
189
|
+
/**
|
|
190
|
+
* The title of the person, for example *Mr.* or *Mrs.*.
|
|
191
|
+
*/
|
|
192
|
+
title?: string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* The given name (first name) of the person should be at least two characters and cannot contain only
|
|
195
|
+
*
|
|
196
|
+
* @remarks
|
|
197
|
+
* numbers.
|
|
198
|
+
*
|
|
199
|
+
* Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
|
|
200
|
+
*/
|
|
201
|
+
givenName?: string | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* The given family name (surname) of the person should be at least two characters and cannot contain only
|
|
204
|
+
*
|
|
205
|
+
* @remarks
|
|
206
|
+
* numbers.
|
|
207
|
+
*
|
|
208
|
+
* Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
|
|
209
|
+
*/
|
|
210
|
+
familyName?: string | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* The name of the organization, in case the addressee is an organization.
|
|
213
|
+
*
|
|
214
|
+
* @remarks
|
|
215
|
+
*
|
|
216
|
+
* Required for payment method `billie`.
|
|
217
|
+
*/
|
|
218
|
+
organizationName?: any | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* A street and street number.
|
|
221
|
+
*
|
|
222
|
+
* @remarks
|
|
223
|
+
*
|
|
224
|
+
* Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
|
|
225
|
+
*/
|
|
226
|
+
streetAndNumber?: string | undefined;
|
|
227
|
+
/**
|
|
228
|
+
* Any additional addressing details, for example an apartment number.
|
|
229
|
+
*/
|
|
230
|
+
streetAdditional?: string | undefined;
|
|
231
|
+
/**
|
|
232
|
+
* A postal code. This field may be required if the provided country has a postal code system.
|
|
233
|
+
*
|
|
234
|
+
* @remarks
|
|
235
|
+
*
|
|
236
|
+
* Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
|
|
237
|
+
*/
|
|
238
|
+
postalCode?: string | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* A valid e-mail address.
|
|
241
|
+
*
|
|
242
|
+
* @remarks
|
|
243
|
+
*
|
|
244
|
+
* If you provide the email address for a `banktransfer` payment, we will automatically send the instructions
|
|
245
|
+
* email upon payment creation. The language of the email will follow the locale parameter of the payment.
|
|
246
|
+
*
|
|
247
|
+
* Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
|
|
248
|
+
*/
|
|
249
|
+
email?: string | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* If provided, it must be in the [E.164](https://en.wikipedia.org/wiki/E.164) format. For example: +31208202070.
|
|
252
|
+
*/
|
|
253
|
+
phone?: string | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* A city name.
|
|
256
|
+
*
|
|
257
|
+
* @remarks
|
|
258
|
+
*
|
|
259
|
+
* Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
|
|
260
|
+
*/
|
|
261
|
+
city?: string | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* The top-level administrative subdivision of the country. For example: Noord-Holland.
|
|
264
|
+
*/
|
|
265
|
+
region?: string | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* A country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
|
|
268
|
+
*
|
|
269
|
+
* @remarks
|
|
270
|
+
*
|
|
271
|
+
* Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
|
|
272
|
+
*/
|
|
273
|
+
country?: string | undefined;
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
|
|
277
|
+
*
|
|
278
|
+
* @remarks
|
|
279
|
+
* merchants.
|
|
280
|
+
*
|
|
281
|
+
* If you use OAuth to create payments on a connected merchant's account, you can charge a fee using this
|
|
282
|
+
* `applicationFee` parameter. If the payment succeeds, the fee will be deducted from the merchant's balance and sent
|
|
283
|
+
* to your own account balance.
|
|
284
|
+
*
|
|
285
|
+
* If instead you want to split a payment on your own account between yourself and a connected merchant, refer to the
|
|
286
|
+
* `routing` parameter.
|
|
287
|
+
*/
|
|
288
|
+
export type ListPaymentResponseApplicationFee = {
|
|
289
|
+
/**
|
|
290
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
291
|
+
*/
|
|
292
|
+
amount?: Amount | undefined;
|
|
293
|
+
/**
|
|
294
|
+
* The description of the application fee. This will appear on settlement reports towards both you and the
|
|
295
|
+
*
|
|
296
|
+
* @remarks
|
|
297
|
+
* connected merchant.
|
|
298
|
+
*/
|
|
299
|
+
description?: string | undefined;
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* The payment's status. Refer to the [documentation regarding statuses](https://docs.mollie.com/docs/status-change#/) for more info about which
|
|
303
|
+
*
|
|
304
|
+
* @remarks
|
|
305
|
+
* statuses occur at what point.
|
|
306
|
+
*/
|
|
307
|
+
export declare const ListPaymentResponseStatus: {
|
|
308
|
+
readonly Open: "open";
|
|
309
|
+
readonly Pending: "pending";
|
|
310
|
+
readonly Authorized: "authorized";
|
|
311
|
+
readonly Paid: "paid";
|
|
312
|
+
readonly Canceled: "canceled";
|
|
313
|
+
readonly Expired: "expired";
|
|
314
|
+
readonly Failed: "failed";
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* The payment's status. Refer to the [documentation regarding statuses](https://docs.mollie.com/docs/status-change#/) for more info about which
|
|
318
|
+
*
|
|
319
|
+
* @remarks
|
|
320
|
+
* statuses occur at what point.
|
|
321
|
+
*/
|
|
322
|
+
export type ListPaymentResponseStatus = OpenEnum<typeof ListPaymentResponseStatus>;
|
|
323
|
+
/**
|
|
324
|
+
* The Point of sale receipt object.
|
|
325
|
+
*/
|
|
326
|
+
export type ListPaymentResponseReceipt = {
|
|
327
|
+
/**
|
|
328
|
+
* A unique code provided by the cardholder’s bank to confirm that the transaction was successfully approved.
|
|
329
|
+
*/
|
|
330
|
+
authorizationCode?: string | null | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* The unique number that identifies a specific payment application on a chip card.
|
|
333
|
+
*/
|
|
334
|
+
applicationIdentifier?: string | null | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* The method by which the card was read by the terminal.
|
|
337
|
+
*/
|
|
338
|
+
cardReadMethod?: PaymentDetailsReceiptCardReadMethodResponse | null | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* The method used to verify the cardholder's identity.
|
|
341
|
+
*/
|
|
342
|
+
cardVerificationMethod?: PaymentDetailsReceiptCardVerificationMethodResponse | null | undefined;
|
|
343
|
+
};
|
|
344
|
+
/**
|
|
345
|
+
* Optional include. If a QR code was requested during payment creation for a QR-compatible payment method,
|
|
346
|
+
*
|
|
347
|
+
* @remarks
|
|
348
|
+
* the QR code details will be available in this object.
|
|
349
|
+
*
|
|
350
|
+
* The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
|
|
351
|
+
* Bancontact QR payments can be completed by the customer using the Bancontact app.
|
|
352
|
+
*/
|
|
353
|
+
export type ListPaymentResponseQrCode = {
|
|
354
|
+
/**
|
|
355
|
+
* The height of the QR code image in pixels.
|
|
356
|
+
*/
|
|
357
|
+
height?: number | undefined;
|
|
358
|
+
/**
|
|
359
|
+
* The width of the QR code image in pixels.
|
|
360
|
+
*/
|
|
361
|
+
width?: number | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* The URL to the QR code image. The image is a PNG file, and can be displayed directly in the browser or
|
|
364
|
+
*
|
|
365
|
+
* @remarks
|
|
366
|
+
* downloaded.
|
|
367
|
+
*/
|
|
368
|
+
src?: string | undefined;
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* An object containing payment details collected during the payment process. For example, details may include the
|
|
372
|
+
*
|
|
373
|
+
* @remarks
|
|
374
|
+
* customer's card or bank details and a payment reference. For the full list of details, please refer to the
|
|
375
|
+
* [method-specific parameters](extra-payment-parameters) guide.
|
|
376
|
+
*/
|
|
377
|
+
export type ListPaymentResponseDetails = {
|
|
378
|
+
/**
|
|
379
|
+
* The customer's name, if made available by the payment method. For card payments, refer to details.cardHolder.
|
|
380
|
+
*/
|
|
381
|
+
consumerName?: string | null | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* The customer's account reference.
|
|
384
|
+
*
|
|
385
|
+
* @remarks
|
|
386
|
+
*
|
|
387
|
+
* For banking-based payment methods — such as iDEAL — this is normally either an IBAN or a domestic bank account
|
|
388
|
+
* number.
|
|
389
|
+
*
|
|
390
|
+
* For PayPal, the account reference is an email address.
|
|
391
|
+
*
|
|
392
|
+
* For card and Bancontact payments, refer to details.cardNumber.
|
|
393
|
+
*/
|
|
394
|
+
consumerAccount?: string | null | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* The BIC of the customer's bank account, if applicable.
|
|
397
|
+
*/
|
|
398
|
+
consumerBic?: string | null | undefined;
|
|
399
|
+
/**
|
|
400
|
+
* For wallet payment methods — such as Apple Pay and PayPal — the shipping address is often already known by the
|
|
401
|
+
*
|
|
402
|
+
* @remarks
|
|
403
|
+
* wallet provider. In these cases the shipping address may be available as a payment detail.
|
|
404
|
+
*/
|
|
405
|
+
shippingAddress?: {
|
|
406
|
+
[k: string]: any;
|
|
407
|
+
} | null | undefined;
|
|
408
|
+
/**
|
|
409
|
+
* For bancontact, it will be the customer's masked card number. For cards, it will be the last 4-digit of the
|
|
410
|
+
*
|
|
411
|
+
* @remarks
|
|
412
|
+
* PAN. For Point-of-sale, it will be the the last 4 digits of the customer's masked card number.
|
|
413
|
+
*/
|
|
414
|
+
cardNumber?: string | null | undefined;
|
|
415
|
+
/**
|
|
416
|
+
* The name of the bank that the customer will need to make the bank transfer payment towards.
|
|
417
|
+
*/
|
|
418
|
+
bankName?: string | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* The bank account number the customer will need to make the bank transfer payment towards.
|
|
421
|
+
*/
|
|
422
|
+
bankAccount?: string | undefined;
|
|
423
|
+
/**
|
|
424
|
+
* The BIC of the bank the customer will need to make the bank transfer payment towards.
|
|
425
|
+
*/
|
|
426
|
+
bankBic?: string | undefined;
|
|
427
|
+
/**
|
|
428
|
+
* The Mollie-generated reference the customer needs to use when transfering the amount. Do not apply any
|
|
429
|
+
*
|
|
430
|
+
* @remarks
|
|
431
|
+
* formatting here; show it to the customer as-is.
|
|
432
|
+
*/
|
|
433
|
+
transferReference?: string | null | undefined;
|
|
434
|
+
/**
|
|
435
|
+
* A unique fingerprint for a specific card. Can be used to identify returning customers.
|
|
436
|
+
*
|
|
437
|
+
* @remarks
|
|
438
|
+
*
|
|
439
|
+
* In the case of Point-of-sale payments, it's a unique identifier assigned to a cardholder's payment account,
|
|
440
|
+
* linking multiple transactions from wallets and physical card to a single account, also across payment methods
|
|
441
|
+
* or when the card is reissued.
|
|
442
|
+
*/
|
|
443
|
+
cardFingerprint?: string | null | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* The customer's name as shown on their card.
|
|
446
|
+
*/
|
|
447
|
+
cardHolder?: string | null | undefined;
|
|
448
|
+
/**
|
|
449
|
+
* The card's target audience, if known.
|
|
450
|
+
*/
|
|
451
|
+
cardAudition?: PaymentDetailsCardAuditionResponse | null | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* The card's label, if known.
|
|
454
|
+
*/
|
|
455
|
+
cardLabel?: PaymentDetailsCardLabelResponse | null | undefined;
|
|
456
|
+
/**
|
|
457
|
+
* The ISO 3166-1 alpha-2 country code of the country the card was issued in.
|
|
458
|
+
*/
|
|
459
|
+
cardCountryCode?: string | null | undefined;
|
|
460
|
+
/**
|
|
461
|
+
* The expiry date (MM/YY) of the card as displayed on the card.
|
|
462
|
+
*/
|
|
463
|
+
cardExpiryDate?: string | null | undefined;
|
|
464
|
+
/**
|
|
465
|
+
* The card type.
|
|
466
|
+
*/
|
|
467
|
+
cardFunding?: PaymentDetailsCardFundingResponse | null | undefined;
|
|
468
|
+
/**
|
|
469
|
+
* The level of security applied during card processing.
|
|
470
|
+
*/
|
|
471
|
+
cardSecurity?: PaymentDetailsCardSecurityResponse | null | undefined;
|
|
472
|
+
/**
|
|
473
|
+
* The applicable card fee region.
|
|
474
|
+
*/
|
|
475
|
+
feeRegion?: PaymentDetailsFeeRegionResponse | null | undefined;
|
|
476
|
+
/**
|
|
477
|
+
* The first 6 and last 4 digits of the card number.
|
|
478
|
+
*/
|
|
479
|
+
cardMaskedNumber?: string | null | undefined;
|
|
480
|
+
/**
|
|
481
|
+
* The outcome of authentication attempted on transactions enforced by 3DS (ie valid only for oneoff and first).
|
|
482
|
+
*/
|
|
483
|
+
card3dsEci?: string | null | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* The first 6 digit of the card bank identification number.
|
|
486
|
+
*/
|
|
487
|
+
cardBin?: string | null | undefined;
|
|
488
|
+
/**
|
|
489
|
+
* The issuer of the Card.
|
|
490
|
+
*/
|
|
491
|
+
cardIssuer?: string | null | undefined;
|
|
492
|
+
/**
|
|
493
|
+
* A failure code to help understand why the payment failed.
|
|
494
|
+
*/
|
|
495
|
+
failureReason?: PaymentDetailsFailureReasonResponse | null | undefined;
|
|
496
|
+
/**
|
|
497
|
+
* A human-friendly failure message that can be shown to the customer. The message is translated in accordance
|
|
498
|
+
*
|
|
499
|
+
* @remarks
|
|
500
|
+
* with the payment's locale setting.
|
|
501
|
+
*/
|
|
502
|
+
failureMessage?: string | null | undefined;
|
|
503
|
+
/**
|
|
504
|
+
* The wallet used when creating the payment.
|
|
505
|
+
*/
|
|
506
|
+
wallet?: PaymentDetailsWalletResponse | null | undefined;
|
|
507
|
+
/**
|
|
508
|
+
* PayPal's reference for the payment.
|
|
509
|
+
*/
|
|
510
|
+
paypalReference?: string | null | undefined;
|
|
511
|
+
/**
|
|
512
|
+
* ID of the customer's PayPal account.
|
|
513
|
+
*/
|
|
514
|
+
paypalPayerId?: string | null | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
517
|
+
*
|
|
518
|
+
* @remarks
|
|
519
|
+
* payments, and if the information is made available by PayPal.
|
|
520
|
+
*/
|
|
521
|
+
sellerProtection?: PaymentDetailsSellerProtectionResponse | null | undefined;
|
|
522
|
+
/**
|
|
523
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
524
|
+
*/
|
|
525
|
+
paypalFee?: AmountNullable | null | undefined;
|
|
526
|
+
/**
|
|
527
|
+
* The paysafecard customer reference either provided via the API or otherwise auto-generated by Mollie.
|
|
528
|
+
*/
|
|
529
|
+
customerReference?: string | undefined;
|
|
530
|
+
/**
|
|
531
|
+
* The ID of the terminal device where the payment took place on.
|
|
532
|
+
*/
|
|
533
|
+
terminalId?: string | undefined;
|
|
534
|
+
/**
|
|
535
|
+
* The first 6 digits & last 4 digits of the customer's masked card number.
|
|
536
|
+
*/
|
|
537
|
+
maskedNumber?: string | null | undefined;
|
|
538
|
+
/**
|
|
539
|
+
* The Point of sale receipt object.
|
|
540
|
+
*/
|
|
541
|
+
receipt?: ListPaymentResponseReceipt | undefined;
|
|
542
|
+
/**
|
|
543
|
+
* The creditor identifier indicates who is authorized to execute the payment. In this case, it is a
|
|
544
|
+
*
|
|
545
|
+
* @remarks
|
|
546
|
+
* reference to Mollie.
|
|
547
|
+
*/
|
|
548
|
+
creditorIdentifier?: string | null | undefined;
|
|
549
|
+
/**
|
|
550
|
+
* Estimated date the payment is debited from the customer's bank account, in YYYY-MM-DD format.
|
|
551
|
+
*/
|
|
552
|
+
dueDate?: RFCDate | null | undefined;
|
|
553
|
+
/**
|
|
554
|
+
* Date the payment has been signed by the customer, in YYYY-MM-DD format. Only available if the payment
|
|
555
|
+
*
|
|
556
|
+
* @remarks
|
|
557
|
+
* has been signed.
|
|
558
|
+
*/
|
|
559
|
+
signatureDate?: RFCDate | null | undefined;
|
|
560
|
+
/**
|
|
561
|
+
* The official reason why this payment has failed. A detailed description of each reason is available on the
|
|
562
|
+
*
|
|
563
|
+
* @remarks
|
|
564
|
+
* website of the European Payments Council.
|
|
565
|
+
*/
|
|
566
|
+
bankReasonCode?: string | null | undefined;
|
|
567
|
+
/**
|
|
568
|
+
* A human-friendly description of the failure reason.
|
|
569
|
+
*/
|
|
570
|
+
bankReason?: string | null | undefined;
|
|
571
|
+
/**
|
|
572
|
+
* The end-to-end identifier you provided in the batch file.
|
|
573
|
+
*/
|
|
574
|
+
endToEndIdentifier?: string | null | undefined;
|
|
575
|
+
/**
|
|
576
|
+
* The mandate reference you provided in the batch file.
|
|
577
|
+
*/
|
|
578
|
+
mandateReference?: string | null | undefined;
|
|
579
|
+
/**
|
|
580
|
+
* The batch reference you provided in the batch file.
|
|
581
|
+
*/
|
|
582
|
+
batchReference?: string | null | undefined;
|
|
583
|
+
/**
|
|
584
|
+
* The file reference you provided in the batch file.
|
|
585
|
+
*/
|
|
586
|
+
fileReference?: string | null | undefined;
|
|
587
|
+
/**
|
|
588
|
+
* Optional include. If a QR code was requested during payment creation for a QR-compatible payment method,
|
|
589
|
+
*
|
|
590
|
+
* @remarks
|
|
591
|
+
* the QR code details will be available in this object.
|
|
592
|
+
*
|
|
593
|
+
* The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
|
|
594
|
+
* Bancontact QR payments can be completed by the customer using the Bancontact app.
|
|
595
|
+
*/
|
|
596
|
+
qrCode?: ListPaymentResponseQrCode | undefined;
|
|
597
|
+
/**
|
|
598
|
+
* For payments with gift cards: the masked gift card number of the first gift card applied to the payment.
|
|
599
|
+
*/
|
|
600
|
+
voucherNumber?: string | undefined;
|
|
601
|
+
/**
|
|
602
|
+
* An array of detail objects for each gift card that was used on this payment, if any.
|
|
603
|
+
*/
|
|
604
|
+
giftcards?: Array<{
|
|
605
|
+
[k: string]: any;
|
|
606
|
+
}> | undefined;
|
|
607
|
+
/**
|
|
608
|
+
* For payments with vouchers: the brand name of the first voucher applied.
|
|
609
|
+
*/
|
|
610
|
+
issuer?: string | undefined;
|
|
611
|
+
/**
|
|
612
|
+
* An array of detail objects for each voucher that was used on this payment, if any.
|
|
613
|
+
*/
|
|
614
|
+
vouchers?: Array<{
|
|
615
|
+
[k: string]: any;
|
|
616
|
+
}> | undefined;
|
|
617
|
+
/**
|
|
618
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
619
|
+
*/
|
|
620
|
+
remainderAmount?: Amount | undefined;
|
|
621
|
+
/**
|
|
622
|
+
* The payment method used to pay the remainder amount, after all gift cards or vouchers were applied.
|
|
623
|
+
*/
|
|
624
|
+
remainderMethod?: string | undefined;
|
|
625
|
+
/**
|
|
626
|
+
* Optional include. The full payment method details of the remainder payment.
|
|
627
|
+
*/
|
|
628
|
+
remainderDetails?: {
|
|
629
|
+
[k: string]: any;
|
|
630
|
+
} | undefined;
|
|
631
|
+
/**
|
|
632
|
+
* Multibanco payment reference of the transaction
|
|
633
|
+
*/
|
|
634
|
+
multibancoReference?: string | null | undefined;
|
|
635
|
+
/**
|
|
636
|
+
* Multibanco entity reference of the transaction
|
|
637
|
+
*/
|
|
638
|
+
multibancoEntity?: string | null | undefined;
|
|
639
|
+
};
|
|
640
|
+
/**
|
|
641
|
+
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
642
|
+
*/
|
|
643
|
+
export type ListPaymentResponseLinks = {
|
|
644
|
+
/**
|
|
645
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
646
|
+
*/
|
|
647
|
+
self: Url;
|
|
648
|
+
/**
|
|
649
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
650
|
+
*/
|
|
651
|
+
checkout?: Url | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
654
|
+
*/
|
|
655
|
+
mobileAppCheckout?: Url | undefined;
|
|
656
|
+
/**
|
|
657
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
658
|
+
*/
|
|
659
|
+
changePaymentState?: Url | undefined;
|
|
660
|
+
/**
|
|
661
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
662
|
+
*/
|
|
663
|
+
dashboard: Url;
|
|
664
|
+
/**
|
|
665
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
666
|
+
*/
|
|
667
|
+
refunds?: Url | undefined;
|
|
668
|
+
/**
|
|
669
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
670
|
+
*/
|
|
671
|
+
chargebacks?: Url | undefined;
|
|
672
|
+
/**
|
|
673
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
674
|
+
*/
|
|
675
|
+
captures?: Url | undefined;
|
|
676
|
+
/**
|
|
677
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
678
|
+
*/
|
|
679
|
+
settlement?: Url | undefined;
|
|
680
|
+
/**
|
|
681
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
682
|
+
*/
|
|
683
|
+
customer?: Url | undefined;
|
|
684
|
+
/**
|
|
685
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
686
|
+
*/
|
|
687
|
+
mandate?: Url | undefined;
|
|
688
|
+
/**
|
|
689
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
690
|
+
*/
|
|
691
|
+
subscription?: Url | undefined;
|
|
692
|
+
/**
|
|
693
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
694
|
+
*/
|
|
695
|
+
order?: Url | undefined;
|
|
696
|
+
/**
|
|
697
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
698
|
+
*/
|
|
699
|
+
terminal?: Url | undefined;
|
|
700
|
+
/**
|
|
701
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
702
|
+
*/
|
|
703
|
+
status?: Url | undefined;
|
|
704
|
+
/**
|
|
705
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
706
|
+
*/
|
|
707
|
+
payOnline?: Url | undefined;
|
|
708
|
+
};
|
|
709
|
+
export type ListPaymentResponse = {
|
|
710
|
+
/**
|
|
711
|
+
* Indicates the response contains a payment object. Will always contain the string `payment` for this endpoint.
|
|
712
|
+
*/
|
|
713
|
+
resource: string;
|
|
714
|
+
/**
|
|
715
|
+
* The identifier uniquely referring to this payment. Mollie assigns this identifier at payment creation time. Mollie
|
|
716
|
+
*
|
|
717
|
+
* @remarks
|
|
718
|
+
* will always refer to the payment by this ID. Example: `tr_5B8cwPMGnU6qLbRvo7qEZo`.
|
|
719
|
+
*/
|
|
720
|
+
id: string;
|
|
721
|
+
/**
|
|
722
|
+
* Whether this entity was created in live mode or in test mode.
|
|
723
|
+
*/
|
|
724
|
+
mode: Mode;
|
|
725
|
+
/**
|
|
726
|
+
* The description of the payment. This will be shown to your customer on their card or bank statement when possible.
|
|
727
|
+
*
|
|
728
|
+
* @remarks
|
|
729
|
+
* We truncate the description automatically according to the limits of the used payment method. The description is
|
|
730
|
+
* also visible in any exports you generate.
|
|
731
|
+
*
|
|
732
|
+
* We recommend you use a unique identifier so that you can always link the payment to the order in your back office.
|
|
733
|
+
* This is particularly useful for bookkeeping.
|
|
734
|
+
*
|
|
735
|
+
* The maximum length of the description field differs per payment method, with the absolute maximum being 255
|
|
736
|
+
* characters. The API will not reject strings longer than the maximum length but it will truncate them to fit.
|
|
737
|
+
*/
|
|
738
|
+
description: string;
|
|
739
|
+
/**
|
|
740
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
741
|
+
*/
|
|
742
|
+
amount: Amount;
|
|
743
|
+
/**
|
|
744
|
+
* The total amount that is already refunded. Only available when refunds are available for this payment. For some
|
|
745
|
+
*
|
|
746
|
+
* @remarks
|
|
747
|
+
* payment methods, this amount may be higher than the payment amount, for example to allow reimbursement of the
|
|
748
|
+
* costs for a return shipment to the customer.
|
|
749
|
+
*/
|
|
750
|
+
amountRefunded?: ListPaymentResponseAmountRefunded | undefined;
|
|
751
|
+
/**
|
|
752
|
+
* The remaining amount that can be refunded. Only available when refunds are available for this payment.
|
|
753
|
+
*/
|
|
754
|
+
amountRemaining?: ListPaymentResponseAmountRemaining | undefined;
|
|
755
|
+
/**
|
|
756
|
+
* The total amount that is already captured for this payment. Only available when this payment supports captures.
|
|
757
|
+
*/
|
|
758
|
+
amountCaptured?: ListPaymentResponseAmountCaptured | undefined;
|
|
759
|
+
/**
|
|
760
|
+
* The total amount that was charged back for this payment. Only available when the total charged back amount is not
|
|
761
|
+
*
|
|
762
|
+
* @remarks
|
|
763
|
+
* zero.
|
|
764
|
+
*/
|
|
765
|
+
amountChargedBack?: ListPaymentResponseAmountChargedBack | undefined;
|
|
766
|
+
/**
|
|
767
|
+
* This optional field will contain the approximate amount that will be settled to your account, converted to the
|
|
768
|
+
*
|
|
769
|
+
* @remarks
|
|
770
|
+
* currency your account is settled in.
|
|
771
|
+
*
|
|
772
|
+
* Any amounts not settled by Mollie will not be reflected in this amount, e.g. PayPal or gift cards. If no amount is
|
|
773
|
+
* settled by Mollie the `settlementAmount` is omitted from the response.
|
|
774
|
+
*
|
|
775
|
+
* Please note that this amount might be recalculated and changed when the status of the payment changes. We suggest
|
|
776
|
+
* using the List balance transactions endpoint instead to get more accurate settlement amounts for your payments.
|
|
777
|
+
*/
|
|
778
|
+
settlementAmount?: ListPaymentResponseSettlementAmount | undefined;
|
|
779
|
+
/**
|
|
780
|
+
* The URL your customer will be redirected to after the payment process.
|
|
781
|
+
*
|
|
782
|
+
* @remarks
|
|
783
|
+
*
|
|
784
|
+
* It could make sense for the redirectUrl to contain a unique identifier – like your order ID – so you can show the
|
|
785
|
+
* right page referencing the order when your customer returns.
|
|
786
|
+
*
|
|
787
|
+
* The parameter is normally required, but can be omitted for recurring payments (`sequenceType: recurring`) and for
|
|
788
|
+
* Apple Pay payments with an `applePayPaymentToken`.
|
|
789
|
+
*/
|
|
790
|
+
redirectUrl?: string | null | undefined;
|
|
791
|
+
/**
|
|
792
|
+
* The URL your customer will be redirected to when the customer explicitly cancels the payment. If this URL is not
|
|
793
|
+
*
|
|
794
|
+
* @remarks
|
|
795
|
+
* provided, the customer will be redirected to the `redirectUrl` instead — see above.
|
|
796
|
+
*
|
|
797
|
+
* Mollie will always give you status updates via webhooks, including for the canceled status. This parameter is
|
|
798
|
+
* therefore entirely optional, but can be useful when implementing a dedicated customer-facing flow to handle
|
|
799
|
+
* payment cancellations.
|
|
800
|
+
*/
|
|
801
|
+
cancelUrl?: string | null | undefined;
|
|
802
|
+
/**
|
|
803
|
+
* The webhook URL where we will send payment status updates to.
|
|
804
|
+
*
|
|
805
|
+
* @remarks
|
|
806
|
+
*
|
|
807
|
+
* The webhookUrl is optional, but without a webhook you will miss out on important status changes to your payment.
|
|
808
|
+
*
|
|
809
|
+
* The webhookUrl must be reachable from Mollie's point of view, so you cannot use `localhost`. If you want to use
|
|
810
|
+
* webhook during development on `localhost`, you must use a tool like ngrok to have the webhooks delivered to your
|
|
811
|
+
* local machine.
|
|
812
|
+
*/
|
|
813
|
+
webhookUrl?: string | null | undefined;
|
|
814
|
+
/**
|
|
815
|
+
* Optionally provide the order lines for the payment. Each line contains details such as a description of the item
|
|
816
|
+
*
|
|
817
|
+
* @remarks
|
|
818
|
+
* ordered and its price.
|
|
819
|
+
*
|
|
820
|
+
* All lines must have the same currency as the payment.
|
|
821
|
+
*
|
|
822
|
+
* Required for payment methods `billie`, `in3`, `klarna`, `riverty` and `voucher`.
|
|
823
|
+
*/
|
|
824
|
+
lines?: Array<ListPaymentResponseLine> | null | undefined;
|
|
825
|
+
/**
|
|
826
|
+
* The customer's billing address details. We advise to provide these details to improve fraud protection and
|
|
827
|
+
*
|
|
828
|
+
* @remarks
|
|
829
|
+
* conversion.
|
|
830
|
+
*
|
|
831
|
+
* Should include `email` or a valid postal address consisting of `streetAndNumber`, `postalCode`, `city` and
|
|
832
|
+
* `country`.
|
|
833
|
+
*
|
|
834
|
+
* Required for payment method `in3`, `klarna`, `billie` and `riverty`.
|
|
835
|
+
*/
|
|
836
|
+
billingAddress?: ListPaymentResponseBillingAddress | undefined;
|
|
837
|
+
shippingAddress?: PaymentAddress | undefined;
|
|
838
|
+
/**
|
|
839
|
+
* Allows you to preset the language to be used.
|
|
840
|
+
*/
|
|
841
|
+
locale?: LocaleResponse | null | undefined;
|
|
842
|
+
/**
|
|
843
|
+
* This optional field contains your customer's ISO 3166-1 alpha-2 country code, detected by us during checkout. This
|
|
844
|
+
*
|
|
845
|
+
* @remarks
|
|
846
|
+
* field is omitted if the country code was not detected.
|
|
847
|
+
*/
|
|
848
|
+
countryCode?: string | null | undefined;
|
|
849
|
+
/**
|
|
850
|
+
* Normally, a payment method screen is shown. However, when using this parameter, you can choose a specific payment
|
|
851
|
+
*
|
|
852
|
+
* @remarks
|
|
853
|
+
* method and your customer will skip the selection screen and is sent directly to the chosen payment method. The
|
|
854
|
+
* parameter enables you to fully integrate the payment method selection into your website.
|
|
855
|
+
*
|
|
856
|
+
* You can also specify the methods in an array. By doing so we will still show the payment method selection screen
|
|
857
|
+
* but will only show the methods specified in the array. For example, you can use this functionality to only show
|
|
858
|
+
* payment methods from a specific country to your customer `['bancontact', 'belfius']`.
|
|
859
|
+
*/
|
|
860
|
+
method?: MethodResponse | null | undefined;
|
|
861
|
+
/**
|
|
862
|
+
* For digital goods in most jurisdictions, you must apply the VAT rate from your customer's country. Choose the VAT
|
|
863
|
+
*
|
|
864
|
+
* @remarks
|
|
865
|
+
* rates you have used for the order to ensure your customer's country matches the VAT country.
|
|
866
|
+
*
|
|
867
|
+
* Use this parameter to restrict the payment methods available to your customer to those from a single country.
|
|
868
|
+
*
|
|
869
|
+
* If available, the credit card method will still be offered, but only cards from the allowed country are accepted.
|
|
870
|
+
*
|
|
871
|
+
* The field expects a country code in ISO 3166-1 alpha-2 format, for example `NL`.
|
|
872
|
+
*/
|
|
873
|
+
restrictPaymentMethodsToCountry?: string | null | undefined;
|
|
874
|
+
/**
|
|
875
|
+
* Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity. Whenever
|
|
876
|
+
*
|
|
877
|
+
* @remarks
|
|
878
|
+
* you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB.
|
|
879
|
+
*/
|
|
880
|
+
metadata?: Metadata | null | undefined;
|
|
881
|
+
/**
|
|
882
|
+
* Indicate if the funds should be captured immediately or if you want to [place a hold](https://docs.mollie.com/docs/place-a-hold-for-a-payment#/)
|
|
883
|
+
*
|
|
884
|
+
* @remarks
|
|
885
|
+
* and capture at a later time.
|
|
886
|
+
*
|
|
887
|
+
* This field needs to be set to `manual` for method `riverty`.
|
|
888
|
+
*/
|
|
889
|
+
captureMode?: CaptureModeResponse | null | undefined;
|
|
890
|
+
/**
|
|
891
|
+
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
892
|
+
*
|
|
893
|
+
* @remarks
|
|
894
|
+
*
|
|
895
|
+
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
896
|
+
* later point either be 'captured' or canceled.
|
|
897
|
+
*
|
|
898
|
+
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
899
|
+
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
900
|
+
* example `8 hours` or `2 days`.
|
|
901
|
+
*
|
|
902
|
+
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
903
|
+
*
|
|
904
|
+
* The maximum delay is 7 days (168 hours).
|
|
905
|
+
*
|
|
906
|
+
* Possible values: `... hours` `... days`
|
|
907
|
+
*/
|
|
908
|
+
captureDelay?: string | null | undefined;
|
|
909
|
+
/**
|
|
910
|
+
* Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
|
|
911
|
+
*
|
|
912
|
+
* @remarks
|
|
913
|
+
* can no longer guarantee a successful capture. The parameter is omitted if the payment is not authorized (yet).
|
|
914
|
+
*/
|
|
915
|
+
captureBefore?: string | null | undefined;
|
|
916
|
+
/**
|
|
917
|
+
* With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
|
|
918
|
+
*
|
|
919
|
+
* @remarks
|
|
920
|
+
* merchants.
|
|
921
|
+
*
|
|
922
|
+
* If you use OAuth to create payments on a connected merchant's account, you can charge a fee using this
|
|
923
|
+
* `applicationFee` parameter. If the payment succeeds, the fee will be deducted from the merchant's balance and sent
|
|
924
|
+
* to your own account balance.
|
|
925
|
+
*
|
|
926
|
+
* If instead you want to split a payment on your own account between yourself and a connected merchant, refer to the
|
|
927
|
+
* `routing` parameter.
|
|
928
|
+
*/
|
|
929
|
+
applicationFee?: ListPaymentResponseApplicationFee | null | undefined;
|
|
930
|
+
/**
|
|
931
|
+
* *This functionality is not enabled by default. Reach out to our partner management team if you wish to use it.*
|
|
932
|
+
*
|
|
933
|
+
* @remarks
|
|
934
|
+
*
|
|
935
|
+
* With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
|
|
936
|
+
* merchants.
|
|
937
|
+
*
|
|
938
|
+
* If you create payments on your own account that you want to split between yourself and one or more connected
|
|
939
|
+
* merchants, you can use this `routing` parameter to route the payment accordingly.
|
|
940
|
+
*
|
|
941
|
+
* The `routing` parameter should contain an array of objects, with each object describing the destination for a
|
|
942
|
+
* specific portion of the payment.
|
|
943
|
+
*
|
|
944
|
+
* It is not necessary to indicate in the array which portion goes to yourself. After all portions of the total
|
|
945
|
+
* payment amount have been routed, the amount left will be routed to the current organization automatically.
|
|
946
|
+
*
|
|
947
|
+
* If instead you use OAuth to create payments on a connected merchant's account, refer to the `applicationFee`
|
|
948
|
+
* parameter.
|
|
949
|
+
*/
|
|
950
|
+
routing?: Array<EntityPaymentRouteResponse> | null | undefined;
|
|
951
|
+
sequenceType: SequenceTypeResponse;
|
|
952
|
+
/**
|
|
953
|
+
* If the payment was automatically created via a subscription, the ID of the [subscription](get-subscription) will
|
|
954
|
+
*
|
|
955
|
+
* @remarks
|
|
956
|
+
* be added to the response.
|
|
957
|
+
*/
|
|
958
|
+
subscriptionId?: string | null | undefined;
|
|
959
|
+
/**
|
|
960
|
+
* **Only relevant for recurring payments.**
|
|
961
|
+
*
|
|
962
|
+
* @remarks
|
|
963
|
+
*
|
|
964
|
+
* When creating recurring payments, the ID of a specific [mandate](get-mandate) can be supplied to indicate which of
|
|
965
|
+
* the customer's accounts should be credited.
|
|
966
|
+
*/
|
|
967
|
+
mandateId?: string | null | undefined;
|
|
968
|
+
customerId?: string | undefined;
|
|
969
|
+
/**
|
|
970
|
+
* The identifier referring to the [profile](get-profile) this entity belongs to.
|
|
971
|
+
*
|
|
972
|
+
* @remarks
|
|
973
|
+
*
|
|
974
|
+
* Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted in the creation
|
|
975
|
+
* request. For organization-level credentials such as OAuth access tokens however, the `profileId` parameter is
|
|
976
|
+
* required.
|
|
977
|
+
*/
|
|
978
|
+
profileId: string;
|
|
979
|
+
/**
|
|
980
|
+
* The identifier referring to the [settlement](get-settlement) this payment was settled with.
|
|
981
|
+
*/
|
|
982
|
+
settlementId?: string | null | undefined;
|
|
983
|
+
/**
|
|
984
|
+
* If the payment was created for an [order](get-order), the ID of that order will be part of the response.
|
|
985
|
+
*/
|
|
986
|
+
orderId?: string | null | undefined;
|
|
987
|
+
status: ListPaymentResponseStatus;
|
|
988
|
+
/**
|
|
989
|
+
* This object offers details about the status of a payment. Currently it is only available for point-of-sale
|
|
990
|
+
*
|
|
991
|
+
* @remarks
|
|
992
|
+
* payments.
|
|
993
|
+
*
|
|
994
|
+
* You can find more information about the possible values of this object on
|
|
995
|
+
* [this page](status-reasons).**
|
|
996
|
+
*/
|
|
997
|
+
statusReason?: StatusReason | null | undefined;
|
|
998
|
+
/**
|
|
999
|
+
* Whether the payment can be canceled. This parameter is omitted if the payment reaches a final state.
|
|
1000
|
+
*/
|
|
1001
|
+
isCancelable?: boolean | null | undefined;
|
|
1002
|
+
/**
|
|
1003
|
+
* An object containing payment details collected during the payment process. For example, details may include the
|
|
1004
|
+
*
|
|
1005
|
+
* @remarks
|
|
1006
|
+
* customer's card or bank details and a payment reference. For the full list of details, please refer to the
|
|
1007
|
+
* [method-specific parameters](extra-payment-parameters) guide.
|
|
1008
|
+
*/
|
|
1009
|
+
details?: ListPaymentResponseDetails | null | undefined;
|
|
1010
|
+
/**
|
|
1011
|
+
* The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
1012
|
+
*/
|
|
1013
|
+
createdAt: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* The date and time the payment became authorized, in ISO 8601 format. This parameter is omitted if the payment is
|
|
1016
|
+
*
|
|
1017
|
+
* @remarks
|
|
1018
|
+
* not authorized (yet).
|
|
1019
|
+
*/
|
|
1020
|
+
authorizedAt?: string | null | undefined;
|
|
1021
|
+
/**
|
|
1022
|
+
* The date and time the payment became paid, in ISO 8601 format. This parameter is omitted if the payment is not
|
|
1023
|
+
*
|
|
1024
|
+
* @remarks
|
|
1025
|
+
* completed (yet).
|
|
1026
|
+
*/
|
|
1027
|
+
paidAt?: string | null | undefined;
|
|
1028
|
+
/**
|
|
1029
|
+
* The date and time the payment was canceled, in ISO 8601 format. This parameter is omitted if the payment is not
|
|
1030
|
+
*
|
|
1031
|
+
* @remarks
|
|
1032
|
+
* canceled (yet).
|
|
1033
|
+
*/
|
|
1034
|
+
canceledAt?: string | null | undefined;
|
|
1035
|
+
/**
|
|
1036
|
+
* The date and time the payment will expire, in ISO 8601 format. This parameter is omitted if the payment can no
|
|
1037
|
+
*
|
|
1038
|
+
* @remarks
|
|
1039
|
+
* longer expire.
|
|
1040
|
+
*/
|
|
1041
|
+
expiresAt?: string | null | undefined;
|
|
1042
|
+
/**
|
|
1043
|
+
* The date and time the payment was expired, in ISO 8601 format. This parameter is omitted if the payment did not
|
|
1044
|
+
*
|
|
1045
|
+
* @remarks
|
|
1046
|
+
* expire (yet).
|
|
1047
|
+
*/
|
|
1048
|
+
expiredAt?: string | null | undefined;
|
|
1049
|
+
/**
|
|
1050
|
+
* The date and time the payment failed, in ISO 8601 format. This parameter is omitted if the payment did not fail
|
|
1051
|
+
*
|
|
1052
|
+
* @remarks
|
|
1053
|
+
* (yet).
|
|
1054
|
+
*/
|
|
1055
|
+
failedAt?: string | null | undefined;
|
|
1056
|
+
/**
|
|
1057
|
+
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
1058
|
+
*/
|
|
1059
|
+
links: ListPaymentResponseLinks;
|
|
1060
|
+
};
|
|
1061
|
+
/** @internal */
|
|
1062
|
+
export declare const ListPaymentResponseAmountRefunded$inboundSchema: z.ZodType<ListPaymentResponseAmountRefunded, z.ZodTypeDef, unknown>;
|
|
1063
|
+
/** @internal */
|
|
1064
|
+
export type ListPaymentResponseAmountRefunded$Outbound = {
|
|
1065
|
+
currency: string;
|
|
1066
|
+
value: string;
|
|
1067
|
+
};
|
|
1068
|
+
/** @internal */
|
|
1069
|
+
export declare const ListPaymentResponseAmountRefunded$outboundSchema: z.ZodType<ListPaymentResponseAmountRefunded$Outbound, z.ZodTypeDef, ListPaymentResponseAmountRefunded>;
|
|
1070
|
+
export declare function listPaymentResponseAmountRefundedToJSON(listPaymentResponseAmountRefunded: ListPaymentResponseAmountRefunded): string;
|
|
1071
|
+
export declare function listPaymentResponseAmountRefundedFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseAmountRefunded, SDKValidationError>;
|
|
1072
|
+
/** @internal */
|
|
1073
|
+
export declare const ListPaymentResponseAmountRemaining$inboundSchema: z.ZodType<ListPaymentResponseAmountRemaining, z.ZodTypeDef, unknown>;
|
|
1074
|
+
/** @internal */
|
|
1075
|
+
export type ListPaymentResponseAmountRemaining$Outbound = {
|
|
1076
|
+
currency: string;
|
|
1077
|
+
value: string;
|
|
1078
|
+
};
|
|
1079
|
+
/** @internal */
|
|
1080
|
+
export declare const ListPaymentResponseAmountRemaining$outboundSchema: z.ZodType<ListPaymentResponseAmountRemaining$Outbound, z.ZodTypeDef, ListPaymentResponseAmountRemaining>;
|
|
1081
|
+
export declare function listPaymentResponseAmountRemainingToJSON(listPaymentResponseAmountRemaining: ListPaymentResponseAmountRemaining): string;
|
|
1082
|
+
export declare function listPaymentResponseAmountRemainingFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseAmountRemaining, SDKValidationError>;
|
|
1083
|
+
/** @internal */
|
|
1084
|
+
export declare const ListPaymentResponseAmountCaptured$inboundSchema: z.ZodType<ListPaymentResponseAmountCaptured, z.ZodTypeDef, unknown>;
|
|
1085
|
+
/** @internal */
|
|
1086
|
+
export type ListPaymentResponseAmountCaptured$Outbound = {
|
|
1087
|
+
currency: string;
|
|
1088
|
+
value: string;
|
|
1089
|
+
};
|
|
1090
|
+
/** @internal */
|
|
1091
|
+
export declare const ListPaymentResponseAmountCaptured$outboundSchema: z.ZodType<ListPaymentResponseAmountCaptured$Outbound, z.ZodTypeDef, ListPaymentResponseAmountCaptured>;
|
|
1092
|
+
export declare function listPaymentResponseAmountCapturedToJSON(listPaymentResponseAmountCaptured: ListPaymentResponseAmountCaptured): string;
|
|
1093
|
+
export declare function listPaymentResponseAmountCapturedFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseAmountCaptured, SDKValidationError>;
|
|
1094
|
+
/** @internal */
|
|
1095
|
+
export declare const ListPaymentResponseAmountChargedBack$inboundSchema: z.ZodType<ListPaymentResponseAmountChargedBack, z.ZodTypeDef, unknown>;
|
|
1096
|
+
/** @internal */
|
|
1097
|
+
export type ListPaymentResponseAmountChargedBack$Outbound = {
|
|
1098
|
+
currency: string;
|
|
1099
|
+
value: string;
|
|
1100
|
+
};
|
|
1101
|
+
/** @internal */
|
|
1102
|
+
export declare const ListPaymentResponseAmountChargedBack$outboundSchema: z.ZodType<ListPaymentResponseAmountChargedBack$Outbound, z.ZodTypeDef, ListPaymentResponseAmountChargedBack>;
|
|
1103
|
+
export declare function listPaymentResponseAmountChargedBackToJSON(listPaymentResponseAmountChargedBack: ListPaymentResponseAmountChargedBack): string;
|
|
1104
|
+
export declare function listPaymentResponseAmountChargedBackFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseAmountChargedBack, SDKValidationError>;
|
|
1105
|
+
/** @internal */
|
|
1106
|
+
export declare const ListPaymentResponseSettlementAmount$inboundSchema: z.ZodType<ListPaymentResponseSettlementAmount, z.ZodTypeDef, unknown>;
|
|
1107
|
+
/** @internal */
|
|
1108
|
+
export type ListPaymentResponseSettlementAmount$Outbound = {
|
|
1109
|
+
currency: string;
|
|
1110
|
+
value: string;
|
|
1111
|
+
};
|
|
1112
|
+
/** @internal */
|
|
1113
|
+
export declare const ListPaymentResponseSettlementAmount$outboundSchema: z.ZodType<ListPaymentResponseSettlementAmount$Outbound, z.ZodTypeDef, ListPaymentResponseSettlementAmount>;
|
|
1114
|
+
export declare function listPaymentResponseSettlementAmountToJSON(listPaymentResponseSettlementAmount: ListPaymentResponseSettlementAmount): string;
|
|
1115
|
+
export declare function listPaymentResponseSettlementAmountFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseSettlementAmount, SDKValidationError>;
|
|
1116
|
+
/** @internal */
|
|
1117
|
+
export declare const ListPaymentResponseLine$inboundSchema: z.ZodType<ListPaymentResponseLine, z.ZodTypeDef, unknown>;
|
|
1118
|
+
/** @internal */
|
|
1119
|
+
export type ListPaymentResponseLine$Outbound = {
|
|
1120
|
+
type?: string | undefined;
|
|
1121
|
+
description: string;
|
|
1122
|
+
quantity: number;
|
|
1123
|
+
quantityUnit?: string | undefined;
|
|
1124
|
+
unitPrice: Amount$Outbound;
|
|
1125
|
+
discountAmount?: Amount$Outbound | undefined;
|
|
1126
|
+
totalAmount: Amount$Outbound;
|
|
1127
|
+
vatRate?: string | undefined;
|
|
1128
|
+
vatAmount?: Amount$Outbound | undefined;
|
|
1129
|
+
sku?: string | undefined;
|
|
1130
|
+
categories?: Array<string> | undefined;
|
|
1131
|
+
imageUrl?: string | undefined;
|
|
1132
|
+
productUrl?: string | undefined;
|
|
1133
|
+
recurring?: RecurringLineItem$Outbound | undefined;
|
|
1134
|
+
};
|
|
1135
|
+
/** @internal */
|
|
1136
|
+
export declare const ListPaymentResponseLine$outboundSchema: z.ZodType<ListPaymentResponseLine$Outbound, z.ZodTypeDef, ListPaymentResponseLine>;
|
|
1137
|
+
export declare function listPaymentResponseLineToJSON(listPaymentResponseLine: ListPaymentResponseLine): string;
|
|
1138
|
+
export declare function listPaymentResponseLineFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseLine, SDKValidationError>;
|
|
1139
|
+
/** @internal */
|
|
1140
|
+
export declare const ListPaymentResponseBillingAddress$inboundSchema: z.ZodType<ListPaymentResponseBillingAddress, z.ZodTypeDef, unknown>;
|
|
1141
|
+
/** @internal */
|
|
1142
|
+
export type ListPaymentResponseBillingAddress$Outbound = {
|
|
1143
|
+
title?: string | undefined;
|
|
1144
|
+
givenName?: string | undefined;
|
|
1145
|
+
familyName?: string | undefined;
|
|
1146
|
+
organizationName?: any | undefined;
|
|
1147
|
+
streetAndNumber?: string | undefined;
|
|
1148
|
+
streetAdditional?: string | undefined;
|
|
1149
|
+
postalCode?: string | undefined;
|
|
1150
|
+
email?: string | undefined;
|
|
1151
|
+
phone?: string | undefined;
|
|
1152
|
+
city?: string | undefined;
|
|
1153
|
+
region?: string | undefined;
|
|
1154
|
+
country?: string | undefined;
|
|
1155
|
+
};
|
|
1156
|
+
/** @internal */
|
|
1157
|
+
export declare const ListPaymentResponseBillingAddress$outboundSchema: z.ZodType<ListPaymentResponseBillingAddress$Outbound, z.ZodTypeDef, ListPaymentResponseBillingAddress>;
|
|
1158
|
+
export declare function listPaymentResponseBillingAddressToJSON(listPaymentResponseBillingAddress: ListPaymentResponseBillingAddress): string;
|
|
1159
|
+
export declare function listPaymentResponseBillingAddressFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseBillingAddress, SDKValidationError>;
|
|
1160
|
+
/** @internal */
|
|
1161
|
+
export declare const ListPaymentResponseApplicationFee$inboundSchema: z.ZodType<ListPaymentResponseApplicationFee, z.ZodTypeDef, unknown>;
|
|
1162
|
+
/** @internal */
|
|
1163
|
+
export type ListPaymentResponseApplicationFee$Outbound = {
|
|
1164
|
+
amount?: Amount$Outbound | undefined;
|
|
1165
|
+
description?: string | undefined;
|
|
1166
|
+
};
|
|
1167
|
+
/** @internal */
|
|
1168
|
+
export declare const ListPaymentResponseApplicationFee$outboundSchema: z.ZodType<ListPaymentResponseApplicationFee$Outbound, z.ZodTypeDef, ListPaymentResponseApplicationFee>;
|
|
1169
|
+
export declare function listPaymentResponseApplicationFeeToJSON(listPaymentResponseApplicationFee: ListPaymentResponseApplicationFee): string;
|
|
1170
|
+
export declare function listPaymentResponseApplicationFeeFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseApplicationFee, SDKValidationError>;
|
|
1171
|
+
/** @internal */
|
|
1172
|
+
export declare const ListPaymentResponseStatus$inboundSchema: z.ZodType<ListPaymentResponseStatus, z.ZodTypeDef, unknown>;
|
|
1173
|
+
/** @internal */
|
|
1174
|
+
export declare const ListPaymentResponseStatus$outboundSchema: z.ZodType<string, z.ZodTypeDef, ListPaymentResponseStatus>;
|
|
1175
|
+
/** @internal */
|
|
1176
|
+
export declare const ListPaymentResponseReceipt$inboundSchema: z.ZodType<ListPaymentResponseReceipt, z.ZodTypeDef, unknown>;
|
|
1177
|
+
/** @internal */
|
|
1178
|
+
export type ListPaymentResponseReceipt$Outbound = {
|
|
1179
|
+
authorizationCode?: string | null | undefined;
|
|
1180
|
+
applicationIdentifier?: string | null | undefined;
|
|
1181
|
+
cardReadMethod?: string | null | undefined;
|
|
1182
|
+
cardVerificationMethod?: string | null | undefined;
|
|
1183
|
+
};
|
|
1184
|
+
/** @internal */
|
|
1185
|
+
export declare const ListPaymentResponseReceipt$outboundSchema: z.ZodType<ListPaymentResponseReceipt$Outbound, z.ZodTypeDef, ListPaymentResponseReceipt>;
|
|
1186
|
+
export declare function listPaymentResponseReceiptToJSON(listPaymentResponseReceipt: ListPaymentResponseReceipt): string;
|
|
1187
|
+
export declare function listPaymentResponseReceiptFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseReceipt, SDKValidationError>;
|
|
1188
|
+
/** @internal */
|
|
1189
|
+
export declare const ListPaymentResponseQrCode$inboundSchema: z.ZodType<ListPaymentResponseQrCode, z.ZodTypeDef, unknown>;
|
|
1190
|
+
/** @internal */
|
|
1191
|
+
export type ListPaymentResponseQrCode$Outbound = {
|
|
1192
|
+
height?: number | undefined;
|
|
1193
|
+
width?: number | undefined;
|
|
1194
|
+
src?: string | undefined;
|
|
1195
|
+
};
|
|
1196
|
+
/** @internal */
|
|
1197
|
+
export declare const ListPaymentResponseQrCode$outboundSchema: z.ZodType<ListPaymentResponseQrCode$Outbound, z.ZodTypeDef, ListPaymentResponseQrCode>;
|
|
1198
|
+
export declare function listPaymentResponseQrCodeToJSON(listPaymentResponseQrCode: ListPaymentResponseQrCode): string;
|
|
1199
|
+
export declare function listPaymentResponseQrCodeFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseQrCode, SDKValidationError>;
|
|
1200
|
+
/** @internal */
|
|
1201
|
+
export declare const ListPaymentResponseDetails$inboundSchema: z.ZodType<ListPaymentResponseDetails, z.ZodTypeDef, unknown>;
|
|
1202
|
+
/** @internal */
|
|
1203
|
+
export type ListPaymentResponseDetails$Outbound = {
|
|
1204
|
+
consumerName?: string | null | undefined;
|
|
1205
|
+
consumerAccount?: string | null | undefined;
|
|
1206
|
+
consumerBic?: string | null | undefined;
|
|
1207
|
+
shippingAddress?: {
|
|
1208
|
+
[k: string]: any;
|
|
1209
|
+
} | null | undefined;
|
|
1210
|
+
cardNumber?: string | null | undefined;
|
|
1211
|
+
bankName?: string | undefined;
|
|
1212
|
+
bankAccount?: string | undefined;
|
|
1213
|
+
bankBic?: string | undefined;
|
|
1214
|
+
transferReference?: string | null | undefined;
|
|
1215
|
+
cardFingerprint?: string | null | undefined;
|
|
1216
|
+
cardHolder?: string | null | undefined;
|
|
1217
|
+
cardAudition?: string | null | undefined;
|
|
1218
|
+
cardLabel?: string | null | undefined;
|
|
1219
|
+
cardCountryCode?: string | null | undefined;
|
|
1220
|
+
cardExpiryDate?: string | null | undefined;
|
|
1221
|
+
cardFunding?: string | null | undefined;
|
|
1222
|
+
cardSecurity?: string | null | undefined;
|
|
1223
|
+
feeRegion?: string | null | undefined;
|
|
1224
|
+
cardMaskedNumber?: string | null | undefined;
|
|
1225
|
+
card3dsEci?: string | null | undefined;
|
|
1226
|
+
cardBin?: string | null | undefined;
|
|
1227
|
+
cardIssuer?: string | null | undefined;
|
|
1228
|
+
failureReason?: string | null | undefined;
|
|
1229
|
+
failureMessage?: string | null | undefined;
|
|
1230
|
+
wallet?: string | null | undefined;
|
|
1231
|
+
paypalReference?: string | null | undefined;
|
|
1232
|
+
paypalPayerId?: string | null | undefined;
|
|
1233
|
+
sellerProtection?: string | null | undefined;
|
|
1234
|
+
paypalFee?: AmountNullable$Outbound | null | undefined;
|
|
1235
|
+
customerReference?: string | undefined;
|
|
1236
|
+
terminalId?: string | undefined;
|
|
1237
|
+
maskedNumber?: string | null | undefined;
|
|
1238
|
+
receipt?: ListPaymentResponseReceipt$Outbound | undefined;
|
|
1239
|
+
creditorIdentifier?: string | null | undefined;
|
|
1240
|
+
dueDate?: string | null | undefined;
|
|
1241
|
+
signatureDate?: string | null | undefined;
|
|
1242
|
+
bankReasonCode?: string | null | undefined;
|
|
1243
|
+
bankReason?: string | null | undefined;
|
|
1244
|
+
endToEndIdentifier?: string | null | undefined;
|
|
1245
|
+
mandateReference?: string | null | undefined;
|
|
1246
|
+
batchReference?: string | null | undefined;
|
|
1247
|
+
fileReference?: string | null | undefined;
|
|
1248
|
+
qrCode?: ListPaymentResponseQrCode$Outbound | undefined;
|
|
1249
|
+
voucherNumber?: string | undefined;
|
|
1250
|
+
giftcards?: Array<{
|
|
1251
|
+
[k: string]: any;
|
|
1252
|
+
}> | undefined;
|
|
1253
|
+
issuer?: string | undefined;
|
|
1254
|
+
vouchers?: Array<{
|
|
1255
|
+
[k: string]: any;
|
|
1256
|
+
}> | undefined;
|
|
1257
|
+
remainderAmount?: Amount$Outbound | undefined;
|
|
1258
|
+
remainderMethod?: string | undefined;
|
|
1259
|
+
remainderDetails?: {
|
|
1260
|
+
[k: string]: any;
|
|
1261
|
+
} | undefined;
|
|
1262
|
+
multibancoReference?: string | null | undefined;
|
|
1263
|
+
multibancoEntity?: string | null | undefined;
|
|
1264
|
+
};
|
|
1265
|
+
/** @internal */
|
|
1266
|
+
export declare const ListPaymentResponseDetails$outboundSchema: z.ZodType<ListPaymentResponseDetails$Outbound, z.ZodTypeDef, ListPaymentResponseDetails>;
|
|
1267
|
+
export declare function listPaymentResponseDetailsToJSON(listPaymentResponseDetails: ListPaymentResponseDetails): string;
|
|
1268
|
+
export declare function listPaymentResponseDetailsFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseDetails, SDKValidationError>;
|
|
1269
|
+
/** @internal */
|
|
1270
|
+
export declare const ListPaymentResponseLinks$inboundSchema: z.ZodType<ListPaymentResponseLinks, z.ZodTypeDef, unknown>;
|
|
1271
|
+
/** @internal */
|
|
1272
|
+
export type ListPaymentResponseLinks$Outbound = {
|
|
1273
|
+
self: Url$Outbound;
|
|
1274
|
+
checkout?: Url$Outbound | undefined;
|
|
1275
|
+
mobileAppCheckout?: Url$Outbound | undefined;
|
|
1276
|
+
changePaymentState?: Url$Outbound | undefined;
|
|
1277
|
+
dashboard: Url$Outbound;
|
|
1278
|
+
refunds?: Url$Outbound | undefined;
|
|
1279
|
+
chargebacks?: Url$Outbound | undefined;
|
|
1280
|
+
captures?: Url$Outbound | undefined;
|
|
1281
|
+
settlement?: Url$Outbound | undefined;
|
|
1282
|
+
customer?: Url$Outbound | undefined;
|
|
1283
|
+
mandate?: Url$Outbound | undefined;
|
|
1284
|
+
subscription?: Url$Outbound | undefined;
|
|
1285
|
+
order?: Url$Outbound | undefined;
|
|
1286
|
+
terminal?: Url$Outbound | undefined;
|
|
1287
|
+
status?: Url$Outbound | undefined;
|
|
1288
|
+
payOnline?: Url$Outbound | undefined;
|
|
1289
|
+
};
|
|
1290
|
+
/** @internal */
|
|
1291
|
+
export declare const ListPaymentResponseLinks$outboundSchema: z.ZodType<ListPaymentResponseLinks$Outbound, z.ZodTypeDef, ListPaymentResponseLinks>;
|
|
1292
|
+
export declare function listPaymentResponseLinksToJSON(listPaymentResponseLinks: ListPaymentResponseLinks): string;
|
|
1293
|
+
export declare function listPaymentResponseLinksFromJSON(jsonString: string): SafeParseResult<ListPaymentResponseLinks, SDKValidationError>;
|
|
1294
|
+
/** @internal */
|
|
1295
|
+
export declare const ListPaymentResponse$inboundSchema: z.ZodType<ListPaymentResponse, z.ZodTypeDef, unknown>;
|
|
1296
|
+
/** @internal */
|
|
1297
|
+
export type ListPaymentResponse$Outbound = {
|
|
1298
|
+
resource: string;
|
|
1299
|
+
id: string;
|
|
1300
|
+
mode: string;
|
|
1301
|
+
description: string;
|
|
1302
|
+
amount: Amount$Outbound;
|
|
1303
|
+
amountRefunded?: ListPaymentResponseAmountRefunded$Outbound | undefined;
|
|
1304
|
+
amountRemaining?: ListPaymentResponseAmountRemaining$Outbound | undefined;
|
|
1305
|
+
amountCaptured?: ListPaymentResponseAmountCaptured$Outbound | undefined;
|
|
1306
|
+
amountChargedBack?: ListPaymentResponseAmountChargedBack$Outbound | undefined;
|
|
1307
|
+
settlementAmount?: ListPaymentResponseSettlementAmount$Outbound | undefined;
|
|
1308
|
+
redirectUrl?: string | null | undefined;
|
|
1309
|
+
cancelUrl?: string | null | undefined;
|
|
1310
|
+
webhookUrl?: string | null | undefined;
|
|
1311
|
+
lines?: Array<ListPaymentResponseLine$Outbound> | null | undefined;
|
|
1312
|
+
billingAddress?: ListPaymentResponseBillingAddress$Outbound | undefined;
|
|
1313
|
+
shippingAddress?: PaymentAddress$Outbound | undefined;
|
|
1314
|
+
locale?: string | null | undefined;
|
|
1315
|
+
countryCode?: string | null | undefined;
|
|
1316
|
+
method?: string | null | undefined;
|
|
1317
|
+
restrictPaymentMethodsToCountry?: string | null | undefined;
|
|
1318
|
+
metadata?: Metadata$Outbound | null | undefined;
|
|
1319
|
+
captureMode?: string | null | undefined;
|
|
1320
|
+
captureDelay?: string | null | undefined;
|
|
1321
|
+
captureBefore?: string | null | undefined;
|
|
1322
|
+
applicationFee?: ListPaymentResponseApplicationFee$Outbound | null | undefined;
|
|
1323
|
+
routing?: Array<EntityPaymentRouteResponse$Outbound> | null | undefined;
|
|
1324
|
+
sequenceType: string;
|
|
1325
|
+
subscriptionId?: string | null | undefined;
|
|
1326
|
+
mandateId?: string | null | undefined;
|
|
1327
|
+
customerId?: string | undefined;
|
|
1328
|
+
profileId: string;
|
|
1329
|
+
settlementId?: string | null | undefined;
|
|
1330
|
+
orderId?: string | null | undefined;
|
|
1331
|
+
status: string;
|
|
1332
|
+
statusReason?: StatusReason$Outbound | null | undefined;
|
|
1333
|
+
isCancelable?: boolean | null | undefined;
|
|
1334
|
+
details?: ListPaymentResponseDetails$Outbound | null | undefined;
|
|
1335
|
+
createdAt: string;
|
|
1336
|
+
authorizedAt?: string | null | undefined;
|
|
1337
|
+
paidAt?: string | null | undefined;
|
|
1338
|
+
canceledAt?: string | null | undefined;
|
|
1339
|
+
expiresAt?: string | null | undefined;
|
|
1340
|
+
expiredAt?: string | null | undefined;
|
|
1341
|
+
failedAt?: string | null | undefined;
|
|
1342
|
+
_links: ListPaymentResponseLinks$Outbound;
|
|
1343
|
+
};
|
|
1344
|
+
/** @internal */
|
|
1345
|
+
export declare const ListPaymentResponse$outboundSchema: z.ZodType<ListPaymentResponse$Outbound, z.ZodTypeDef, ListPaymentResponse>;
|
|
1346
|
+
export declare function listPaymentResponseToJSON(listPaymentResponse: ListPaymentResponse): string;
|
|
1347
|
+
export declare function listPaymentResponseFromJSON(jsonString: string): SafeParseResult<ListPaymentResponse, SDKValidationError>;
|
|
1348
|
+
//# sourceMappingURL=listpaymentresponse.d.ts.map
|