mollie-api-typescript 0.1.2 → 0.1.3
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/FUNCTIONS.md +13 -0
- package/README.md +84 -0
- package/bin/mcp-server.js +5173 -1638
- package/bin/mcp-server.js.map +47 -46
- 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/operations/cancelpayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelpayment.js +755 -20
- package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts +1596 -20
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.js +819 -22
- package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpayment.d.ts +1596 -20
- package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpayment.js +810 -22
- package/dist/commonjs/models/operations/createpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpaymentlink.d.ts +2 -2
- package/dist/commonjs/models/operations/getnextsettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getnextsettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getnextsettlement.js +3 -586
- package/dist/commonjs/models/operations/getnextsettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getopensettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getopensettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getopensettlement.js +3 -586
- package/dist/commonjs/models/operations/getopensettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getpayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpayment.js +751 -20
- package/dist/commonjs/models/operations/getpayment.js.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlink.d.ts +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +1466 -27
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +771 -32
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/commonjs/models/operations/getsettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getsettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getsettlement.js +3 -579
- package/dist/commonjs/models/operations/getsettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getwebhookevent.d.ts +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.js +8 -14
- package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.d.ts +15 -15
- package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.js +19 -18
- package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.js +8 -12
- package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts +8 -8
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.js +8 -13
- package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listbalances.d.ts +8 -8
- package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalances.js +8 -12
- package/dist/commonjs/models/operations/listbalances.js.map +1 -1
- package/dist/commonjs/models/operations/listbalancetransactions.d.ts +8 -8
- package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalancetransactions.js +8 -10
- package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.d.ts +8 -8
- package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.js +8 -12
- package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.js +8 -12
- package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listclients.d.ts +8 -8
- package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclients.js +8 -12
- package/dist/commonjs/models/operations/listclients.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.js +776 -42
- package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.d.ts +8 -8
- package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.js +8 -12
- package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.d.ts +8 -8
- package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.js +8 -12
- package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listmandates.d.ts +8 -8
- package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmandates.js +8 -12
- package/dist/commonjs/models/operations/listmandates.js.map +1 -1
- package/dist/commonjs/models/operations/listpaymentlinks.d.ts +9 -9
- package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpaymentlinks.js +8 -13
- package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
- package/dist/commonjs/models/operations/listpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayments.js +768 -39
- package/dist/commonjs/models/operations/listpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.d.ts +8 -8
- package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.js +8 -12
- package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.js +8 -12
- package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts +8 -8
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.js +8 -14
- package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.js +8 -11
- package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.js +8 -10
- package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.js +777 -40
- package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.js +8 -12
- package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.d.ts +14 -854
- package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.js +11 -596
- package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +777 -39
- package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.d.ts +8 -8
- package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.js +8 -14
- package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listterminals.d.ts +8 -8
- package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listterminals.js +8 -12
- package/dist/commonjs/models/operations/listterminals.js.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.d.ts +8 -8
- package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.js +8 -12
- package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.js +755 -21
- package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
- package/dist/commonjs/models/operations/updatepaymentlink.d.ts +2 -2
- 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/operations/cancelpayment.d.ts +1458 -19
- package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelpayment.js +735 -16
- package/dist/esm/models/operations/cancelpayment.js.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.d.ts +1596 -20
- package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.js +796 -16
- package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/esm/models/operations/createpayment.d.ts +1596 -20
- package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createpayment.js +787 -16
- package/dist/esm/models/operations/createpayment.js.map +1 -1
- package/dist/esm/models/operations/createpaymentlink.d.ts +2 -2
- package/dist/esm/models/operations/getnextsettlement.d.ts +6 -846
- package/dist/esm/models/operations/getnextsettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getnextsettlement.js +2 -556
- package/dist/esm/models/operations/getnextsettlement.js.map +1 -1
- package/dist/esm/models/operations/getopensettlement.d.ts +6 -846
- package/dist/esm/models/operations/getopensettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getopensettlement.js +2 -556
- package/dist/esm/models/operations/getopensettlement.js.map +1 -1
- package/dist/esm/models/operations/getpayment.d.ts +1458 -19
- package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/getpayment.js +731 -16
- package/dist/esm/models/operations/getpayment.js.map +1 -1
- package/dist/esm/models/operations/getpaymentlink.d.ts +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +1466 -27
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.js +751 -27
- package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/esm/models/operations/getsettlement.d.ts +6 -846
- package/dist/esm/models/operations/getsettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getsettlement.js +2 -549
- package/dist/esm/models/operations/getsettlement.js.map +1 -1
- package/dist/esm/models/operations/getwebhookevent.d.ts +1 -1
- package/dist/esm/models/operations/listallchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listallchargebacks.js +8 -14
- package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listallmethods.d.ts +15 -15
- package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listallmethods.js +16 -15
- package/dist/esm/models/operations/listallmethods.js.map +1 -1
- package/dist/esm/models/operations/listallrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listallrefunds.js +8 -12
- package/dist/esm/models/operations/listallrefunds.js.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.d.ts +8 -8
- package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.js +8 -13
- package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listbalances.d.ts +8 -8
- package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalances.js +8 -12
- package/dist/esm/models/operations/listbalances.js.map +1 -1
- package/dist/esm/models/operations/listbalancetransactions.d.ts +8 -8
- package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalancetransactions.js +8 -10
- package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
- package/dist/esm/models/operations/listcaptures.d.ts +8 -8
- package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listcaptures.js +8 -12
- package/dist/esm/models/operations/listcaptures.js.map +1 -1
- package/dist/esm/models/operations/listchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listchargebacks.js +8 -12
- package/dist/esm/models/operations/listchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listclients.d.ts +8 -8
- package/dist/esm/models/operations/listclients.d.ts.map +1 -1
- package/dist/esm/models/operations/listclients.js +8 -12
- package/dist/esm/models/operations/listclients.js.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.js +756 -37
- package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/esm/models/operations/listcustomers.d.ts +8 -8
- package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomers.js +8 -12
- package/dist/esm/models/operations/listcustomers.js.map +1 -1
- package/dist/esm/models/operations/listinvoices.d.ts +8 -8
- package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listinvoices.js +8 -12
- package/dist/esm/models/operations/listinvoices.js.map +1 -1
- package/dist/esm/models/operations/listmandates.d.ts +8 -8
- package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
- package/dist/esm/models/operations/listmandates.js +8 -12
- package/dist/esm/models/operations/listmandates.js.map +1 -1
- package/dist/esm/models/operations/listpaymentlinks.d.ts +9 -9
- package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/dist/esm/models/operations/listpaymentlinks.js +8 -13
- package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
- package/dist/esm/models/operations/listpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayments.js +748 -34
- package/dist/esm/models/operations/listpayments.js.map +1 -1
- package/dist/esm/models/operations/listprofiles.d.ts +8 -8
- package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/esm/models/operations/listprofiles.js +8 -12
- package/dist/esm/models/operations/listprofiles.js.map +1 -1
- package/dist/esm/models/operations/listrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listrefunds.js +8 -12
- package/dist/esm/models/operations/listrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.d.ts +8 -8
- package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.js +8 -14
- package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.js +8 -11
- package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.js +8 -10
- package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.js +757 -35
- package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.js +8 -12
- package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsettlements.d.ts +14 -854
- package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlements.js +10 -566
- package/dist/esm/models/operations/listsettlements.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.js +757 -34
- package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.d.ts +8 -8
- package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.js +8 -14
- package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listterminals.d.ts +8 -8
- package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
- package/dist/esm/models/operations/listterminals.js +8 -12
- package/dist/esm/models/operations/listterminals.js.map +1 -1
- package/dist/esm/models/operations/listwebhooks.d.ts +8 -8
- package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/esm/models/operations/listwebhooks.js +8 -12
- package/dist/esm/models/operations/listwebhooks.js.map +1 -1
- package/dist/esm/models/operations/updatepayment.d.ts +1458 -19
- package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/esm/models/operations/updatepayment.js +735 -16
- package/dist/esm/models/operations/updatepayment.js.map +1 -1
- package/dist/esm/models/operations/updatepaymentlink.d.ts +2 -2
- package/docs/sdks/customers/README.md +26 -0
- package/docs/sdks/payments/README.md +26 -0
- package/examples/package-lock.json +1 -1
- package/examples/paymentsCreate.example.ts +14 -0
- 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/operations/cancelpayment.ts +2821 -1297
- package/src/models/operations/createcustomerpayment.ts +4804 -3036
- package/src/models/operations/createpayment.ts +4484 -2767
- package/src/models/operations/createpaymentlink.ts +2 -2
- package/src/models/operations/getnextsettlement.ts +4 -1290
- package/src/models/operations/getopensettlement.ts +4 -1290
- package/src/models/operations/getpayment.ts +3155 -1650
- package/src/models/operations/getpaymentlink.ts +1 -1
- package/src/models/operations/getpaymentlinkpayments.ts +3426 -1847
- package/src/models/operations/getsettlement.ts +4 -1253
- package/src/models/operations/getwebhookevent.ts +1 -1
- package/src/models/operations/listallchargebacks.ts +16 -22
- package/src/models/operations/listallmethods.ts +27 -34
- package/src/models/operations/listallrefunds.ts +16 -20
- package/src/models/operations/listallsubscriptions.ts +18 -21
- package/src/models/operations/listbalances.ts +16 -20
- package/src/models/operations/listbalancetransactions.ts +16 -18
- package/src/models/operations/listcaptures.ts +16 -20
- package/src/models/operations/listchargebacks.ts +16 -20
- package/src/models/operations/listclients.ts +16 -20
- package/src/models/operations/listcustomerpayments.ts +3408 -1847
- package/src/models/operations/listcustomers.ts +16 -20
- package/src/models/operations/listinvoices.ts +16 -20
- package/src/models/operations/listmandates.ts +16 -20
- package/src/models/operations/listpaymentlinks.ts +17 -22
- package/src/models/operations/listpayments.ts +2971 -1455
- package/src/models/operations/listprofiles.ts +16 -20
- package/src/models/operations/listrefunds.ts +16 -20
- package/src/models/operations/listsalesinvoices.ts +16 -22
- package/src/models/operations/listsettlementcaptures.ts +18 -19
- package/src/models/operations/listsettlementchargebacks.ts +16 -18
- package/src/models/operations/listsettlementpayments.ts +3436 -1859
- package/src/models/operations/listsettlementrefunds.ts +18 -20
- package/src/models/operations/listsettlements.ts +228 -1500
- package/src/models/operations/listsubscriptionpayments.ts +3479 -1875
- package/src/models/operations/listsubscriptions.ts +16 -22
- package/src/models/operations/listterminals.ts +16 -20
- package/src/models/operations/listwebhooks.ts +16 -20
- package/src/models/operations/updatepayment.ts +3437 -1913
- package/src/models/operations/updatepaymentlink.ts +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { RFCDate } from "../../types/rfcdate.js";
|
|
4
5
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
6
|
/**
|
|
6
7
|
* This endpoint allows you to include additional information via the `include` query string parameter.
|
|
@@ -272,7 +273,7 @@ export type CreatePaymentLineRequest = {
|
|
|
272
273
|
* An array with the voucher categories, in case of a line eligible for a voucher. See the
|
|
273
274
|
*
|
|
274
275
|
* @remarks
|
|
275
|
-
* [Integrating Vouchers](integrating-vouchers) guide for more information.
|
|
276
|
+
* [Integrating Vouchers](https://docs.mollie.com/docs/integrating-vouchers/) guide for more information.
|
|
276
277
|
*/
|
|
277
278
|
categories?: Array<CreatePaymentCategoryRequest> | undefined;
|
|
278
279
|
/**
|
|
@@ -811,6 +812,27 @@ export declare const CreatePaymentSequenceTypeRequest: {
|
|
|
811
812
|
* are set up correctly for recurring payments.
|
|
812
813
|
*/
|
|
813
814
|
export type CreatePaymentSequenceTypeRequest = ClosedEnum<typeof CreatePaymentSequenceTypeRequest>;
|
|
815
|
+
/**
|
|
816
|
+
* Billie is a business-to-business (B2B) payment method. It requires extra information to identify the organization
|
|
817
|
+
*
|
|
818
|
+
* @remarks
|
|
819
|
+
* that is completing the payment. It is recommended to include these parameters up front for a seamless flow.
|
|
820
|
+
* Otherwise, Billie will ask the customer to complete the missing fields during checkout.
|
|
821
|
+
*/
|
|
822
|
+
export type CreatePaymentCompany = {
|
|
823
|
+
/**
|
|
824
|
+
* The organization's registration number.
|
|
825
|
+
*/
|
|
826
|
+
registrationNumber?: string | undefined;
|
|
827
|
+
/**
|
|
828
|
+
* The organization's VAT number.
|
|
829
|
+
*/
|
|
830
|
+
vatNumber?: string | undefined;
|
|
831
|
+
/**
|
|
832
|
+
* The organization's entity type.
|
|
833
|
+
*/
|
|
834
|
+
entityType?: string | undefined;
|
|
835
|
+
};
|
|
814
836
|
export type CreatePaymentRequestBody = {
|
|
815
837
|
/**
|
|
816
838
|
* The description of the payment. This will be shown to your customer on their card or bank statement when possible.
|
|
@@ -1099,6 +1121,85 @@ export type CreatePaymentRequestBody = {
|
|
|
1099
1121
|
* `testmode` to `true`.
|
|
1100
1122
|
*/
|
|
1101
1123
|
testmode?: boolean | null | undefined;
|
|
1124
|
+
/**
|
|
1125
|
+
* The Apple Pay Payment token object (encoded as JSON) that is part of the result of authorizing a payment request.
|
|
1126
|
+
*
|
|
1127
|
+
* @remarks
|
|
1128
|
+
* The token contains the payment information needed to authorize the payment.
|
|
1129
|
+
*
|
|
1130
|
+
* The object should be passed encoded in a JSON string.
|
|
1131
|
+
*/
|
|
1132
|
+
applePayPaymentToken?: string | undefined;
|
|
1133
|
+
/**
|
|
1134
|
+
* Billie is a business-to-business (B2B) payment method. It requires extra information to identify the organization
|
|
1135
|
+
*
|
|
1136
|
+
* @remarks
|
|
1137
|
+
* that is completing the payment. It is recommended to include these parameters up front for a seamless flow.
|
|
1138
|
+
* Otherwise, Billie will ask the customer to complete the missing fields during checkout.
|
|
1139
|
+
*/
|
|
1140
|
+
company?: CreatePaymentCompany | undefined;
|
|
1141
|
+
/**
|
|
1142
|
+
* When creating credit card payments using Mollie Components, you need to provide the card token you received from
|
|
1143
|
+
*
|
|
1144
|
+
* @remarks
|
|
1145
|
+
* the card component in this field. The token represents the customer's card information needed to complete the
|
|
1146
|
+
* payment. Note: field only valid for oneoff and first payments. For recurring payments, the customerId alone is
|
|
1147
|
+
* enough.
|
|
1148
|
+
*/
|
|
1149
|
+
cardToken?: string | undefined;
|
|
1150
|
+
/**
|
|
1151
|
+
* The card token you received from the card component of Mollie Components. The token represents the customer's card
|
|
1152
|
+
*
|
|
1153
|
+
* @remarks
|
|
1154
|
+
* information needed to complete the payment.
|
|
1155
|
+
*/
|
|
1156
|
+
voucherNumber?: string | undefined;
|
|
1157
|
+
/**
|
|
1158
|
+
* The PIN on the gift card. You can supply this to prefill the PIN, if the card has any.
|
|
1159
|
+
*/
|
|
1160
|
+
voucherPin?: string | undefined;
|
|
1161
|
+
/**
|
|
1162
|
+
* The customer's date of birth. If not provided via the API, iDeal in3 will ask the customer to provide it during
|
|
1163
|
+
*
|
|
1164
|
+
* @remarks
|
|
1165
|
+
* the payment process.
|
|
1166
|
+
*/
|
|
1167
|
+
consumerDateOfBirth?: RFCDate | undefined;
|
|
1168
|
+
/**
|
|
1169
|
+
* For some industries, additional purchase information can be sent to Klarna to increase the authorization rate.
|
|
1170
|
+
*
|
|
1171
|
+
* @remarks
|
|
1172
|
+
* You can submit your extra data in this field if you have agreed upon this with Klarna. This field should be an
|
|
1173
|
+
* object containing any of the allowed keys and sub-objects described at the Klarna Developer Documentation.
|
|
1174
|
+
*/
|
|
1175
|
+
extraMerchantData?: {
|
|
1176
|
+
[k: string]: any;
|
|
1177
|
+
} | undefined;
|
|
1178
|
+
/**
|
|
1179
|
+
* The unique ID you have used for the PayPal fraud library. You should include this if you use PayPal for an
|
|
1180
|
+
*
|
|
1181
|
+
* @remarks
|
|
1182
|
+
* on-demand payment.
|
|
1183
|
+
*/
|
|
1184
|
+
sessionId?: string | undefined;
|
|
1185
|
+
/**
|
|
1186
|
+
* Indicate if you are about to deliver digital goods, such as for example a software license. Setting this parameter
|
|
1187
|
+
*
|
|
1188
|
+
* @remarks
|
|
1189
|
+
* can have consequences for your PayPal Seller Protection. Refer to PayPal's documentation for more information.
|
|
1190
|
+
*/
|
|
1191
|
+
digitalGoods?: boolean | undefined;
|
|
1192
|
+
/**
|
|
1193
|
+
* Used by paysafecard for customer identification across payments. When you generate a customer reference yourself,
|
|
1194
|
+
*
|
|
1195
|
+
* @remarks
|
|
1196
|
+
* make sure not to put personal identifiable information or IP addresses in the customer reference directly.
|
|
1197
|
+
*/
|
|
1198
|
+
customerReference?: string | undefined;
|
|
1199
|
+
/**
|
|
1200
|
+
* The ID of the terminal device where you want to initiate the payment on.
|
|
1201
|
+
*/
|
|
1202
|
+
terminalId?: string | undefined;
|
|
1102
1203
|
};
|
|
1103
1204
|
export type CreatePaymentRequest = {
|
|
1104
1205
|
/**
|
|
@@ -1485,7 +1586,7 @@ export type CreatePaymentLineResponse = {
|
|
|
1485
1586
|
* An array with the voucher categories, in case of a line eligible for a voucher. See the
|
|
1486
1587
|
*
|
|
1487
1588
|
* @remarks
|
|
1488
|
-
* [Integrating Vouchers](integrating-vouchers) guide for more information.
|
|
1589
|
+
* [Integrating Vouchers](https://docs.mollie.com/docs/integrating-vouchers/) guide for more information.
|
|
1489
1590
|
*/
|
|
1490
1591
|
categories?: Array<CreatePaymentCategoryResponse> | undefined;
|
|
1491
1592
|
/**
|
|
@@ -2050,7 +2151,7 @@ export type CreatePaymentSequenceTypeResponse = ClosedEnum<typeof CreatePaymentS
|
|
|
2050
2151
|
* @remarks
|
|
2051
2152
|
* statuses occur at what point.
|
|
2052
2153
|
*/
|
|
2053
|
-
export declare const
|
|
2154
|
+
export declare const CreatePaymentStatusEnum: {
|
|
2054
2155
|
readonly Open: "open";
|
|
2055
2156
|
readonly Pending: "pending";
|
|
2056
2157
|
readonly Authorized: "authorized";
|
|
@@ -2065,7 +2166,132 @@ export declare const CreatePaymentStatus: {
|
|
|
2065
2166
|
* @remarks
|
|
2066
2167
|
* statuses occur at what point.
|
|
2067
2168
|
*/
|
|
2068
|
-
export type
|
|
2169
|
+
export type CreatePaymentStatusEnum = ClosedEnum<typeof CreatePaymentStatusEnum>;
|
|
2170
|
+
/**
|
|
2171
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
2172
|
+
*/
|
|
2173
|
+
export declare const CreatePaymentCode: {
|
|
2174
|
+
readonly ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully";
|
|
2175
|
+
readonly ReferToCardIssuer: "refer_to_card_issuer";
|
|
2176
|
+
readonly InvalidMerchant: "invalid_merchant";
|
|
2177
|
+
readonly CaptureCard: "capture_card";
|
|
2178
|
+
readonly DoNotHonor: "do_not_honor";
|
|
2179
|
+
readonly Error: "error";
|
|
2180
|
+
readonly PartialApproval: "partial_approval";
|
|
2181
|
+
readonly InvalidTransaction: "invalid_transaction";
|
|
2182
|
+
readonly InvalidAmount: "invalid_amount";
|
|
2183
|
+
readonly InvalidIssuer: "invalid_issuer";
|
|
2184
|
+
readonly LostCard: "lost_card";
|
|
2185
|
+
readonly StolenCard: "stolen_card";
|
|
2186
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
2187
|
+
readonly ExpiredCard: "expired_card";
|
|
2188
|
+
readonly InvalidPin: "invalid_pin";
|
|
2189
|
+
readonly TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder";
|
|
2190
|
+
readonly TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal";
|
|
2191
|
+
readonly ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit";
|
|
2192
|
+
readonly RestrictedCard: "restricted_card";
|
|
2193
|
+
readonly SecurityViolation: "security_violation";
|
|
2194
|
+
readonly ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit";
|
|
2195
|
+
readonly AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded";
|
|
2196
|
+
readonly NoReasonToDecline: "no_reason_to_decline";
|
|
2197
|
+
readonly CannotVerifyPin: "cannot_verify_pin";
|
|
2198
|
+
readonly IssuerUnavailable: "issuer_unavailable";
|
|
2199
|
+
readonly UnableToRouteTransaction: "unable_to_route_transaction";
|
|
2200
|
+
readonly DuplicateTransaction: "duplicate_transaction";
|
|
2201
|
+
readonly SystemMalfunction: "system_malfunction";
|
|
2202
|
+
readonly HonorWithId: "honor_with_id";
|
|
2203
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
2204
|
+
readonly FormatError: "format_error";
|
|
2205
|
+
readonly ContactCardIssuer: "contact_card_issuer";
|
|
2206
|
+
readonly PinNotChanged: "pin_not_changed";
|
|
2207
|
+
readonly InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified";
|
|
2208
|
+
readonly InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified";
|
|
2209
|
+
readonly InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified";
|
|
2210
|
+
readonly LifecycleRelated: "lifecycle_related";
|
|
2211
|
+
readonly DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed";
|
|
2212
|
+
readonly PolicyRelated: "policy_related";
|
|
2213
|
+
readonly FraudSecurityRelated: "fraud_security_related";
|
|
2214
|
+
readonly InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle";
|
|
2215
|
+
readonly PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed";
|
|
2216
|
+
readonly CryptographicFailure: "cryptographic_failure";
|
|
2217
|
+
readonly UnacceptablePin: "unacceptable_pin";
|
|
2218
|
+
readonly ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition";
|
|
2219
|
+
readonly PickUpCardSpecialCondition: "pick_up_card_special_condition";
|
|
2220
|
+
readonly VipApproval: "vip_approval";
|
|
2221
|
+
readonly InvalidAccountNumber: "invalid_account_number";
|
|
2222
|
+
readonly ReEnterTransaction: "re_enter_transaction";
|
|
2223
|
+
readonly NoActionTaken: "no_action_taken";
|
|
2224
|
+
readonly UnableToLocateRecord: "unable_to_locate_record";
|
|
2225
|
+
readonly FileTemporarilyUnavailable: "file_temporarily_unavailable";
|
|
2226
|
+
readonly NoCreditAccount: "no_credit_account";
|
|
2227
|
+
readonly ClosedAccount: "closed_account";
|
|
2228
|
+
readonly NoCheckingAccount: "no_checking_account";
|
|
2229
|
+
readonly NoSavingsAccount: "no_savings_account";
|
|
2230
|
+
readonly SuspectedFraud: "suspected_fraud";
|
|
2231
|
+
readonly TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement";
|
|
2232
|
+
readonly PinDataRequired: "pin_data_required";
|
|
2233
|
+
readonly UnableToLocatePreviousMessage: "unable_to_locate_previous_message";
|
|
2234
|
+
readonly PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data";
|
|
2235
|
+
readonly BlockedFirstUsed: "blocked_first_used";
|
|
2236
|
+
readonly TransactionReversed: "transaction_reversed";
|
|
2237
|
+
readonly CreditIssuerUnavailable: "credit_issuer_unavailable";
|
|
2238
|
+
readonly PinCryptographicErrorFound: "pin_cryptographic_error_found";
|
|
2239
|
+
readonly NegativeOnlineCamResult: "negative_online_cam_result";
|
|
2240
|
+
readonly ViolationOfLaw: "violation_of_law";
|
|
2241
|
+
readonly ForceStip: "force_stip";
|
|
2242
|
+
readonly CashServiceNotAvailable: "cash_service_not_available";
|
|
2243
|
+
readonly CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit";
|
|
2244
|
+
readonly DeclineForCvv2Failure: "decline_for_cvv2_failure";
|
|
2245
|
+
readonly TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount";
|
|
2246
|
+
readonly InvalidBillerInformation: "invalid_biller_information";
|
|
2247
|
+
readonly PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined";
|
|
2248
|
+
readonly UnsafePin: "unsafe_pin";
|
|
2249
|
+
readonly CardAuthenticationFailed: "card_authentication_failed";
|
|
2250
|
+
readonly StopPaymentOrder: "stop_payment_order";
|
|
2251
|
+
readonly RevocationOfAuthorization: "revocation_of_authorization";
|
|
2252
|
+
readonly RevocationOfAllAuthorizations: "revocation_of_all_authorizations";
|
|
2253
|
+
readonly ForwardToIssuerXa: "forward_to_issuer_xa";
|
|
2254
|
+
readonly ForwardToIssuerXd: "forward_to_issuer_xd";
|
|
2255
|
+
readonly UnableToGoOnline: "unable_to_go_online";
|
|
2256
|
+
readonly AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required";
|
|
2257
|
+
readonly MerchantIdNotFound: "merchant_id_not_found";
|
|
2258
|
+
readonly MerchantAccountClosed: "merchant_account_closed";
|
|
2259
|
+
readonly TerminalIdNotFound: "terminal_id_not_found";
|
|
2260
|
+
readonly TerminalClosed: "terminal_closed";
|
|
2261
|
+
readonly InvalidCategoryCode: "invalid_category_code";
|
|
2262
|
+
readonly InvalidCurrency: "invalid_currency";
|
|
2263
|
+
readonly MissingCvv2Cvc2: "missing_cvv2_cvc2";
|
|
2264
|
+
readonly Cvv2NotAllowed: "cvv2_not_allowed";
|
|
2265
|
+
readonly MerchantNotRegisteredVbv: "merchant_not_registered_vbv";
|
|
2266
|
+
readonly MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex";
|
|
2267
|
+
readonly TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal";
|
|
2268
|
+
readonly AgreementTerminalNotRelated: "agreement_terminal_not_related";
|
|
2269
|
+
readonly InvalidProcessorId: "invalid_processor_id";
|
|
2270
|
+
readonly InvalidMerchantData: "invalid_merchant_data";
|
|
2271
|
+
readonly SubMerchantAccountClosed: "sub_merchant_account_closed";
|
|
2272
|
+
readonly TerminalBusy: "terminal_busy";
|
|
2273
|
+
readonly TerminalUnreachable: "terminal_unreachable";
|
|
2274
|
+
readonly ServiceFailed: "service_failed";
|
|
2275
|
+
readonly InvalidOperation: "invalid_operation";
|
|
2276
|
+
readonly AuthorizationError: "authorization_error";
|
|
2277
|
+
readonly LoginFailedWithoutReason: "login_failed_without_reason";
|
|
2278
|
+
readonly InvalidRetailer: "invalid_retailer";
|
|
2279
|
+
readonly CardDoesNotExist: "card_does_not_exist";
|
|
2280
|
+
readonly CardIsBlocked: "card_is_blocked";
|
|
2281
|
+
readonly InvalidCardId: "invalid_card_id";
|
|
2282
|
+
readonly CardIsTransferred: "card_is_transferred";
|
|
2283
|
+
readonly CardIsNotActive: "card_is_not_active";
|
|
2284
|
+
readonly IncorrectPurchaseValue: "incorrect_purchase_value";
|
|
2285
|
+
readonly CardNotAvailable: "card_not_available";
|
|
2286
|
+
readonly WrongCurrency: "wrong_currency";
|
|
2287
|
+
readonly LoginFailedUnknownUser: "login_failed_unknown_user";
|
|
2288
|
+
readonly LoginFailedInvalidPassword: "login_failed_invalid_password";
|
|
2289
|
+
readonly InvalidEanCode: "invalid_ean_code";
|
|
2290
|
+
};
|
|
2291
|
+
/**
|
|
2292
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
2293
|
+
*/
|
|
2294
|
+
export type CreatePaymentCode = ClosedEnum<typeof CreatePaymentCode>;
|
|
2069
2295
|
/**
|
|
2070
2296
|
* This object offers details about the status of a payment. Currently it is only available for point-of-sale
|
|
2071
2297
|
*
|
|
@@ -2076,14 +2302,517 @@ export type CreatePaymentStatus = ClosedEnum<typeof CreatePaymentStatus>;
|
|
|
2076
2302
|
* [this page](status-reasons).**
|
|
2077
2303
|
*/
|
|
2078
2304
|
export type CreatePaymentStatusReason = {
|
|
2305
|
+
code: CreatePaymentCode;
|
|
2306
|
+
/**
|
|
2307
|
+
* A description of the status reason, localized according to the payment `locale`.
|
|
2308
|
+
*/
|
|
2309
|
+
message: string;
|
|
2310
|
+
};
|
|
2311
|
+
/**
|
|
2312
|
+
* The card's target audience, if known.
|
|
2313
|
+
*/
|
|
2314
|
+
export declare const CreatePaymentCardAudition: {
|
|
2315
|
+
readonly Consumer: "consumer";
|
|
2316
|
+
readonly Business: "business";
|
|
2317
|
+
};
|
|
2318
|
+
/**
|
|
2319
|
+
* The card's target audience, if known.
|
|
2320
|
+
*/
|
|
2321
|
+
export type CreatePaymentCardAudition = ClosedEnum<typeof CreatePaymentCardAudition>;
|
|
2322
|
+
/**
|
|
2323
|
+
* The card's label, if known.
|
|
2324
|
+
*/
|
|
2325
|
+
export declare const CreatePaymentCardLabel: {
|
|
2326
|
+
readonly AmericanExpress: "American Express";
|
|
2327
|
+
readonly CartaSi: "Carta Si";
|
|
2328
|
+
readonly CarteBleue: "Carte Bleue";
|
|
2329
|
+
readonly Dankort: "Dankort";
|
|
2330
|
+
readonly DinersClub: "Diners Club";
|
|
2331
|
+
readonly Discover: "Discover";
|
|
2332
|
+
readonly Jcb: "JCB";
|
|
2333
|
+
readonly Laser: "Laser";
|
|
2334
|
+
readonly Maestro: "Maestro";
|
|
2335
|
+
readonly Mastercard: "Mastercard";
|
|
2336
|
+
readonly Unionpay: "Unionpay";
|
|
2337
|
+
readonly Visa: "Visa";
|
|
2338
|
+
readonly Vpay: "Vpay";
|
|
2339
|
+
};
|
|
2340
|
+
/**
|
|
2341
|
+
* The card's label, if known.
|
|
2342
|
+
*/
|
|
2343
|
+
export type CreatePaymentCardLabel = ClosedEnum<typeof CreatePaymentCardLabel>;
|
|
2344
|
+
/**
|
|
2345
|
+
* The card type.
|
|
2346
|
+
*/
|
|
2347
|
+
export declare const CreatePaymentCardFunding: {
|
|
2348
|
+
readonly Debit: "debit";
|
|
2349
|
+
readonly Credit: "credit";
|
|
2350
|
+
readonly Prepaid: "prepaid";
|
|
2351
|
+
readonly DeferredDebit: "deferred-debit";
|
|
2352
|
+
};
|
|
2353
|
+
/**
|
|
2354
|
+
* The card type.
|
|
2355
|
+
*/
|
|
2356
|
+
export type CreatePaymentCardFunding = ClosedEnum<typeof CreatePaymentCardFunding>;
|
|
2357
|
+
/**
|
|
2358
|
+
* The level of security applied during card processing.
|
|
2359
|
+
*/
|
|
2360
|
+
export declare const CreatePaymentCardSecurity: {
|
|
2361
|
+
readonly Normal: "normal";
|
|
2362
|
+
readonly Threedsecure: "3dsecure";
|
|
2363
|
+
};
|
|
2364
|
+
/**
|
|
2365
|
+
* The level of security applied during card processing.
|
|
2366
|
+
*/
|
|
2367
|
+
export type CreatePaymentCardSecurity = ClosedEnum<typeof CreatePaymentCardSecurity>;
|
|
2368
|
+
/**
|
|
2369
|
+
* The applicable card fee region.
|
|
2370
|
+
*/
|
|
2371
|
+
export declare const CreatePaymentFeeRegion: {
|
|
2372
|
+
readonly AmericanExpress: "american-express";
|
|
2373
|
+
readonly AmexIntraEea: "amex-intra-eea";
|
|
2374
|
+
readonly CarteBancaire: "carte-bancaire";
|
|
2375
|
+
readonly IntraEu: "intra-eu";
|
|
2376
|
+
readonly IntraEuCorporate: "intra-eu-corporate";
|
|
2377
|
+
readonly Domestic: "domestic";
|
|
2378
|
+
readonly Maestro: "maestro";
|
|
2379
|
+
readonly Other: "other";
|
|
2380
|
+
readonly Inter: "inter";
|
|
2381
|
+
readonly IntraEea: "intra-eea";
|
|
2382
|
+
};
|
|
2383
|
+
/**
|
|
2384
|
+
* The applicable card fee region.
|
|
2385
|
+
*/
|
|
2386
|
+
export type CreatePaymentFeeRegion = ClosedEnum<typeof CreatePaymentFeeRegion>;
|
|
2387
|
+
/**
|
|
2388
|
+
* A failure code to help understand why the payment failed.
|
|
2389
|
+
*/
|
|
2390
|
+
export declare const CreatePaymentFailureReason: {
|
|
2391
|
+
readonly AuthenticationAbandoned: "authentication_abandoned";
|
|
2392
|
+
readonly AuthenticationFailed: "authentication_failed";
|
|
2393
|
+
readonly AuthenticationRequired: "authentication_required";
|
|
2394
|
+
readonly AuthenticationUnavailableAcs: "authentication_unavailable_acs";
|
|
2395
|
+
readonly CardDeclined: "card_declined";
|
|
2396
|
+
readonly CardExpired: "card_expired";
|
|
2397
|
+
readonly InactiveCard: "inactive_card";
|
|
2398
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
2399
|
+
readonly InvalidCvv: "invalid_cvv";
|
|
2400
|
+
readonly InvalidCardHolderName: "invalid_card_holder_name";
|
|
2401
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
2402
|
+
readonly InvalidCardType: "invalid_card_type";
|
|
2403
|
+
readonly PossibleFraud: "possible_fraud";
|
|
2404
|
+
readonly RefusedByIssuer: "refused_by_issuer";
|
|
2405
|
+
readonly UnknownReason: "unknown_reason";
|
|
2406
|
+
};
|
|
2407
|
+
/**
|
|
2408
|
+
* A failure code to help understand why the payment failed.
|
|
2409
|
+
*/
|
|
2410
|
+
export type CreatePaymentFailureReason = ClosedEnum<typeof CreatePaymentFailureReason>;
|
|
2411
|
+
/**
|
|
2412
|
+
* The wallet used when creating the payment.
|
|
2413
|
+
*/
|
|
2414
|
+
export declare const CreatePaymentWallet: {
|
|
2415
|
+
readonly Applepay: "applepay";
|
|
2416
|
+
};
|
|
2417
|
+
/**
|
|
2418
|
+
* The wallet used when creating the payment.
|
|
2419
|
+
*/
|
|
2420
|
+
export type CreatePaymentWallet = ClosedEnum<typeof CreatePaymentWallet>;
|
|
2421
|
+
/**
|
|
2422
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
2423
|
+
*
|
|
2424
|
+
* @remarks
|
|
2425
|
+
* payments, and if the information is made available by PayPal.
|
|
2426
|
+
*/
|
|
2427
|
+
export declare const CreatePaymentSellerProtection: {
|
|
2428
|
+
readonly Eligible: "Eligible";
|
|
2429
|
+
readonly Ineligible: "Ineligible";
|
|
2430
|
+
readonly PartiallyEligibleINROnly: "Partially Eligible - INR Only";
|
|
2431
|
+
readonly PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only";
|
|
2432
|
+
readonly PartiallyEligible: "Partially Eligible";
|
|
2433
|
+
readonly None: "None";
|
|
2434
|
+
readonly Active: "Active";
|
|
2435
|
+
readonly FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible";
|
|
2436
|
+
};
|
|
2437
|
+
/**
|
|
2438
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
2439
|
+
*
|
|
2440
|
+
* @remarks
|
|
2441
|
+
* payments, and if the information is made available by PayPal.
|
|
2442
|
+
*/
|
|
2443
|
+
export type CreatePaymentSellerProtection = ClosedEnum<typeof CreatePaymentSellerProtection>;
|
|
2444
|
+
/**
|
|
2445
|
+
* An amount object containing the fee PayPal will charge for this transaction. The field may be omitted if
|
|
2446
|
+
*
|
|
2447
|
+
* @remarks
|
|
2448
|
+
* PayPal will not charge a fee for this transaction.
|
|
2449
|
+
*/
|
|
2450
|
+
export type CreatePaymentPaypalFee = {
|
|
2451
|
+
/**
|
|
2452
|
+
* A three-character ISO 4217 currency code.
|
|
2453
|
+
*/
|
|
2454
|
+
currency: string;
|
|
2455
|
+
/**
|
|
2456
|
+
* A string containing an exact monetary amount in the given currency.
|
|
2457
|
+
*/
|
|
2458
|
+
value: string;
|
|
2459
|
+
};
|
|
2460
|
+
/**
|
|
2461
|
+
* The method by which the card was read by the terminal.
|
|
2462
|
+
*/
|
|
2463
|
+
export declare const CreatePaymentCardReadMethod: {
|
|
2464
|
+
readonly Chip: "chip";
|
|
2465
|
+
readonly MagneticStripe: "magnetic-stripe";
|
|
2466
|
+
readonly NearFieldCommunication: "near-field-communication";
|
|
2467
|
+
readonly Contactless: "contactless";
|
|
2468
|
+
readonly Moto: "moto";
|
|
2469
|
+
};
|
|
2470
|
+
/**
|
|
2471
|
+
* The method by which the card was read by the terminal.
|
|
2472
|
+
*/
|
|
2473
|
+
export type CreatePaymentCardReadMethod = ClosedEnum<typeof CreatePaymentCardReadMethod>;
|
|
2474
|
+
/**
|
|
2475
|
+
* The method used to verify the cardholder's identity.
|
|
2476
|
+
*/
|
|
2477
|
+
export declare const CreatePaymentCardVerificationMethod: {
|
|
2478
|
+
readonly NoCvmRequired: "no-cvm-required";
|
|
2479
|
+
readonly OnlinePin: "online-pin";
|
|
2480
|
+
readonly OfflinePin: "offline-pin";
|
|
2481
|
+
readonly ConsumerDevice: "consumer-device";
|
|
2482
|
+
readonly Signature: "signature";
|
|
2483
|
+
readonly SignatureAndOnlinePin: "signature-and-online-pin";
|
|
2484
|
+
readonly OnlinePinAndSignature: "online-pin-and-signature";
|
|
2485
|
+
readonly None: "none";
|
|
2486
|
+
readonly Failed: "failed";
|
|
2487
|
+
};
|
|
2488
|
+
/**
|
|
2489
|
+
* The method used to verify the cardholder's identity.
|
|
2490
|
+
*/
|
|
2491
|
+
export type CreatePaymentCardVerificationMethod = ClosedEnum<typeof CreatePaymentCardVerificationMethod>;
|
|
2492
|
+
/**
|
|
2493
|
+
* The Point of sale receipt object.
|
|
2494
|
+
*/
|
|
2495
|
+
export type CreatePaymentReceipt = {
|
|
2496
|
+
/**
|
|
2497
|
+
* A unique code provided by the cardholder’s bank to confirm that the transaction was successfully approved.
|
|
2498
|
+
*/
|
|
2499
|
+
authorizationCode?: string | null | undefined;
|
|
2500
|
+
/**
|
|
2501
|
+
* The unique number that identifies a specific payment application on a chip card.
|
|
2502
|
+
*/
|
|
2503
|
+
applicationIdentifier?: string | null | undefined;
|
|
2504
|
+
/**
|
|
2505
|
+
* The method by which the card was read by the terminal.
|
|
2506
|
+
*/
|
|
2507
|
+
cardReadMethod?: CreatePaymentCardReadMethod | null | undefined;
|
|
2508
|
+
/**
|
|
2509
|
+
* The method used to verify the cardholder's identity.
|
|
2510
|
+
*/
|
|
2511
|
+
cardVerificationMethod?: CreatePaymentCardVerificationMethod | null | undefined;
|
|
2512
|
+
};
|
|
2513
|
+
/**
|
|
2514
|
+
* Optional include. If a QR code was requested during payment creation for a QR-compatible payment method,
|
|
2515
|
+
*
|
|
2516
|
+
* @remarks
|
|
2517
|
+
* the QR code details will be available in this object.
|
|
2518
|
+
*
|
|
2519
|
+
* The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
|
|
2520
|
+
* Bancontact QR payments can be completed by the customer using the Bancontact app.
|
|
2521
|
+
*/
|
|
2522
|
+
export type CreatePaymentQrCode = {
|
|
2523
|
+
/**
|
|
2524
|
+
* The height of the QR code image in pixels.
|
|
2525
|
+
*/
|
|
2526
|
+
height?: number | undefined;
|
|
2527
|
+
/**
|
|
2528
|
+
* The width of the QR code image in pixels.
|
|
2529
|
+
*/
|
|
2530
|
+
width?: number | undefined;
|
|
2531
|
+
/**
|
|
2532
|
+
* The URL to the QR code image. The image is a PNG file, and can be displayed directly in the browser or
|
|
2533
|
+
*
|
|
2534
|
+
* @remarks
|
|
2535
|
+
* downloaded.
|
|
2536
|
+
*/
|
|
2537
|
+
src?: string | undefined;
|
|
2538
|
+
};
|
|
2539
|
+
/**
|
|
2540
|
+
* An amount object for the amount that remained after all gift cards or vouchers were applied.
|
|
2541
|
+
*/
|
|
2542
|
+
export type CreatePaymentRemainderAmount = {
|
|
2543
|
+
/**
|
|
2544
|
+
* A three-character ISO 4217 currency code.
|
|
2545
|
+
*/
|
|
2546
|
+
currency: string;
|
|
2547
|
+
/**
|
|
2548
|
+
* A string containing an exact monetary amount in the given currency.
|
|
2549
|
+
*/
|
|
2550
|
+
value: string;
|
|
2551
|
+
};
|
|
2552
|
+
/**
|
|
2553
|
+
* An object containing payment details collected during the payment process. For example, details may include the
|
|
2554
|
+
*
|
|
2555
|
+
* @remarks
|
|
2556
|
+
* customer's card or bank details and a payment reference. For the full list of details, please refer to the
|
|
2557
|
+
* [method-specific parameters](extra-payment-parameters) guide.
|
|
2558
|
+
*/
|
|
2559
|
+
export type CreatePaymentDetails = {
|
|
2560
|
+
/**
|
|
2561
|
+
* The customer's name, if made available by the payment method. For card payments, refer to details.cardHolder.
|
|
2562
|
+
*/
|
|
2563
|
+
consumerName?: string | null | undefined;
|
|
2564
|
+
/**
|
|
2565
|
+
* The customer's account reference.
|
|
2566
|
+
*
|
|
2567
|
+
* @remarks
|
|
2568
|
+
*
|
|
2569
|
+
* For banking-based payment methods — such as iDEAL — this is normally either an IBAN or a domestic bank account
|
|
2570
|
+
* number.
|
|
2571
|
+
*
|
|
2572
|
+
* For PayPal, the account reference is an email address.
|
|
2573
|
+
*
|
|
2574
|
+
* For card and Bancontact payments, refer to details.cardNumber.
|
|
2575
|
+
*/
|
|
2576
|
+
consumerAccount?: string | null | undefined;
|
|
2577
|
+
/**
|
|
2578
|
+
* The BIC of the customer's bank account, if applicable.
|
|
2579
|
+
*/
|
|
2580
|
+
consumerBic?: string | null | undefined;
|
|
2581
|
+
/**
|
|
2582
|
+
* For wallet payment methods — such as Apple Pay and PayPal — the shipping address is often already known by the
|
|
2583
|
+
*
|
|
2584
|
+
* @remarks
|
|
2585
|
+
* wallet provider. In these cases the shipping address may be available as a payment detail.
|
|
2586
|
+
*/
|
|
2587
|
+
shippingAddress?: {
|
|
2588
|
+
[k: string]: any;
|
|
2589
|
+
} | null | undefined;
|
|
2590
|
+
/**
|
|
2591
|
+
* For bancontact, it will be the customer's masked card number. For cards, it will be the last 4-digit of the
|
|
2592
|
+
*
|
|
2593
|
+
* @remarks
|
|
2594
|
+
* PAN. For Point-of-sale, it will be the the last 4 digits of the customer's masked card number.
|
|
2595
|
+
*/
|
|
2596
|
+
cardNumber?: string | null | undefined;
|
|
2597
|
+
/**
|
|
2598
|
+
* The name of the bank that the customer will need to make the bank transfer payment towards.
|
|
2599
|
+
*/
|
|
2600
|
+
bankName?: string | undefined;
|
|
2601
|
+
/**
|
|
2602
|
+
* The bank account number the customer will need to make the bank transfer payment towards.
|
|
2603
|
+
*/
|
|
2604
|
+
bankAccount?: string | undefined;
|
|
2605
|
+
/**
|
|
2606
|
+
* The BIC of the bank the customer will need to make the bank transfer payment towards.
|
|
2607
|
+
*/
|
|
2608
|
+
bankBic?: string | undefined;
|
|
2609
|
+
/**
|
|
2610
|
+
* The Mollie-generated reference the customer needs to use when transfering the amount. Do not apply any
|
|
2611
|
+
*
|
|
2612
|
+
* @remarks
|
|
2613
|
+
* formatting here; show it to the customer as-is.
|
|
2614
|
+
*/
|
|
2615
|
+
transferReference?: string | null | undefined;
|
|
2616
|
+
/**
|
|
2617
|
+
* A unique fingerprint for a specific card. Can be used to identify returning customers.
|
|
2618
|
+
*
|
|
2619
|
+
* @remarks
|
|
2620
|
+
*
|
|
2621
|
+
* In the case of Point-of-sale payments, it's a unique identifier assigned to a cardholder's payment account,
|
|
2622
|
+
* linking multiple transactions from wallets and physical card to a single account, also across payment methods
|
|
2623
|
+
* or when the card is reissued.
|
|
2624
|
+
*/
|
|
2625
|
+
cardFingerprint?: string | null | undefined;
|
|
2626
|
+
/**
|
|
2627
|
+
* The customer's name as shown on their card.
|
|
2628
|
+
*/
|
|
2629
|
+
cardHolder?: string | null | undefined;
|
|
2630
|
+
/**
|
|
2631
|
+
* The card's target audience, if known.
|
|
2632
|
+
*/
|
|
2633
|
+
cardAudition?: CreatePaymentCardAudition | null | undefined;
|
|
2634
|
+
/**
|
|
2635
|
+
* The card's label, if known.
|
|
2636
|
+
*/
|
|
2637
|
+
cardLabel?: CreatePaymentCardLabel | null | undefined;
|
|
2638
|
+
/**
|
|
2639
|
+
* The ISO 3166-1 alpha-2 country code of the country the card was issued in.
|
|
2640
|
+
*/
|
|
2641
|
+
cardCountryCode?: string | null | undefined;
|
|
2642
|
+
/**
|
|
2643
|
+
* The expiry date (MM/YY) of the card as displayed on the card.
|
|
2644
|
+
*/
|
|
2645
|
+
cardExpiryDate?: string | null | undefined;
|
|
2646
|
+
/**
|
|
2647
|
+
* The card type.
|
|
2648
|
+
*/
|
|
2649
|
+
cardFunding?: CreatePaymentCardFunding | null | undefined;
|
|
2650
|
+
/**
|
|
2651
|
+
* The level of security applied during card processing.
|
|
2652
|
+
*/
|
|
2653
|
+
cardSecurity?: CreatePaymentCardSecurity | null | undefined;
|
|
2654
|
+
/**
|
|
2655
|
+
* The applicable card fee region.
|
|
2656
|
+
*/
|
|
2657
|
+
feeRegion?: CreatePaymentFeeRegion | null | undefined;
|
|
2658
|
+
/**
|
|
2659
|
+
* The first 6 and last 4 digits of the card number.
|
|
2660
|
+
*/
|
|
2661
|
+
cardMaskedNumber?: string | null | undefined;
|
|
2662
|
+
/**
|
|
2663
|
+
* The outcome of authentication attempted on transactions enforced by 3DS (ie valid only for oneoff and first).
|
|
2664
|
+
*/
|
|
2665
|
+
card3dsEci?: string | null | undefined;
|
|
2666
|
+
/**
|
|
2667
|
+
* The first 6 digit of the card bank identification number.
|
|
2668
|
+
*/
|
|
2669
|
+
cardBin?: string | null | undefined;
|
|
2670
|
+
/**
|
|
2671
|
+
* The issuer of the Card.
|
|
2672
|
+
*/
|
|
2673
|
+
cardIssuer?: string | null | undefined;
|
|
2674
|
+
/**
|
|
2675
|
+
* A failure code to help understand why the payment failed.
|
|
2676
|
+
*/
|
|
2677
|
+
failureReason?: CreatePaymentFailureReason | null | undefined;
|
|
2678
|
+
/**
|
|
2679
|
+
* A human-friendly failure message that can be shown to the customer. The message is translated in accordance
|
|
2680
|
+
*
|
|
2681
|
+
* @remarks
|
|
2682
|
+
* with the payment's locale setting.
|
|
2683
|
+
*/
|
|
2684
|
+
failureMessage?: string | null | undefined;
|
|
2685
|
+
/**
|
|
2686
|
+
* The wallet used when creating the payment.
|
|
2687
|
+
*/
|
|
2688
|
+
wallet?: CreatePaymentWallet | null | undefined;
|
|
2689
|
+
/**
|
|
2690
|
+
* PayPal's reference for the payment.
|
|
2691
|
+
*/
|
|
2692
|
+
paypalReference?: string | null | undefined;
|
|
2693
|
+
/**
|
|
2694
|
+
* ID of the customer's PayPal account.
|
|
2695
|
+
*/
|
|
2696
|
+
paypalPayerId?: string | null | undefined;
|
|
2697
|
+
/**
|
|
2698
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
2699
|
+
*
|
|
2700
|
+
* @remarks
|
|
2701
|
+
* payments, and if the information is made available by PayPal.
|
|
2702
|
+
*/
|
|
2703
|
+
sellerProtection?: CreatePaymentSellerProtection | null | undefined;
|
|
2704
|
+
/**
|
|
2705
|
+
* An amount object containing the fee PayPal will charge for this transaction. The field may be omitted if
|
|
2706
|
+
*
|
|
2707
|
+
* @remarks
|
|
2708
|
+
* PayPal will not charge a fee for this transaction.
|
|
2709
|
+
*/
|
|
2710
|
+
paypalFee?: CreatePaymentPaypalFee | null | undefined;
|
|
2711
|
+
/**
|
|
2712
|
+
* The paysafecard customer reference either provided via the API or otherwise auto-generated by Mollie.
|
|
2713
|
+
*/
|
|
2714
|
+
customerReference?: string | undefined;
|
|
2715
|
+
/**
|
|
2716
|
+
* The ID of the terminal device where the payment took place on.
|
|
2717
|
+
*/
|
|
2718
|
+
terminalId?: string | undefined;
|
|
2719
|
+
/**
|
|
2720
|
+
* The first 6 digits & last 4 digits of the customer's masked card number.
|
|
2721
|
+
*/
|
|
2722
|
+
maskedNumber?: string | null | undefined;
|
|
2723
|
+
/**
|
|
2724
|
+
* The Point of sale receipt object.
|
|
2725
|
+
*/
|
|
2726
|
+
receipt?: CreatePaymentReceipt | undefined;
|
|
2727
|
+
/**
|
|
2728
|
+
* The creditor identifier indicates who is authorized to execute the payment. In this case, it is a
|
|
2729
|
+
*
|
|
2730
|
+
* @remarks
|
|
2731
|
+
* reference to Mollie.
|
|
2732
|
+
*/
|
|
2733
|
+
creditorIdentifier?: string | null | undefined;
|
|
2734
|
+
/**
|
|
2735
|
+
* Estimated date the payment is debited from the customer's bank account, in YYYY-MM-DD format.
|
|
2736
|
+
*/
|
|
2737
|
+
dueDate?: RFCDate | null | undefined;
|
|
2738
|
+
/**
|
|
2739
|
+
* Date the payment has been signed by the customer, in YYYY-MM-DD format. Only available if the payment
|
|
2740
|
+
*
|
|
2741
|
+
* @remarks
|
|
2742
|
+
* has been signed.
|
|
2743
|
+
*/
|
|
2744
|
+
signatureDate?: RFCDate | null | undefined;
|
|
2745
|
+
/**
|
|
2746
|
+
* The official reason why this payment has failed. A detailed description of each reason is available on the
|
|
2747
|
+
*
|
|
2748
|
+
* @remarks
|
|
2749
|
+
* website of the European Payments Council.
|
|
2750
|
+
*/
|
|
2751
|
+
bankReasonCode?: string | null | undefined;
|
|
2752
|
+
/**
|
|
2753
|
+
* A human-friendly description of the failure reason.
|
|
2754
|
+
*/
|
|
2755
|
+
bankReason?: string | null | undefined;
|
|
2756
|
+
/**
|
|
2757
|
+
* The end-to-end identifier you provided in the batch file.
|
|
2758
|
+
*/
|
|
2759
|
+
endToEndIdentifier?: string | null | undefined;
|
|
2760
|
+
/**
|
|
2761
|
+
* The mandate reference you provided in the batch file.
|
|
2762
|
+
*/
|
|
2763
|
+
mandateReference?: string | null | undefined;
|
|
2764
|
+
/**
|
|
2765
|
+
* The batch reference you provided in the batch file.
|
|
2766
|
+
*/
|
|
2767
|
+
batchReference?: string | null | undefined;
|
|
2768
|
+
/**
|
|
2769
|
+
* The file reference you provided in the batch file.
|
|
2770
|
+
*/
|
|
2771
|
+
fileReference?: string | null | undefined;
|
|
2772
|
+
/**
|
|
2773
|
+
* Optional include. If a QR code was requested during payment creation for a QR-compatible payment method,
|
|
2774
|
+
*
|
|
2775
|
+
* @remarks
|
|
2776
|
+
* the QR code details will be available in this object.
|
|
2777
|
+
*
|
|
2778
|
+
* The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
|
|
2779
|
+
* Bancontact QR payments can be completed by the customer using the Bancontact app.
|
|
2780
|
+
*/
|
|
2781
|
+
qrCode?: CreatePaymentQrCode | undefined;
|
|
2782
|
+
/**
|
|
2783
|
+
* For payments with gift cards: the masked gift card number of the first gift card applied to the payment.
|
|
2784
|
+
*/
|
|
2785
|
+
voucherNumber?: string | undefined;
|
|
2786
|
+
/**
|
|
2787
|
+
* An array of detail objects for each gift card that was used on this payment, if any.
|
|
2788
|
+
*/
|
|
2789
|
+
giftcards?: Array<{
|
|
2790
|
+
[k: string]: any;
|
|
2791
|
+
}> | undefined;
|
|
2792
|
+
/**
|
|
2793
|
+
* For payments with vouchers: the brand name of the first voucher applied.
|
|
2794
|
+
*/
|
|
2795
|
+
issuer?: string | undefined;
|
|
2796
|
+
/**
|
|
2797
|
+
* An array of detail objects for each voucher that was used on this payment, if any.
|
|
2798
|
+
*/
|
|
2799
|
+
vouchers?: Array<{
|
|
2800
|
+
[k: string]: any;
|
|
2801
|
+
}> | undefined;
|
|
2079
2802
|
/**
|
|
2080
|
-
*
|
|
2803
|
+
* An amount object for the amount that remained after all gift cards or vouchers were applied.
|
|
2081
2804
|
*/
|
|
2082
|
-
|
|
2805
|
+
remainderAmount?: CreatePaymentRemainderAmount | undefined;
|
|
2083
2806
|
/**
|
|
2084
|
-
*
|
|
2807
|
+
* The payment method used to pay the remainder amount, after all gift cards or vouchers were applied.
|
|
2085
2808
|
*/
|
|
2086
|
-
|
|
2809
|
+
remainderMethod?: string | undefined;
|
|
2810
|
+
/**
|
|
2811
|
+
* Optional include. The full payment method details of the remainder payment.
|
|
2812
|
+
*/
|
|
2813
|
+
remainderDetails?: {
|
|
2814
|
+
[k: string]: any;
|
|
2815
|
+
} | undefined;
|
|
2087
2816
|
};
|
|
2088
2817
|
/**
|
|
2089
2818
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
@@ -2301,6 +3030,38 @@ export type CreatePaymentDocumentation = {
|
|
|
2301
3030
|
*/
|
|
2302
3031
|
type: string;
|
|
2303
3032
|
};
|
|
3033
|
+
/**
|
|
3034
|
+
* Link to customer-facing page showing the status of the bank transfer (to verify if the transaction was
|
|
3035
|
+
*
|
|
3036
|
+
* @remarks
|
|
3037
|
+
* successful).
|
|
3038
|
+
*/
|
|
3039
|
+
export type CreatePaymentLinksStatus = {
|
|
3040
|
+
/**
|
|
3041
|
+
* The actual URL string.
|
|
3042
|
+
*/
|
|
3043
|
+
href: string;
|
|
3044
|
+
/**
|
|
3045
|
+
* The content type of the page or endpoint the URL points to.
|
|
3046
|
+
*/
|
|
3047
|
+
type: string;
|
|
3048
|
+
};
|
|
3049
|
+
/**
|
|
3050
|
+
* Link to Mollie Checkout page allowing customers to select a different payment method instead of legacy
|
|
3051
|
+
*
|
|
3052
|
+
* @remarks
|
|
3053
|
+
* bank transfer.
|
|
3054
|
+
*/
|
|
3055
|
+
export type CreatePaymentPayOnline = {
|
|
3056
|
+
/**
|
|
3057
|
+
* The actual URL string.
|
|
3058
|
+
*/
|
|
3059
|
+
href: string;
|
|
3060
|
+
/**
|
|
3061
|
+
* The content type of the page or endpoint the URL points to.
|
|
3062
|
+
*/
|
|
3063
|
+
type: string;
|
|
3064
|
+
};
|
|
2304
3065
|
/**
|
|
2305
3066
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
2306
3067
|
*/
|
|
@@ -2386,6 +3147,20 @@ export type CreatePaymentLinksResponse = {
|
|
|
2386
3147
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
2387
3148
|
*/
|
|
2388
3149
|
documentation?: CreatePaymentDocumentation | undefined;
|
|
3150
|
+
/**
|
|
3151
|
+
* Link to customer-facing page showing the status of the bank transfer (to verify if the transaction was
|
|
3152
|
+
*
|
|
3153
|
+
* @remarks
|
|
3154
|
+
* successful).
|
|
3155
|
+
*/
|
|
3156
|
+
status?: CreatePaymentLinksStatus | undefined;
|
|
3157
|
+
/**
|
|
3158
|
+
* Link to Mollie Checkout page allowing customers to select a different payment method instead of legacy
|
|
3159
|
+
*
|
|
3160
|
+
* @remarks
|
|
3161
|
+
* bank transfer.
|
|
3162
|
+
*/
|
|
3163
|
+
payOnline?: CreatePaymentPayOnline | undefined;
|
|
2389
3164
|
};
|
|
2390
3165
|
/**
|
|
2391
3166
|
* The newly created payment object.
|
|
@@ -2725,7 +3500,7 @@ export type CreatePaymentResponse = {
|
|
|
2725
3500
|
* @remarks
|
|
2726
3501
|
* statuses occur at what point.
|
|
2727
3502
|
*/
|
|
2728
|
-
status:
|
|
3503
|
+
status: CreatePaymentStatusEnum;
|
|
2729
3504
|
/**
|
|
2730
3505
|
* This object offers details about the status of a payment. Currently it is only available for point-of-sale
|
|
2731
3506
|
*
|
|
@@ -2747,9 +3522,7 @@ export type CreatePaymentResponse = {
|
|
|
2747
3522
|
* customer's card or bank details and a payment reference. For the full list of details, please refer to the
|
|
2748
3523
|
* [method-specific parameters](extra-payment-parameters) guide.
|
|
2749
3524
|
*/
|
|
2750
|
-
details?:
|
|
2751
|
-
[k: string]: any;
|
|
2752
|
-
} | null | undefined;
|
|
3525
|
+
details?: CreatePaymentDetails | null | undefined;
|
|
2753
3526
|
/**
|
|
2754
3527
|
* The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
2755
3528
|
*/
|
|
@@ -3579,6 +4352,30 @@ export declare namespace CreatePaymentSequenceTypeRequest$ {
|
|
|
3579
4352
|
}>;
|
|
3580
4353
|
}
|
|
3581
4354
|
/** @internal */
|
|
4355
|
+
export declare const CreatePaymentCompany$inboundSchema: z.ZodType<CreatePaymentCompany, z.ZodTypeDef, unknown>;
|
|
4356
|
+
/** @internal */
|
|
4357
|
+
export type CreatePaymentCompany$Outbound = {
|
|
4358
|
+
registrationNumber?: string | undefined;
|
|
4359
|
+
vatNumber?: string | undefined;
|
|
4360
|
+
entityType?: string | undefined;
|
|
4361
|
+
};
|
|
4362
|
+
/** @internal */
|
|
4363
|
+
export declare const CreatePaymentCompany$outboundSchema: z.ZodType<CreatePaymentCompany$Outbound, z.ZodTypeDef, CreatePaymentCompany>;
|
|
4364
|
+
/**
|
|
4365
|
+
* @internal
|
|
4366
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4367
|
+
*/
|
|
4368
|
+
export declare namespace CreatePaymentCompany$ {
|
|
4369
|
+
/** @deprecated use `CreatePaymentCompany$inboundSchema` instead. */
|
|
4370
|
+
const inboundSchema: z.ZodType<CreatePaymentCompany, z.ZodTypeDef, unknown>;
|
|
4371
|
+
/** @deprecated use `CreatePaymentCompany$outboundSchema` instead. */
|
|
4372
|
+
const outboundSchema: z.ZodType<CreatePaymentCompany$Outbound, z.ZodTypeDef, CreatePaymentCompany>;
|
|
4373
|
+
/** @deprecated use `CreatePaymentCompany$Outbound` instead. */
|
|
4374
|
+
type Outbound = CreatePaymentCompany$Outbound;
|
|
4375
|
+
}
|
|
4376
|
+
export declare function createPaymentCompanyToJSON(createPaymentCompany: CreatePaymentCompany): string;
|
|
4377
|
+
export declare function createPaymentCompanyFromJSON(jsonString: string): SafeParseResult<CreatePaymentCompany, SDKValidationError>;
|
|
4378
|
+
/** @internal */
|
|
3582
4379
|
export declare const CreatePaymentRequestBody$inboundSchema: z.ZodType<CreatePaymentRequestBody, z.ZodTypeDef, unknown>;
|
|
3583
4380
|
/** @internal */
|
|
3584
4381
|
export type CreatePaymentRequestBody$Outbound = {
|
|
@@ -3607,6 +4404,19 @@ export type CreatePaymentRequestBody$Outbound = {
|
|
|
3607
4404
|
profileId?: string | undefined;
|
|
3608
4405
|
dueDate?: string | undefined;
|
|
3609
4406
|
testmode?: boolean | null | undefined;
|
|
4407
|
+
applePayPaymentToken?: string | undefined;
|
|
4408
|
+
company?: CreatePaymentCompany$Outbound | undefined;
|
|
4409
|
+
cardToken?: string | undefined;
|
|
4410
|
+
voucherNumber?: string | undefined;
|
|
4411
|
+
voucherPin?: string | undefined;
|
|
4412
|
+
consumerDateOfBirth?: string | undefined;
|
|
4413
|
+
extraMerchantData?: {
|
|
4414
|
+
[k: string]: any;
|
|
4415
|
+
} | undefined;
|
|
4416
|
+
sessionId?: string | undefined;
|
|
4417
|
+
digitalGoods?: boolean | undefined;
|
|
4418
|
+
customerReference?: string | undefined;
|
|
4419
|
+
terminalId?: string | undefined;
|
|
3610
4420
|
};
|
|
3611
4421
|
/** @internal */
|
|
3612
4422
|
export declare const CreatePaymentRequestBody$outboundSchema: z.ZodType<CreatePaymentRequestBody$Outbound, z.ZodTypeDef, CreatePaymentRequestBody>;
|
|
@@ -4656,15 +5466,15 @@ export declare namespace CreatePaymentSequenceTypeResponse$ {
|
|
|
4656
5466
|
}>;
|
|
4657
5467
|
}
|
|
4658
5468
|
/** @internal */
|
|
4659
|
-
export declare const
|
|
5469
|
+
export declare const CreatePaymentStatusEnum$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentStatusEnum>;
|
|
4660
5470
|
/** @internal */
|
|
4661
|
-
export declare const
|
|
5471
|
+
export declare const CreatePaymentStatusEnum$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentStatusEnum>;
|
|
4662
5472
|
/**
|
|
4663
5473
|
* @internal
|
|
4664
5474
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4665
5475
|
*/
|
|
4666
|
-
export declare namespace
|
|
4667
|
-
/** @deprecated use `
|
|
5476
|
+
export declare namespace CreatePaymentStatusEnum$ {
|
|
5477
|
+
/** @deprecated use `CreatePaymentStatusEnum$inboundSchema` instead. */
|
|
4668
5478
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4669
5479
|
readonly Open: "open";
|
|
4670
5480
|
readonly Pending: "pending";
|
|
@@ -4674,7 +5484,7 @@ export declare namespace CreatePaymentStatus$ {
|
|
|
4674
5484
|
readonly Expired: "expired";
|
|
4675
5485
|
readonly Failed: "failed";
|
|
4676
5486
|
}>;
|
|
4677
|
-
/** @deprecated use `
|
|
5487
|
+
/** @deprecated use `CreatePaymentStatusEnum$outboundSchema` instead. */
|
|
4678
5488
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4679
5489
|
readonly Open: "open";
|
|
4680
5490
|
readonly Pending: "pending";
|
|
@@ -4686,6 +5496,254 @@ export declare namespace CreatePaymentStatus$ {
|
|
|
4686
5496
|
}>;
|
|
4687
5497
|
}
|
|
4688
5498
|
/** @internal */
|
|
5499
|
+
export declare const CreatePaymentCode$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentCode>;
|
|
5500
|
+
/** @internal */
|
|
5501
|
+
export declare const CreatePaymentCode$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentCode>;
|
|
5502
|
+
/**
|
|
5503
|
+
* @internal
|
|
5504
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5505
|
+
*/
|
|
5506
|
+
export declare namespace CreatePaymentCode$ {
|
|
5507
|
+
/** @deprecated use `CreatePaymentCode$inboundSchema` instead. */
|
|
5508
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
5509
|
+
readonly ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully";
|
|
5510
|
+
readonly ReferToCardIssuer: "refer_to_card_issuer";
|
|
5511
|
+
readonly InvalidMerchant: "invalid_merchant";
|
|
5512
|
+
readonly CaptureCard: "capture_card";
|
|
5513
|
+
readonly DoNotHonor: "do_not_honor";
|
|
5514
|
+
readonly Error: "error";
|
|
5515
|
+
readonly PartialApproval: "partial_approval";
|
|
5516
|
+
readonly InvalidTransaction: "invalid_transaction";
|
|
5517
|
+
readonly InvalidAmount: "invalid_amount";
|
|
5518
|
+
readonly InvalidIssuer: "invalid_issuer";
|
|
5519
|
+
readonly LostCard: "lost_card";
|
|
5520
|
+
readonly StolenCard: "stolen_card";
|
|
5521
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
5522
|
+
readonly ExpiredCard: "expired_card";
|
|
5523
|
+
readonly InvalidPin: "invalid_pin";
|
|
5524
|
+
readonly TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder";
|
|
5525
|
+
readonly TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal";
|
|
5526
|
+
readonly ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit";
|
|
5527
|
+
readonly RestrictedCard: "restricted_card";
|
|
5528
|
+
readonly SecurityViolation: "security_violation";
|
|
5529
|
+
readonly ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit";
|
|
5530
|
+
readonly AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded";
|
|
5531
|
+
readonly NoReasonToDecline: "no_reason_to_decline";
|
|
5532
|
+
readonly CannotVerifyPin: "cannot_verify_pin";
|
|
5533
|
+
readonly IssuerUnavailable: "issuer_unavailable";
|
|
5534
|
+
readonly UnableToRouteTransaction: "unable_to_route_transaction";
|
|
5535
|
+
readonly DuplicateTransaction: "duplicate_transaction";
|
|
5536
|
+
readonly SystemMalfunction: "system_malfunction";
|
|
5537
|
+
readonly HonorWithId: "honor_with_id";
|
|
5538
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
5539
|
+
readonly FormatError: "format_error";
|
|
5540
|
+
readonly ContactCardIssuer: "contact_card_issuer";
|
|
5541
|
+
readonly PinNotChanged: "pin_not_changed";
|
|
5542
|
+
readonly InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified";
|
|
5543
|
+
readonly InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified";
|
|
5544
|
+
readonly InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified";
|
|
5545
|
+
readonly LifecycleRelated: "lifecycle_related";
|
|
5546
|
+
readonly DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed";
|
|
5547
|
+
readonly PolicyRelated: "policy_related";
|
|
5548
|
+
readonly FraudSecurityRelated: "fraud_security_related";
|
|
5549
|
+
readonly InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle";
|
|
5550
|
+
readonly PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed";
|
|
5551
|
+
readonly CryptographicFailure: "cryptographic_failure";
|
|
5552
|
+
readonly UnacceptablePin: "unacceptable_pin";
|
|
5553
|
+
readonly ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition";
|
|
5554
|
+
readonly PickUpCardSpecialCondition: "pick_up_card_special_condition";
|
|
5555
|
+
readonly VipApproval: "vip_approval";
|
|
5556
|
+
readonly InvalidAccountNumber: "invalid_account_number";
|
|
5557
|
+
readonly ReEnterTransaction: "re_enter_transaction";
|
|
5558
|
+
readonly NoActionTaken: "no_action_taken";
|
|
5559
|
+
readonly UnableToLocateRecord: "unable_to_locate_record";
|
|
5560
|
+
readonly FileTemporarilyUnavailable: "file_temporarily_unavailable";
|
|
5561
|
+
readonly NoCreditAccount: "no_credit_account";
|
|
5562
|
+
readonly ClosedAccount: "closed_account";
|
|
5563
|
+
readonly NoCheckingAccount: "no_checking_account";
|
|
5564
|
+
readonly NoSavingsAccount: "no_savings_account";
|
|
5565
|
+
readonly SuspectedFraud: "suspected_fraud";
|
|
5566
|
+
readonly TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement";
|
|
5567
|
+
readonly PinDataRequired: "pin_data_required";
|
|
5568
|
+
readonly UnableToLocatePreviousMessage: "unable_to_locate_previous_message";
|
|
5569
|
+
readonly PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data";
|
|
5570
|
+
readonly BlockedFirstUsed: "blocked_first_used";
|
|
5571
|
+
readonly TransactionReversed: "transaction_reversed";
|
|
5572
|
+
readonly CreditIssuerUnavailable: "credit_issuer_unavailable";
|
|
5573
|
+
readonly PinCryptographicErrorFound: "pin_cryptographic_error_found";
|
|
5574
|
+
readonly NegativeOnlineCamResult: "negative_online_cam_result";
|
|
5575
|
+
readonly ViolationOfLaw: "violation_of_law";
|
|
5576
|
+
readonly ForceStip: "force_stip";
|
|
5577
|
+
readonly CashServiceNotAvailable: "cash_service_not_available";
|
|
5578
|
+
readonly CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit";
|
|
5579
|
+
readonly DeclineForCvv2Failure: "decline_for_cvv2_failure";
|
|
5580
|
+
readonly TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount";
|
|
5581
|
+
readonly InvalidBillerInformation: "invalid_biller_information";
|
|
5582
|
+
readonly PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined";
|
|
5583
|
+
readonly UnsafePin: "unsafe_pin";
|
|
5584
|
+
readonly CardAuthenticationFailed: "card_authentication_failed";
|
|
5585
|
+
readonly StopPaymentOrder: "stop_payment_order";
|
|
5586
|
+
readonly RevocationOfAuthorization: "revocation_of_authorization";
|
|
5587
|
+
readonly RevocationOfAllAuthorizations: "revocation_of_all_authorizations";
|
|
5588
|
+
readonly ForwardToIssuerXa: "forward_to_issuer_xa";
|
|
5589
|
+
readonly ForwardToIssuerXd: "forward_to_issuer_xd";
|
|
5590
|
+
readonly UnableToGoOnline: "unable_to_go_online";
|
|
5591
|
+
readonly AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required";
|
|
5592
|
+
readonly MerchantIdNotFound: "merchant_id_not_found";
|
|
5593
|
+
readonly MerchantAccountClosed: "merchant_account_closed";
|
|
5594
|
+
readonly TerminalIdNotFound: "terminal_id_not_found";
|
|
5595
|
+
readonly TerminalClosed: "terminal_closed";
|
|
5596
|
+
readonly InvalidCategoryCode: "invalid_category_code";
|
|
5597
|
+
readonly InvalidCurrency: "invalid_currency";
|
|
5598
|
+
readonly MissingCvv2Cvc2: "missing_cvv2_cvc2";
|
|
5599
|
+
readonly Cvv2NotAllowed: "cvv2_not_allowed";
|
|
5600
|
+
readonly MerchantNotRegisteredVbv: "merchant_not_registered_vbv";
|
|
5601
|
+
readonly MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex";
|
|
5602
|
+
readonly TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal";
|
|
5603
|
+
readonly AgreementTerminalNotRelated: "agreement_terminal_not_related";
|
|
5604
|
+
readonly InvalidProcessorId: "invalid_processor_id";
|
|
5605
|
+
readonly InvalidMerchantData: "invalid_merchant_data";
|
|
5606
|
+
readonly SubMerchantAccountClosed: "sub_merchant_account_closed";
|
|
5607
|
+
readonly TerminalBusy: "terminal_busy";
|
|
5608
|
+
readonly TerminalUnreachable: "terminal_unreachable";
|
|
5609
|
+
readonly ServiceFailed: "service_failed";
|
|
5610
|
+
readonly InvalidOperation: "invalid_operation";
|
|
5611
|
+
readonly AuthorizationError: "authorization_error";
|
|
5612
|
+
readonly LoginFailedWithoutReason: "login_failed_without_reason";
|
|
5613
|
+
readonly InvalidRetailer: "invalid_retailer";
|
|
5614
|
+
readonly CardDoesNotExist: "card_does_not_exist";
|
|
5615
|
+
readonly CardIsBlocked: "card_is_blocked";
|
|
5616
|
+
readonly InvalidCardId: "invalid_card_id";
|
|
5617
|
+
readonly CardIsTransferred: "card_is_transferred";
|
|
5618
|
+
readonly CardIsNotActive: "card_is_not_active";
|
|
5619
|
+
readonly IncorrectPurchaseValue: "incorrect_purchase_value";
|
|
5620
|
+
readonly CardNotAvailable: "card_not_available";
|
|
5621
|
+
readonly WrongCurrency: "wrong_currency";
|
|
5622
|
+
readonly LoginFailedUnknownUser: "login_failed_unknown_user";
|
|
5623
|
+
readonly LoginFailedInvalidPassword: "login_failed_invalid_password";
|
|
5624
|
+
readonly InvalidEanCode: "invalid_ean_code";
|
|
5625
|
+
}>;
|
|
5626
|
+
/** @deprecated use `CreatePaymentCode$outboundSchema` instead. */
|
|
5627
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
5628
|
+
readonly ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully";
|
|
5629
|
+
readonly ReferToCardIssuer: "refer_to_card_issuer";
|
|
5630
|
+
readonly InvalidMerchant: "invalid_merchant";
|
|
5631
|
+
readonly CaptureCard: "capture_card";
|
|
5632
|
+
readonly DoNotHonor: "do_not_honor";
|
|
5633
|
+
readonly Error: "error";
|
|
5634
|
+
readonly PartialApproval: "partial_approval";
|
|
5635
|
+
readonly InvalidTransaction: "invalid_transaction";
|
|
5636
|
+
readonly InvalidAmount: "invalid_amount";
|
|
5637
|
+
readonly InvalidIssuer: "invalid_issuer";
|
|
5638
|
+
readonly LostCard: "lost_card";
|
|
5639
|
+
readonly StolenCard: "stolen_card";
|
|
5640
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
5641
|
+
readonly ExpiredCard: "expired_card";
|
|
5642
|
+
readonly InvalidPin: "invalid_pin";
|
|
5643
|
+
readonly TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder";
|
|
5644
|
+
readonly TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal";
|
|
5645
|
+
readonly ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit";
|
|
5646
|
+
readonly RestrictedCard: "restricted_card";
|
|
5647
|
+
readonly SecurityViolation: "security_violation";
|
|
5648
|
+
readonly ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit";
|
|
5649
|
+
readonly AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded";
|
|
5650
|
+
readonly NoReasonToDecline: "no_reason_to_decline";
|
|
5651
|
+
readonly CannotVerifyPin: "cannot_verify_pin";
|
|
5652
|
+
readonly IssuerUnavailable: "issuer_unavailable";
|
|
5653
|
+
readonly UnableToRouteTransaction: "unable_to_route_transaction";
|
|
5654
|
+
readonly DuplicateTransaction: "duplicate_transaction";
|
|
5655
|
+
readonly SystemMalfunction: "system_malfunction";
|
|
5656
|
+
readonly HonorWithId: "honor_with_id";
|
|
5657
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
5658
|
+
readonly FormatError: "format_error";
|
|
5659
|
+
readonly ContactCardIssuer: "contact_card_issuer";
|
|
5660
|
+
readonly PinNotChanged: "pin_not_changed";
|
|
5661
|
+
readonly InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified";
|
|
5662
|
+
readonly InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified";
|
|
5663
|
+
readonly InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified";
|
|
5664
|
+
readonly LifecycleRelated: "lifecycle_related";
|
|
5665
|
+
readonly DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed";
|
|
5666
|
+
readonly PolicyRelated: "policy_related";
|
|
5667
|
+
readonly FraudSecurityRelated: "fraud_security_related";
|
|
5668
|
+
readonly InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle";
|
|
5669
|
+
readonly PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed";
|
|
5670
|
+
readonly CryptographicFailure: "cryptographic_failure";
|
|
5671
|
+
readonly UnacceptablePin: "unacceptable_pin";
|
|
5672
|
+
readonly ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition";
|
|
5673
|
+
readonly PickUpCardSpecialCondition: "pick_up_card_special_condition";
|
|
5674
|
+
readonly VipApproval: "vip_approval";
|
|
5675
|
+
readonly InvalidAccountNumber: "invalid_account_number";
|
|
5676
|
+
readonly ReEnterTransaction: "re_enter_transaction";
|
|
5677
|
+
readonly NoActionTaken: "no_action_taken";
|
|
5678
|
+
readonly UnableToLocateRecord: "unable_to_locate_record";
|
|
5679
|
+
readonly FileTemporarilyUnavailable: "file_temporarily_unavailable";
|
|
5680
|
+
readonly NoCreditAccount: "no_credit_account";
|
|
5681
|
+
readonly ClosedAccount: "closed_account";
|
|
5682
|
+
readonly NoCheckingAccount: "no_checking_account";
|
|
5683
|
+
readonly NoSavingsAccount: "no_savings_account";
|
|
5684
|
+
readonly SuspectedFraud: "suspected_fraud";
|
|
5685
|
+
readonly TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement";
|
|
5686
|
+
readonly PinDataRequired: "pin_data_required";
|
|
5687
|
+
readonly UnableToLocatePreviousMessage: "unable_to_locate_previous_message";
|
|
5688
|
+
readonly PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data";
|
|
5689
|
+
readonly BlockedFirstUsed: "blocked_first_used";
|
|
5690
|
+
readonly TransactionReversed: "transaction_reversed";
|
|
5691
|
+
readonly CreditIssuerUnavailable: "credit_issuer_unavailable";
|
|
5692
|
+
readonly PinCryptographicErrorFound: "pin_cryptographic_error_found";
|
|
5693
|
+
readonly NegativeOnlineCamResult: "negative_online_cam_result";
|
|
5694
|
+
readonly ViolationOfLaw: "violation_of_law";
|
|
5695
|
+
readonly ForceStip: "force_stip";
|
|
5696
|
+
readonly CashServiceNotAvailable: "cash_service_not_available";
|
|
5697
|
+
readonly CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit";
|
|
5698
|
+
readonly DeclineForCvv2Failure: "decline_for_cvv2_failure";
|
|
5699
|
+
readonly TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount";
|
|
5700
|
+
readonly InvalidBillerInformation: "invalid_biller_information";
|
|
5701
|
+
readonly PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined";
|
|
5702
|
+
readonly UnsafePin: "unsafe_pin";
|
|
5703
|
+
readonly CardAuthenticationFailed: "card_authentication_failed";
|
|
5704
|
+
readonly StopPaymentOrder: "stop_payment_order";
|
|
5705
|
+
readonly RevocationOfAuthorization: "revocation_of_authorization";
|
|
5706
|
+
readonly RevocationOfAllAuthorizations: "revocation_of_all_authorizations";
|
|
5707
|
+
readonly ForwardToIssuerXa: "forward_to_issuer_xa";
|
|
5708
|
+
readonly ForwardToIssuerXd: "forward_to_issuer_xd";
|
|
5709
|
+
readonly UnableToGoOnline: "unable_to_go_online";
|
|
5710
|
+
readonly AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required";
|
|
5711
|
+
readonly MerchantIdNotFound: "merchant_id_not_found";
|
|
5712
|
+
readonly MerchantAccountClosed: "merchant_account_closed";
|
|
5713
|
+
readonly TerminalIdNotFound: "terminal_id_not_found";
|
|
5714
|
+
readonly TerminalClosed: "terminal_closed";
|
|
5715
|
+
readonly InvalidCategoryCode: "invalid_category_code";
|
|
5716
|
+
readonly InvalidCurrency: "invalid_currency";
|
|
5717
|
+
readonly MissingCvv2Cvc2: "missing_cvv2_cvc2";
|
|
5718
|
+
readonly Cvv2NotAllowed: "cvv2_not_allowed";
|
|
5719
|
+
readonly MerchantNotRegisteredVbv: "merchant_not_registered_vbv";
|
|
5720
|
+
readonly MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex";
|
|
5721
|
+
readonly TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal";
|
|
5722
|
+
readonly AgreementTerminalNotRelated: "agreement_terminal_not_related";
|
|
5723
|
+
readonly InvalidProcessorId: "invalid_processor_id";
|
|
5724
|
+
readonly InvalidMerchantData: "invalid_merchant_data";
|
|
5725
|
+
readonly SubMerchantAccountClosed: "sub_merchant_account_closed";
|
|
5726
|
+
readonly TerminalBusy: "terminal_busy";
|
|
5727
|
+
readonly TerminalUnreachable: "terminal_unreachable";
|
|
5728
|
+
readonly ServiceFailed: "service_failed";
|
|
5729
|
+
readonly InvalidOperation: "invalid_operation";
|
|
5730
|
+
readonly AuthorizationError: "authorization_error";
|
|
5731
|
+
readonly LoginFailedWithoutReason: "login_failed_without_reason";
|
|
5732
|
+
readonly InvalidRetailer: "invalid_retailer";
|
|
5733
|
+
readonly CardDoesNotExist: "card_does_not_exist";
|
|
5734
|
+
readonly CardIsBlocked: "card_is_blocked";
|
|
5735
|
+
readonly InvalidCardId: "invalid_card_id";
|
|
5736
|
+
readonly CardIsTransferred: "card_is_transferred";
|
|
5737
|
+
readonly CardIsNotActive: "card_is_not_active";
|
|
5738
|
+
readonly IncorrectPurchaseValue: "incorrect_purchase_value";
|
|
5739
|
+
readonly CardNotAvailable: "card_not_available";
|
|
5740
|
+
readonly WrongCurrency: "wrong_currency";
|
|
5741
|
+
readonly LoginFailedUnknownUser: "login_failed_unknown_user";
|
|
5742
|
+
readonly LoginFailedInvalidPassword: "login_failed_invalid_password";
|
|
5743
|
+
readonly InvalidEanCode: "invalid_ean_code";
|
|
5744
|
+
}>;
|
|
5745
|
+
}
|
|
5746
|
+
/** @internal */
|
|
4689
5747
|
export declare const CreatePaymentStatusReason$inboundSchema: z.ZodType<CreatePaymentStatusReason, z.ZodTypeDef, unknown>;
|
|
4690
5748
|
/** @internal */
|
|
4691
5749
|
export type CreatePaymentStatusReason$Outbound = {
|
|
@@ -4709,6 +5767,478 @@ export declare namespace CreatePaymentStatusReason$ {
|
|
|
4709
5767
|
export declare function createPaymentStatusReasonToJSON(createPaymentStatusReason: CreatePaymentStatusReason): string;
|
|
4710
5768
|
export declare function createPaymentStatusReasonFromJSON(jsonString: string): SafeParseResult<CreatePaymentStatusReason, SDKValidationError>;
|
|
4711
5769
|
/** @internal */
|
|
5770
|
+
export declare const CreatePaymentCardAudition$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardAudition>;
|
|
5771
|
+
/** @internal */
|
|
5772
|
+
export declare const CreatePaymentCardAudition$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardAudition>;
|
|
5773
|
+
/**
|
|
5774
|
+
* @internal
|
|
5775
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5776
|
+
*/
|
|
5777
|
+
export declare namespace CreatePaymentCardAudition$ {
|
|
5778
|
+
/** @deprecated use `CreatePaymentCardAudition$inboundSchema` instead. */
|
|
5779
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
5780
|
+
readonly Consumer: "consumer";
|
|
5781
|
+
readonly Business: "business";
|
|
5782
|
+
}>;
|
|
5783
|
+
/** @deprecated use `CreatePaymentCardAudition$outboundSchema` instead. */
|
|
5784
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
5785
|
+
readonly Consumer: "consumer";
|
|
5786
|
+
readonly Business: "business";
|
|
5787
|
+
}>;
|
|
5788
|
+
}
|
|
5789
|
+
/** @internal */
|
|
5790
|
+
export declare const CreatePaymentCardLabel$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardLabel>;
|
|
5791
|
+
/** @internal */
|
|
5792
|
+
export declare const CreatePaymentCardLabel$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardLabel>;
|
|
5793
|
+
/**
|
|
5794
|
+
* @internal
|
|
5795
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5796
|
+
*/
|
|
5797
|
+
export declare namespace CreatePaymentCardLabel$ {
|
|
5798
|
+
/** @deprecated use `CreatePaymentCardLabel$inboundSchema` instead. */
|
|
5799
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
5800
|
+
readonly AmericanExpress: "American Express";
|
|
5801
|
+
readonly CartaSi: "Carta Si";
|
|
5802
|
+
readonly CarteBleue: "Carte Bleue";
|
|
5803
|
+
readonly Dankort: "Dankort";
|
|
5804
|
+
readonly DinersClub: "Diners Club";
|
|
5805
|
+
readonly Discover: "Discover";
|
|
5806
|
+
readonly Jcb: "JCB";
|
|
5807
|
+
readonly Laser: "Laser";
|
|
5808
|
+
readonly Maestro: "Maestro";
|
|
5809
|
+
readonly Mastercard: "Mastercard";
|
|
5810
|
+
readonly Unionpay: "Unionpay";
|
|
5811
|
+
readonly Visa: "Visa";
|
|
5812
|
+
readonly Vpay: "Vpay";
|
|
5813
|
+
}>;
|
|
5814
|
+
/** @deprecated use `CreatePaymentCardLabel$outboundSchema` instead. */
|
|
5815
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
5816
|
+
readonly AmericanExpress: "American Express";
|
|
5817
|
+
readonly CartaSi: "Carta Si";
|
|
5818
|
+
readonly CarteBleue: "Carte Bleue";
|
|
5819
|
+
readonly Dankort: "Dankort";
|
|
5820
|
+
readonly DinersClub: "Diners Club";
|
|
5821
|
+
readonly Discover: "Discover";
|
|
5822
|
+
readonly Jcb: "JCB";
|
|
5823
|
+
readonly Laser: "Laser";
|
|
5824
|
+
readonly Maestro: "Maestro";
|
|
5825
|
+
readonly Mastercard: "Mastercard";
|
|
5826
|
+
readonly Unionpay: "Unionpay";
|
|
5827
|
+
readonly Visa: "Visa";
|
|
5828
|
+
readonly Vpay: "Vpay";
|
|
5829
|
+
}>;
|
|
5830
|
+
}
|
|
5831
|
+
/** @internal */
|
|
5832
|
+
export declare const CreatePaymentCardFunding$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardFunding>;
|
|
5833
|
+
/** @internal */
|
|
5834
|
+
export declare const CreatePaymentCardFunding$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardFunding>;
|
|
5835
|
+
/**
|
|
5836
|
+
* @internal
|
|
5837
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5838
|
+
*/
|
|
5839
|
+
export declare namespace CreatePaymentCardFunding$ {
|
|
5840
|
+
/** @deprecated use `CreatePaymentCardFunding$inboundSchema` instead. */
|
|
5841
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
5842
|
+
readonly Debit: "debit";
|
|
5843
|
+
readonly Credit: "credit";
|
|
5844
|
+
readonly Prepaid: "prepaid";
|
|
5845
|
+
readonly DeferredDebit: "deferred-debit";
|
|
5846
|
+
}>;
|
|
5847
|
+
/** @deprecated use `CreatePaymentCardFunding$outboundSchema` instead. */
|
|
5848
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
5849
|
+
readonly Debit: "debit";
|
|
5850
|
+
readonly Credit: "credit";
|
|
5851
|
+
readonly Prepaid: "prepaid";
|
|
5852
|
+
readonly DeferredDebit: "deferred-debit";
|
|
5853
|
+
}>;
|
|
5854
|
+
}
|
|
5855
|
+
/** @internal */
|
|
5856
|
+
export declare const CreatePaymentCardSecurity$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardSecurity>;
|
|
5857
|
+
/** @internal */
|
|
5858
|
+
export declare const CreatePaymentCardSecurity$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardSecurity>;
|
|
5859
|
+
/**
|
|
5860
|
+
* @internal
|
|
5861
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5862
|
+
*/
|
|
5863
|
+
export declare namespace CreatePaymentCardSecurity$ {
|
|
5864
|
+
/** @deprecated use `CreatePaymentCardSecurity$inboundSchema` instead. */
|
|
5865
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
5866
|
+
readonly Normal: "normal";
|
|
5867
|
+
readonly Threedsecure: "3dsecure";
|
|
5868
|
+
}>;
|
|
5869
|
+
/** @deprecated use `CreatePaymentCardSecurity$outboundSchema` instead. */
|
|
5870
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
5871
|
+
readonly Normal: "normal";
|
|
5872
|
+
readonly Threedsecure: "3dsecure";
|
|
5873
|
+
}>;
|
|
5874
|
+
}
|
|
5875
|
+
/** @internal */
|
|
5876
|
+
export declare const CreatePaymentFeeRegion$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentFeeRegion>;
|
|
5877
|
+
/** @internal */
|
|
5878
|
+
export declare const CreatePaymentFeeRegion$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentFeeRegion>;
|
|
5879
|
+
/**
|
|
5880
|
+
* @internal
|
|
5881
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5882
|
+
*/
|
|
5883
|
+
export declare namespace CreatePaymentFeeRegion$ {
|
|
5884
|
+
/** @deprecated use `CreatePaymentFeeRegion$inboundSchema` instead. */
|
|
5885
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
5886
|
+
readonly AmericanExpress: "american-express";
|
|
5887
|
+
readonly AmexIntraEea: "amex-intra-eea";
|
|
5888
|
+
readonly CarteBancaire: "carte-bancaire";
|
|
5889
|
+
readonly IntraEu: "intra-eu";
|
|
5890
|
+
readonly IntraEuCorporate: "intra-eu-corporate";
|
|
5891
|
+
readonly Domestic: "domestic";
|
|
5892
|
+
readonly Maestro: "maestro";
|
|
5893
|
+
readonly Other: "other";
|
|
5894
|
+
readonly Inter: "inter";
|
|
5895
|
+
readonly IntraEea: "intra-eea";
|
|
5896
|
+
}>;
|
|
5897
|
+
/** @deprecated use `CreatePaymentFeeRegion$outboundSchema` instead. */
|
|
5898
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
5899
|
+
readonly AmericanExpress: "american-express";
|
|
5900
|
+
readonly AmexIntraEea: "amex-intra-eea";
|
|
5901
|
+
readonly CarteBancaire: "carte-bancaire";
|
|
5902
|
+
readonly IntraEu: "intra-eu";
|
|
5903
|
+
readonly IntraEuCorporate: "intra-eu-corporate";
|
|
5904
|
+
readonly Domestic: "domestic";
|
|
5905
|
+
readonly Maestro: "maestro";
|
|
5906
|
+
readonly Other: "other";
|
|
5907
|
+
readonly Inter: "inter";
|
|
5908
|
+
readonly IntraEea: "intra-eea";
|
|
5909
|
+
}>;
|
|
5910
|
+
}
|
|
5911
|
+
/** @internal */
|
|
5912
|
+
export declare const CreatePaymentFailureReason$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentFailureReason>;
|
|
5913
|
+
/** @internal */
|
|
5914
|
+
export declare const CreatePaymentFailureReason$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentFailureReason>;
|
|
5915
|
+
/**
|
|
5916
|
+
* @internal
|
|
5917
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5918
|
+
*/
|
|
5919
|
+
export declare namespace CreatePaymentFailureReason$ {
|
|
5920
|
+
/** @deprecated use `CreatePaymentFailureReason$inboundSchema` instead. */
|
|
5921
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
5922
|
+
readonly AuthenticationAbandoned: "authentication_abandoned";
|
|
5923
|
+
readonly AuthenticationFailed: "authentication_failed";
|
|
5924
|
+
readonly AuthenticationRequired: "authentication_required";
|
|
5925
|
+
readonly AuthenticationUnavailableAcs: "authentication_unavailable_acs";
|
|
5926
|
+
readonly CardDeclined: "card_declined";
|
|
5927
|
+
readonly CardExpired: "card_expired";
|
|
5928
|
+
readonly InactiveCard: "inactive_card";
|
|
5929
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
5930
|
+
readonly InvalidCvv: "invalid_cvv";
|
|
5931
|
+
readonly InvalidCardHolderName: "invalid_card_holder_name";
|
|
5932
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
5933
|
+
readonly InvalidCardType: "invalid_card_type";
|
|
5934
|
+
readonly PossibleFraud: "possible_fraud";
|
|
5935
|
+
readonly RefusedByIssuer: "refused_by_issuer";
|
|
5936
|
+
readonly UnknownReason: "unknown_reason";
|
|
5937
|
+
}>;
|
|
5938
|
+
/** @deprecated use `CreatePaymentFailureReason$outboundSchema` instead. */
|
|
5939
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
5940
|
+
readonly AuthenticationAbandoned: "authentication_abandoned";
|
|
5941
|
+
readonly AuthenticationFailed: "authentication_failed";
|
|
5942
|
+
readonly AuthenticationRequired: "authentication_required";
|
|
5943
|
+
readonly AuthenticationUnavailableAcs: "authentication_unavailable_acs";
|
|
5944
|
+
readonly CardDeclined: "card_declined";
|
|
5945
|
+
readonly CardExpired: "card_expired";
|
|
5946
|
+
readonly InactiveCard: "inactive_card";
|
|
5947
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
5948
|
+
readonly InvalidCvv: "invalid_cvv";
|
|
5949
|
+
readonly InvalidCardHolderName: "invalid_card_holder_name";
|
|
5950
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
5951
|
+
readonly InvalidCardType: "invalid_card_type";
|
|
5952
|
+
readonly PossibleFraud: "possible_fraud";
|
|
5953
|
+
readonly RefusedByIssuer: "refused_by_issuer";
|
|
5954
|
+
readonly UnknownReason: "unknown_reason";
|
|
5955
|
+
}>;
|
|
5956
|
+
}
|
|
5957
|
+
/** @internal */
|
|
5958
|
+
export declare const CreatePaymentWallet$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentWallet>;
|
|
5959
|
+
/** @internal */
|
|
5960
|
+
export declare const CreatePaymentWallet$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentWallet>;
|
|
5961
|
+
/**
|
|
5962
|
+
* @internal
|
|
5963
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5964
|
+
*/
|
|
5965
|
+
export declare namespace CreatePaymentWallet$ {
|
|
5966
|
+
/** @deprecated use `CreatePaymentWallet$inboundSchema` instead. */
|
|
5967
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
5968
|
+
readonly Applepay: "applepay";
|
|
5969
|
+
}>;
|
|
5970
|
+
/** @deprecated use `CreatePaymentWallet$outboundSchema` instead. */
|
|
5971
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
5972
|
+
readonly Applepay: "applepay";
|
|
5973
|
+
}>;
|
|
5974
|
+
}
|
|
5975
|
+
/** @internal */
|
|
5976
|
+
export declare const CreatePaymentSellerProtection$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentSellerProtection>;
|
|
5977
|
+
/** @internal */
|
|
5978
|
+
export declare const CreatePaymentSellerProtection$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentSellerProtection>;
|
|
5979
|
+
/**
|
|
5980
|
+
* @internal
|
|
5981
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5982
|
+
*/
|
|
5983
|
+
export declare namespace CreatePaymentSellerProtection$ {
|
|
5984
|
+
/** @deprecated use `CreatePaymentSellerProtection$inboundSchema` instead. */
|
|
5985
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
5986
|
+
readonly Eligible: "Eligible";
|
|
5987
|
+
readonly Ineligible: "Ineligible";
|
|
5988
|
+
readonly PartiallyEligibleINROnly: "Partially Eligible - INR Only";
|
|
5989
|
+
readonly PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only";
|
|
5990
|
+
readonly PartiallyEligible: "Partially Eligible";
|
|
5991
|
+
readonly None: "None";
|
|
5992
|
+
readonly Active: "Active";
|
|
5993
|
+
readonly FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible";
|
|
5994
|
+
}>;
|
|
5995
|
+
/** @deprecated use `CreatePaymentSellerProtection$outboundSchema` instead. */
|
|
5996
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
5997
|
+
readonly Eligible: "Eligible";
|
|
5998
|
+
readonly Ineligible: "Ineligible";
|
|
5999
|
+
readonly PartiallyEligibleINROnly: "Partially Eligible - INR Only";
|
|
6000
|
+
readonly PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only";
|
|
6001
|
+
readonly PartiallyEligible: "Partially Eligible";
|
|
6002
|
+
readonly None: "None";
|
|
6003
|
+
readonly Active: "Active";
|
|
6004
|
+
readonly FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible";
|
|
6005
|
+
}>;
|
|
6006
|
+
}
|
|
6007
|
+
/** @internal */
|
|
6008
|
+
export declare const CreatePaymentPaypalFee$inboundSchema: z.ZodType<CreatePaymentPaypalFee, z.ZodTypeDef, unknown>;
|
|
6009
|
+
/** @internal */
|
|
6010
|
+
export type CreatePaymentPaypalFee$Outbound = {
|
|
6011
|
+
currency: string;
|
|
6012
|
+
value: string;
|
|
6013
|
+
};
|
|
6014
|
+
/** @internal */
|
|
6015
|
+
export declare const CreatePaymentPaypalFee$outboundSchema: z.ZodType<CreatePaymentPaypalFee$Outbound, z.ZodTypeDef, CreatePaymentPaypalFee>;
|
|
6016
|
+
/**
|
|
6017
|
+
* @internal
|
|
6018
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6019
|
+
*/
|
|
6020
|
+
export declare namespace CreatePaymentPaypalFee$ {
|
|
6021
|
+
/** @deprecated use `CreatePaymentPaypalFee$inboundSchema` instead. */
|
|
6022
|
+
const inboundSchema: z.ZodType<CreatePaymentPaypalFee, z.ZodTypeDef, unknown>;
|
|
6023
|
+
/** @deprecated use `CreatePaymentPaypalFee$outboundSchema` instead. */
|
|
6024
|
+
const outboundSchema: z.ZodType<CreatePaymentPaypalFee$Outbound, z.ZodTypeDef, CreatePaymentPaypalFee>;
|
|
6025
|
+
/** @deprecated use `CreatePaymentPaypalFee$Outbound` instead. */
|
|
6026
|
+
type Outbound = CreatePaymentPaypalFee$Outbound;
|
|
6027
|
+
}
|
|
6028
|
+
export declare function createPaymentPaypalFeeToJSON(createPaymentPaypalFee: CreatePaymentPaypalFee): string;
|
|
6029
|
+
export declare function createPaymentPaypalFeeFromJSON(jsonString: string): SafeParseResult<CreatePaymentPaypalFee, SDKValidationError>;
|
|
6030
|
+
/** @internal */
|
|
6031
|
+
export declare const CreatePaymentCardReadMethod$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardReadMethod>;
|
|
6032
|
+
/** @internal */
|
|
6033
|
+
export declare const CreatePaymentCardReadMethod$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardReadMethod>;
|
|
6034
|
+
/**
|
|
6035
|
+
* @internal
|
|
6036
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6037
|
+
*/
|
|
6038
|
+
export declare namespace CreatePaymentCardReadMethod$ {
|
|
6039
|
+
/** @deprecated use `CreatePaymentCardReadMethod$inboundSchema` instead. */
|
|
6040
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
6041
|
+
readonly Chip: "chip";
|
|
6042
|
+
readonly MagneticStripe: "magnetic-stripe";
|
|
6043
|
+
readonly NearFieldCommunication: "near-field-communication";
|
|
6044
|
+
readonly Contactless: "contactless";
|
|
6045
|
+
readonly Moto: "moto";
|
|
6046
|
+
}>;
|
|
6047
|
+
/** @deprecated use `CreatePaymentCardReadMethod$outboundSchema` instead. */
|
|
6048
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
6049
|
+
readonly Chip: "chip";
|
|
6050
|
+
readonly MagneticStripe: "magnetic-stripe";
|
|
6051
|
+
readonly NearFieldCommunication: "near-field-communication";
|
|
6052
|
+
readonly Contactless: "contactless";
|
|
6053
|
+
readonly Moto: "moto";
|
|
6054
|
+
}>;
|
|
6055
|
+
}
|
|
6056
|
+
/** @internal */
|
|
6057
|
+
export declare const CreatePaymentCardVerificationMethod$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardVerificationMethod>;
|
|
6058
|
+
/** @internal */
|
|
6059
|
+
export declare const CreatePaymentCardVerificationMethod$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentCardVerificationMethod>;
|
|
6060
|
+
/**
|
|
6061
|
+
* @internal
|
|
6062
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6063
|
+
*/
|
|
6064
|
+
export declare namespace CreatePaymentCardVerificationMethod$ {
|
|
6065
|
+
/** @deprecated use `CreatePaymentCardVerificationMethod$inboundSchema` instead. */
|
|
6066
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
6067
|
+
readonly NoCvmRequired: "no-cvm-required";
|
|
6068
|
+
readonly OnlinePin: "online-pin";
|
|
6069
|
+
readonly OfflinePin: "offline-pin";
|
|
6070
|
+
readonly ConsumerDevice: "consumer-device";
|
|
6071
|
+
readonly Signature: "signature";
|
|
6072
|
+
readonly SignatureAndOnlinePin: "signature-and-online-pin";
|
|
6073
|
+
readonly OnlinePinAndSignature: "online-pin-and-signature";
|
|
6074
|
+
readonly None: "none";
|
|
6075
|
+
readonly Failed: "failed";
|
|
6076
|
+
}>;
|
|
6077
|
+
/** @deprecated use `CreatePaymentCardVerificationMethod$outboundSchema` instead. */
|
|
6078
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
6079
|
+
readonly NoCvmRequired: "no-cvm-required";
|
|
6080
|
+
readonly OnlinePin: "online-pin";
|
|
6081
|
+
readonly OfflinePin: "offline-pin";
|
|
6082
|
+
readonly ConsumerDevice: "consumer-device";
|
|
6083
|
+
readonly Signature: "signature";
|
|
6084
|
+
readonly SignatureAndOnlinePin: "signature-and-online-pin";
|
|
6085
|
+
readonly OnlinePinAndSignature: "online-pin-and-signature";
|
|
6086
|
+
readonly None: "none";
|
|
6087
|
+
readonly Failed: "failed";
|
|
6088
|
+
}>;
|
|
6089
|
+
}
|
|
6090
|
+
/** @internal */
|
|
6091
|
+
export declare const CreatePaymentReceipt$inboundSchema: z.ZodType<CreatePaymentReceipt, z.ZodTypeDef, unknown>;
|
|
6092
|
+
/** @internal */
|
|
6093
|
+
export type CreatePaymentReceipt$Outbound = {
|
|
6094
|
+
authorizationCode?: string | null | undefined;
|
|
6095
|
+
applicationIdentifier?: string | null | undefined;
|
|
6096
|
+
cardReadMethod?: string | null | undefined;
|
|
6097
|
+
cardVerificationMethod?: string | null | undefined;
|
|
6098
|
+
};
|
|
6099
|
+
/** @internal */
|
|
6100
|
+
export declare const CreatePaymentReceipt$outboundSchema: z.ZodType<CreatePaymentReceipt$Outbound, z.ZodTypeDef, CreatePaymentReceipt>;
|
|
6101
|
+
/**
|
|
6102
|
+
* @internal
|
|
6103
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6104
|
+
*/
|
|
6105
|
+
export declare namespace CreatePaymentReceipt$ {
|
|
6106
|
+
/** @deprecated use `CreatePaymentReceipt$inboundSchema` instead. */
|
|
6107
|
+
const inboundSchema: z.ZodType<CreatePaymentReceipt, z.ZodTypeDef, unknown>;
|
|
6108
|
+
/** @deprecated use `CreatePaymentReceipt$outboundSchema` instead. */
|
|
6109
|
+
const outboundSchema: z.ZodType<CreatePaymentReceipt$Outbound, z.ZodTypeDef, CreatePaymentReceipt>;
|
|
6110
|
+
/** @deprecated use `CreatePaymentReceipt$Outbound` instead. */
|
|
6111
|
+
type Outbound = CreatePaymentReceipt$Outbound;
|
|
6112
|
+
}
|
|
6113
|
+
export declare function createPaymentReceiptToJSON(createPaymentReceipt: CreatePaymentReceipt): string;
|
|
6114
|
+
export declare function createPaymentReceiptFromJSON(jsonString: string): SafeParseResult<CreatePaymentReceipt, SDKValidationError>;
|
|
6115
|
+
/** @internal */
|
|
6116
|
+
export declare const CreatePaymentQrCode$inboundSchema: z.ZodType<CreatePaymentQrCode, z.ZodTypeDef, unknown>;
|
|
6117
|
+
/** @internal */
|
|
6118
|
+
export type CreatePaymentQrCode$Outbound = {
|
|
6119
|
+
height?: number | undefined;
|
|
6120
|
+
width?: number | undefined;
|
|
6121
|
+
src?: string | undefined;
|
|
6122
|
+
};
|
|
6123
|
+
/** @internal */
|
|
6124
|
+
export declare const CreatePaymentQrCode$outboundSchema: z.ZodType<CreatePaymentQrCode$Outbound, z.ZodTypeDef, CreatePaymentQrCode>;
|
|
6125
|
+
/**
|
|
6126
|
+
* @internal
|
|
6127
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6128
|
+
*/
|
|
6129
|
+
export declare namespace CreatePaymentQrCode$ {
|
|
6130
|
+
/** @deprecated use `CreatePaymentQrCode$inboundSchema` instead. */
|
|
6131
|
+
const inboundSchema: z.ZodType<CreatePaymentQrCode, z.ZodTypeDef, unknown>;
|
|
6132
|
+
/** @deprecated use `CreatePaymentQrCode$outboundSchema` instead. */
|
|
6133
|
+
const outboundSchema: z.ZodType<CreatePaymentQrCode$Outbound, z.ZodTypeDef, CreatePaymentQrCode>;
|
|
6134
|
+
/** @deprecated use `CreatePaymentQrCode$Outbound` instead. */
|
|
6135
|
+
type Outbound = CreatePaymentQrCode$Outbound;
|
|
6136
|
+
}
|
|
6137
|
+
export declare function createPaymentQrCodeToJSON(createPaymentQrCode: CreatePaymentQrCode): string;
|
|
6138
|
+
export declare function createPaymentQrCodeFromJSON(jsonString: string): SafeParseResult<CreatePaymentQrCode, SDKValidationError>;
|
|
6139
|
+
/** @internal */
|
|
6140
|
+
export declare const CreatePaymentRemainderAmount$inboundSchema: z.ZodType<CreatePaymentRemainderAmount, z.ZodTypeDef, unknown>;
|
|
6141
|
+
/** @internal */
|
|
6142
|
+
export type CreatePaymentRemainderAmount$Outbound = {
|
|
6143
|
+
currency: string;
|
|
6144
|
+
value: string;
|
|
6145
|
+
};
|
|
6146
|
+
/** @internal */
|
|
6147
|
+
export declare const CreatePaymentRemainderAmount$outboundSchema: z.ZodType<CreatePaymentRemainderAmount$Outbound, z.ZodTypeDef, CreatePaymentRemainderAmount>;
|
|
6148
|
+
/**
|
|
6149
|
+
* @internal
|
|
6150
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6151
|
+
*/
|
|
6152
|
+
export declare namespace CreatePaymentRemainderAmount$ {
|
|
6153
|
+
/** @deprecated use `CreatePaymentRemainderAmount$inboundSchema` instead. */
|
|
6154
|
+
const inboundSchema: z.ZodType<CreatePaymentRemainderAmount, z.ZodTypeDef, unknown>;
|
|
6155
|
+
/** @deprecated use `CreatePaymentRemainderAmount$outboundSchema` instead. */
|
|
6156
|
+
const outboundSchema: z.ZodType<CreatePaymentRemainderAmount$Outbound, z.ZodTypeDef, CreatePaymentRemainderAmount>;
|
|
6157
|
+
/** @deprecated use `CreatePaymentRemainderAmount$Outbound` instead. */
|
|
6158
|
+
type Outbound = CreatePaymentRemainderAmount$Outbound;
|
|
6159
|
+
}
|
|
6160
|
+
export declare function createPaymentRemainderAmountToJSON(createPaymentRemainderAmount: CreatePaymentRemainderAmount): string;
|
|
6161
|
+
export declare function createPaymentRemainderAmountFromJSON(jsonString: string): SafeParseResult<CreatePaymentRemainderAmount, SDKValidationError>;
|
|
6162
|
+
/** @internal */
|
|
6163
|
+
export declare const CreatePaymentDetails$inboundSchema: z.ZodType<CreatePaymentDetails, z.ZodTypeDef, unknown>;
|
|
6164
|
+
/** @internal */
|
|
6165
|
+
export type CreatePaymentDetails$Outbound = {
|
|
6166
|
+
consumerName?: string | null | undefined;
|
|
6167
|
+
consumerAccount?: string | null | undefined;
|
|
6168
|
+
consumerBic?: string | null | undefined;
|
|
6169
|
+
shippingAddress?: {
|
|
6170
|
+
[k: string]: any;
|
|
6171
|
+
} | null | undefined;
|
|
6172
|
+
cardNumber?: string | null | undefined;
|
|
6173
|
+
bankName?: string | undefined;
|
|
6174
|
+
bankAccount?: string | undefined;
|
|
6175
|
+
bankBic?: string | undefined;
|
|
6176
|
+
transferReference?: string | null | undefined;
|
|
6177
|
+
cardFingerprint?: string | null | undefined;
|
|
6178
|
+
cardHolder?: string | null | undefined;
|
|
6179
|
+
cardAudition?: string | null | undefined;
|
|
6180
|
+
cardLabel?: string | null | undefined;
|
|
6181
|
+
cardCountryCode?: string | null | undefined;
|
|
6182
|
+
cardExpiryDate?: string | null | undefined;
|
|
6183
|
+
cardFunding?: string | null | undefined;
|
|
6184
|
+
cardSecurity?: string | null | undefined;
|
|
6185
|
+
feeRegion?: string | null | undefined;
|
|
6186
|
+
cardMaskedNumber?: string | null | undefined;
|
|
6187
|
+
card3dsEci?: string | null | undefined;
|
|
6188
|
+
cardBin?: string | null | undefined;
|
|
6189
|
+
cardIssuer?: string | null | undefined;
|
|
6190
|
+
failureReason?: string | null | undefined;
|
|
6191
|
+
failureMessage?: string | null | undefined;
|
|
6192
|
+
wallet?: string | null | undefined;
|
|
6193
|
+
paypalReference?: string | null | undefined;
|
|
6194
|
+
paypalPayerId?: string | null | undefined;
|
|
6195
|
+
sellerProtection?: string | null | undefined;
|
|
6196
|
+
paypalFee?: CreatePaymentPaypalFee$Outbound | null | undefined;
|
|
6197
|
+
customerReference?: string | undefined;
|
|
6198
|
+
terminalId?: string | undefined;
|
|
6199
|
+
maskedNumber?: string | null | undefined;
|
|
6200
|
+
receipt?: CreatePaymentReceipt$Outbound | undefined;
|
|
6201
|
+
creditorIdentifier?: string | null | undefined;
|
|
6202
|
+
dueDate?: string | null | undefined;
|
|
6203
|
+
signatureDate?: string | null | undefined;
|
|
6204
|
+
bankReasonCode?: string | null | undefined;
|
|
6205
|
+
bankReason?: string | null | undefined;
|
|
6206
|
+
endToEndIdentifier?: string | null | undefined;
|
|
6207
|
+
mandateReference?: string | null | undefined;
|
|
6208
|
+
batchReference?: string | null | undefined;
|
|
6209
|
+
fileReference?: string | null | undefined;
|
|
6210
|
+
qrCode?: CreatePaymentQrCode$Outbound | undefined;
|
|
6211
|
+
voucherNumber?: string | undefined;
|
|
6212
|
+
giftcards?: Array<{
|
|
6213
|
+
[k: string]: any;
|
|
6214
|
+
}> | undefined;
|
|
6215
|
+
issuer?: string | undefined;
|
|
6216
|
+
vouchers?: Array<{
|
|
6217
|
+
[k: string]: any;
|
|
6218
|
+
}> | undefined;
|
|
6219
|
+
remainderAmount?: CreatePaymentRemainderAmount$Outbound | undefined;
|
|
6220
|
+
remainderMethod?: string | undefined;
|
|
6221
|
+
remainderDetails?: {
|
|
6222
|
+
[k: string]: any;
|
|
6223
|
+
} | undefined;
|
|
6224
|
+
};
|
|
6225
|
+
/** @internal */
|
|
6226
|
+
export declare const CreatePaymentDetails$outboundSchema: z.ZodType<CreatePaymentDetails$Outbound, z.ZodTypeDef, CreatePaymentDetails>;
|
|
6227
|
+
/**
|
|
6228
|
+
* @internal
|
|
6229
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6230
|
+
*/
|
|
6231
|
+
export declare namespace CreatePaymentDetails$ {
|
|
6232
|
+
/** @deprecated use `CreatePaymentDetails$inboundSchema` instead. */
|
|
6233
|
+
const inboundSchema: z.ZodType<CreatePaymentDetails, z.ZodTypeDef, unknown>;
|
|
6234
|
+
/** @deprecated use `CreatePaymentDetails$outboundSchema` instead. */
|
|
6235
|
+
const outboundSchema: z.ZodType<CreatePaymentDetails$Outbound, z.ZodTypeDef, CreatePaymentDetails>;
|
|
6236
|
+
/** @deprecated use `CreatePaymentDetails$Outbound` instead. */
|
|
6237
|
+
type Outbound = CreatePaymentDetails$Outbound;
|
|
6238
|
+
}
|
|
6239
|
+
export declare function createPaymentDetailsToJSON(createPaymentDetails: CreatePaymentDetails): string;
|
|
6240
|
+
export declare function createPaymentDetailsFromJSON(jsonString: string): SafeParseResult<CreatePaymentDetails, SDKValidationError>;
|
|
6241
|
+
/** @internal */
|
|
4712
6242
|
export declare const CreatePaymentSelfResponse$inboundSchema: z.ZodType<CreatePaymentSelfResponse, z.ZodTypeDef, unknown>;
|
|
4713
6243
|
/** @internal */
|
|
4714
6244
|
export type CreatePaymentSelfResponse$Outbound = {
|
|
@@ -5054,6 +6584,52 @@ export declare namespace CreatePaymentDocumentation$ {
|
|
|
5054
6584
|
export declare function createPaymentDocumentationToJSON(createPaymentDocumentation: CreatePaymentDocumentation): string;
|
|
5055
6585
|
export declare function createPaymentDocumentationFromJSON(jsonString: string): SafeParseResult<CreatePaymentDocumentation, SDKValidationError>;
|
|
5056
6586
|
/** @internal */
|
|
6587
|
+
export declare const CreatePaymentLinksStatus$inboundSchema: z.ZodType<CreatePaymentLinksStatus, z.ZodTypeDef, unknown>;
|
|
6588
|
+
/** @internal */
|
|
6589
|
+
export type CreatePaymentLinksStatus$Outbound = {
|
|
6590
|
+
href: string;
|
|
6591
|
+
type: string;
|
|
6592
|
+
};
|
|
6593
|
+
/** @internal */
|
|
6594
|
+
export declare const CreatePaymentLinksStatus$outboundSchema: z.ZodType<CreatePaymentLinksStatus$Outbound, z.ZodTypeDef, CreatePaymentLinksStatus>;
|
|
6595
|
+
/**
|
|
6596
|
+
* @internal
|
|
6597
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6598
|
+
*/
|
|
6599
|
+
export declare namespace CreatePaymentLinksStatus$ {
|
|
6600
|
+
/** @deprecated use `CreatePaymentLinksStatus$inboundSchema` instead. */
|
|
6601
|
+
const inboundSchema: z.ZodType<CreatePaymentLinksStatus, z.ZodTypeDef, unknown>;
|
|
6602
|
+
/** @deprecated use `CreatePaymentLinksStatus$outboundSchema` instead. */
|
|
6603
|
+
const outboundSchema: z.ZodType<CreatePaymentLinksStatus$Outbound, z.ZodTypeDef, CreatePaymentLinksStatus>;
|
|
6604
|
+
/** @deprecated use `CreatePaymentLinksStatus$Outbound` instead. */
|
|
6605
|
+
type Outbound = CreatePaymentLinksStatus$Outbound;
|
|
6606
|
+
}
|
|
6607
|
+
export declare function createPaymentLinksStatusToJSON(createPaymentLinksStatus: CreatePaymentLinksStatus): string;
|
|
6608
|
+
export declare function createPaymentLinksStatusFromJSON(jsonString: string): SafeParseResult<CreatePaymentLinksStatus, SDKValidationError>;
|
|
6609
|
+
/** @internal */
|
|
6610
|
+
export declare const CreatePaymentPayOnline$inboundSchema: z.ZodType<CreatePaymentPayOnline, z.ZodTypeDef, unknown>;
|
|
6611
|
+
/** @internal */
|
|
6612
|
+
export type CreatePaymentPayOnline$Outbound = {
|
|
6613
|
+
href: string;
|
|
6614
|
+
type: string;
|
|
6615
|
+
};
|
|
6616
|
+
/** @internal */
|
|
6617
|
+
export declare const CreatePaymentPayOnline$outboundSchema: z.ZodType<CreatePaymentPayOnline$Outbound, z.ZodTypeDef, CreatePaymentPayOnline>;
|
|
6618
|
+
/**
|
|
6619
|
+
* @internal
|
|
6620
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6621
|
+
*/
|
|
6622
|
+
export declare namespace CreatePaymentPayOnline$ {
|
|
6623
|
+
/** @deprecated use `CreatePaymentPayOnline$inboundSchema` instead. */
|
|
6624
|
+
const inboundSchema: z.ZodType<CreatePaymentPayOnline, z.ZodTypeDef, unknown>;
|
|
6625
|
+
/** @deprecated use `CreatePaymentPayOnline$outboundSchema` instead. */
|
|
6626
|
+
const outboundSchema: z.ZodType<CreatePaymentPayOnline$Outbound, z.ZodTypeDef, CreatePaymentPayOnline>;
|
|
6627
|
+
/** @deprecated use `CreatePaymentPayOnline$Outbound` instead. */
|
|
6628
|
+
type Outbound = CreatePaymentPayOnline$Outbound;
|
|
6629
|
+
}
|
|
6630
|
+
export declare function createPaymentPayOnlineToJSON(createPaymentPayOnline: CreatePaymentPayOnline): string;
|
|
6631
|
+
export declare function createPaymentPayOnlineFromJSON(jsonString: string): SafeParseResult<CreatePaymentPayOnline, SDKValidationError>;
|
|
6632
|
+
/** @internal */
|
|
5057
6633
|
export declare const CreatePaymentLinksResponse$inboundSchema: z.ZodType<CreatePaymentLinksResponse, z.ZodTypeDef, unknown>;
|
|
5058
6634
|
/** @internal */
|
|
5059
6635
|
export type CreatePaymentLinksResponse$Outbound = {
|
|
@@ -5072,6 +6648,8 @@ export type CreatePaymentLinksResponse$Outbound = {
|
|
|
5072
6648
|
order?: CreatePaymentOrder$Outbound | undefined;
|
|
5073
6649
|
terminal?: CreatePaymentTerminal$Outbound | undefined;
|
|
5074
6650
|
documentation?: CreatePaymentDocumentation$Outbound | undefined;
|
|
6651
|
+
status?: CreatePaymentLinksStatus$Outbound | undefined;
|
|
6652
|
+
payOnline?: CreatePaymentPayOnline$Outbound | undefined;
|
|
5075
6653
|
};
|
|
5076
6654
|
/** @internal */
|
|
5077
6655
|
export declare const CreatePaymentLinksResponse$outboundSchema: z.ZodType<CreatePaymentLinksResponse$Outbound, z.ZodTypeDef, CreatePaymentLinksResponse>;
|
|
@@ -5131,9 +6709,7 @@ export type CreatePaymentResponse$Outbound = {
|
|
|
5131
6709
|
status: string;
|
|
5132
6710
|
statusReason?: CreatePaymentStatusReason$Outbound | null | undefined;
|
|
5133
6711
|
isCancelable?: boolean | null | undefined;
|
|
5134
|
-
details?:
|
|
5135
|
-
[k: string]: any;
|
|
5136
|
-
} | null | undefined;
|
|
6712
|
+
details?: CreatePaymentDetails$Outbound | null | undefined;
|
|
5137
6713
|
createdAt: string;
|
|
5138
6714
|
authorizedAt?: string | null | undefined;
|
|
5139
6715
|
paidAt?: string | null | undefined;
|