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
|
export type CancelPaymentRequestBody = {
|
|
6
7
|
/**
|
|
@@ -399,7 +400,7 @@ export type CancelPaymentLine = {
|
|
|
399
400
|
* An array with the voucher categories, in case of a line eligible for a voucher. See the
|
|
400
401
|
*
|
|
401
402
|
* @remarks
|
|
402
|
-
* [Integrating Vouchers](integrating-vouchers) guide for more information.
|
|
403
|
+
* [Integrating Vouchers](https://docs.mollie.com/docs/integrating-vouchers/) guide for more information.
|
|
403
404
|
*/
|
|
404
405
|
categories?: Array<CancelPaymentCategory> | undefined;
|
|
405
406
|
/**
|
|
@@ -964,7 +965,7 @@ export type CancelPaymentSequenceType = ClosedEnum<typeof CancelPaymentSequenceT
|
|
|
964
965
|
* @remarks
|
|
965
966
|
* statuses occur at what point.
|
|
966
967
|
*/
|
|
967
|
-
export declare const
|
|
968
|
+
export declare const CancelPaymentStatusEnum: {
|
|
968
969
|
readonly Open: "open";
|
|
969
970
|
readonly Pending: "pending";
|
|
970
971
|
readonly Authorized: "authorized";
|
|
@@ -979,7 +980,132 @@ export declare const CancelPaymentStatus: {
|
|
|
979
980
|
* @remarks
|
|
980
981
|
* statuses occur at what point.
|
|
981
982
|
*/
|
|
982
|
-
export type
|
|
983
|
+
export type CancelPaymentStatusEnum = ClosedEnum<typeof CancelPaymentStatusEnum>;
|
|
984
|
+
/**
|
|
985
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
986
|
+
*/
|
|
987
|
+
export declare const CancelPaymentCode: {
|
|
988
|
+
readonly ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully";
|
|
989
|
+
readonly ReferToCardIssuer: "refer_to_card_issuer";
|
|
990
|
+
readonly InvalidMerchant: "invalid_merchant";
|
|
991
|
+
readonly CaptureCard: "capture_card";
|
|
992
|
+
readonly DoNotHonor: "do_not_honor";
|
|
993
|
+
readonly Error: "error";
|
|
994
|
+
readonly PartialApproval: "partial_approval";
|
|
995
|
+
readonly InvalidTransaction: "invalid_transaction";
|
|
996
|
+
readonly InvalidAmount: "invalid_amount";
|
|
997
|
+
readonly InvalidIssuer: "invalid_issuer";
|
|
998
|
+
readonly LostCard: "lost_card";
|
|
999
|
+
readonly StolenCard: "stolen_card";
|
|
1000
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
1001
|
+
readonly ExpiredCard: "expired_card";
|
|
1002
|
+
readonly InvalidPin: "invalid_pin";
|
|
1003
|
+
readonly TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder";
|
|
1004
|
+
readonly TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal";
|
|
1005
|
+
readonly ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit";
|
|
1006
|
+
readonly RestrictedCard: "restricted_card";
|
|
1007
|
+
readonly SecurityViolation: "security_violation";
|
|
1008
|
+
readonly ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit";
|
|
1009
|
+
readonly AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded";
|
|
1010
|
+
readonly NoReasonToDecline: "no_reason_to_decline";
|
|
1011
|
+
readonly CannotVerifyPin: "cannot_verify_pin";
|
|
1012
|
+
readonly IssuerUnavailable: "issuer_unavailable";
|
|
1013
|
+
readonly UnableToRouteTransaction: "unable_to_route_transaction";
|
|
1014
|
+
readonly DuplicateTransaction: "duplicate_transaction";
|
|
1015
|
+
readonly SystemMalfunction: "system_malfunction";
|
|
1016
|
+
readonly HonorWithId: "honor_with_id";
|
|
1017
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
1018
|
+
readonly FormatError: "format_error";
|
|
1019
|
+
readonly ContactCardIssuer: "contact_card_issuer";
|
|
1020
|
+
readonly PinNotChanged: "pin_not_changed";
|
|
1021
|
+
readonly InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified";
|
|
1022
|
+
readonly InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified";
|
|
1023
|
+
readonly InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified";
|
|
1024
|
+
readonly LifecycleRelated: "lifecycle_related";
|
|
1025
|
+
readonly DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed";
|
|
1026
|
+
readonly PolicyRelated: "policy_related";
|
|
1027
|
+
readonly FraudSecurityRelated: "fraud_security_related";
|
|
1028
|
+
readonly InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle";
|
|
1029
|
+
readonly PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed";
|
|
1030
|
+
readonly CryptographicFailure: "cryptographic_failure";
|
|
1031
|
+
readonly UnacceptablePin: "unacceptable_pin";
|
|
1032
|
+
readonly ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition";
|
|
1033
|
+
readonly PickUpCardSpecialCondition: "pick_up_card_special_condition";
|
|
1034
|
+
readonly VipApproval: "vip_approval";
|
|
1035
|
+
readonly InvalidAccountNumber: "invalid_account_number";
|
|
1036
|
+
readonly ReEnterTransaction: "re_enter_transaction";
|
|
1037
|
+
readonly NoActionTaken: "no_action_taken";
|
|
1038
|
+
readonly UnableToLocateRecord: "unable_to_locate_record";
|
|
1039
|
+
readonly FileTemporarilyUnavailable: "file_temporarily_unavailable";
|
|
1040
|
+
readonly NoCreditAccount: "no_credit_account";
|
|
1041
|
+
readonly ClosedAccount: "closed_account";
|
|
1042
|
+
readonly NoCheckingAccount: "no_checking_account";
|
|
1043
|
+
readonly NoSavingsAccount: "no_savings_account";
|
|
1044
|
+
readonly SuspectedFraud: "suspected_fraud";
|
|
1045
|
+
readonly TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement";
|
|
1046
|
+
readonly PinDataRequired: "pin_data_required";
|
|
1047
|
+
readonly UnableToLocatePreviousMessage: "unable_to_locate_previous_message";
|
|
1048
|
+
readonly PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data";
|
|
1049
|
+
readonly BlockedFirstUsed: "blocked_first_used";
|
|
1050
|
+
readonly TransactionReversed: "transaction_reversed";
|
|
1051
|
+
readonly CreditIssuerUnavailable: "credit_issuer_unavailable";
|
|
1052
|
+
readonly PinCryptographicErrorFound: "pin_cryptographic_error_found";
|
|
1053
|
+
readonly NegativeOnlineCamResult: "negative_online_cam_result";
|
|
1054
|
+
readonly ViolationOfLaw: "violation_of_law";
|
|
1055
|
+
readonly ForceStip: "force_stip";
|
|
1056
|
+
readonly CashServiceNotAvailable: "cash_service_not_available";
|
|
1057
|
+
readonly CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit";
|
|
1058
|
+
readonly DeclineForCvv2Failure: "decline_for_cvv2_failure";
|
|
1059
|
+
readonly TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount";
|
|
1060
|
+
readonly InvalidBillerInformation: "invalid_biller_information";
|
|
1061
|
+
readonly PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined";
|
|
1062
|
+
readonly UnsafePin: "unsafe_pin";
|
|
1063
|
+
readonly CardAuthenticationFailed: "card_authentication_failed";
|
|
1064
|
+
readonly StopPaymentOrder: "stop_payment_order";
|
|
1065
|
+
readonly RevocationOfAuthorization: "revocation_of_authorization";
|
|
1066
|
+
readonly RevocationOfAllAuthorizations: "revocation_of_all_authorizations";
|
|
1067
|
+
readonly ForwardToIssuerXa: "forward_to_issuer_xa";
|
|
1068
|
+
readonly ForwardToIssuerXd: "forward_to_issuer_xd";
|
|
1069
|
+
readonly UnableToGoOnline: "unable_to_go_online";
|
|
1070
|
+
readonly AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required";
|
|
1071
|
+
readonly MerchantIdNotFound: "merchant_id_not_found";
|
|
1072
|
+
readonly MerchantAccountClosed: "merchant_account_closed";
|
|
1073
|
+
readonly TerminalIdNotFound: "terminal_id_not_found";
|
|
1074
|
+
readonly TerminalClosed: "terminal_closed";
|
|
1075
|
+
readonly InvalidCategoryCode: "invalid_category_code";
|
|
1076
|
+
readonly InvalidCurrency: "invalid_currency";
|
|
1077
|
+
readonly MissingCvv2Cvc2: "missing_cvv2_cvc2";
|
|
1078
|
+
readonly Cvv2NotAllowed: "cvv2_not_allowed";
|
|
1079
|
+
readonly MerchantNotRegisteredVbv: "merchant_not_registered_vbv";
|
|
1080
|
+
readonly MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex";
|
|
1081
|
+
readonly TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal";
|
|
1082
|
+
readonly AgreementTerminalNotRelated: "agreement_terminal_not_related";
|
|
1083
|
+
readonly InvalidProcessorId: "invalid_processor_id";
|
|
1084
|
+
readonly InvalidMerchantData: "invalid_merchant_data";
|
|
1085
|
+
readonly SubMerchantAccountClosed: "sub_merchant_account_closed";
|
|
1086
|
+
readonly TerminalBusy: "terminal_busy";
|
|
1087
|
+
readonly TerminalUnreachable: "terminal_unreachable";
|
|
1088
|
+
readonly ServiceFailed: "service_failed";
|
|
1089
|
+
readonly InvalidOperation: "invalid_operation";
|
|
1090
|
+
readonly AuthorizationError: "authorization_error";
|
|
1091
|
+
readonly LoginFailedWithoutReason: "login_failed_without_reason";
|
|
1092
|
+
readonly InvalidRetailer: "invalid_retailer";
|
|
1093
|
+
readonly CardDoesNotExist: "card_does_not_exist";
|
|
1094
|
+
readonly CardIsBlocked: "card_is_blocked";
|
|
1095
|
+
readonly InvalidCardId: "invalid_card_id";
|
|
1096
|
+
readonly CardIsTransferred: "card_is_transferred";
|
|
1097
|
+
readonly CardIsNotActive: "card_is_not_active";
|
|
1098
|
+
readonly IncorrectPurchaseValue: "incorrect_purchase_value";
|
|
1099
|
+
readonly CardNotAvailable: "card_not_available";
|
|
1100
|
+
readonly WrongCurrency: "wrong_currency";
|
|
1101
|
+
readonly LoginFailedUnknownUser: "login_failed_unknown_user";
|
|
1102
|
+
readonly LoginFailedInvalidPassword: "login_failed_invalid_password";
|
|
1103
|
+
readonly InvalidEanCode: "invalid_ean_code";
|
|
1104
|
+
};
|
|
1105
|
+
/**
|
|
1106
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
1107
|
+
*/
|
|
1108
|
+
export type CancelPaymentCode = ClosedEnum<typeof CancelPaymentCode>;
|
|
983
1109
|
/**
|
|
984
1110
|
* This object offers details about the status of a payment. Currently it is only available for point-of-sale
|
|
985
1111
|
*
|
|
@@ -990,15 +1116,518 @@ export type CancelPaymentStatus = ClosedEnum<typeof CancelPaymentStatus>;
|
|
|
990
1116
|
* [this page](status-reasons).**
|
|
991
1117
|
*/
|
|
992
1118
|
export type CancelPaymentStatusReason = {
|
|
993
|
-
|
|
994
|
-
* A machine-readable code that indicates the reason for the payment's status.
|
|
995
|
-
*/
|
|
996
|
-
code: string;
|
|
1119
|
+
code: CancelPaymentCode;
|
|
997
1120
|
/**
|
|
998
1121
|
* A description of the status reason, localized according to the payment `locale`.
|
|
999
1122
|
*/
|
|
1000
1123
|
message: string;
|
|
1001
1124
|
};
|
|
1125
|
+
/**
|
|
1126
|
+
* The card's target audience, if known.
|
|
1127
|
+
*/
|
|
1128
|
+
export declare const CancelPaymentCardAudition: {
|
|
1129
|
+
readonly Consumer: "consumer";
|
|
1130
|
+
readonly Business: "business";
|
|
1131
|
+
};
|
|
1132
|
+
/**
|
|
1133
|
+
* The card's target audience, if known.
|
|
1134
|
+
*/
|
|
1135
|
+
export type CancelPaymentCardAudition = ClosedEnum<typeof CancelPaymentCardAudition>;
|
|
1136
|
+
/**
|
|
1137
|
+
* The card's label, if known.
|
|
1138
|
+
*/
|
|
1139
|
+
export declare const CancelPaymentCardLabel: {
|
|
1140
|
+
readonly AmericanExpress: "American Express";
|
|
1141
|
+
readonly CartaSi: "Carta Si";
|
|
1142
|
+
readonly CarteBleue: "Carte Bleue";
|
|
1143
|
+
readonly Dankort: "Dankort";
|
|
1144
|
+
readonly DinersClub: "Diners Club";
|
|
1145
|
+
readonly Discover: "Discover";
|
|
1146
|
+
readonly Jcb: "JCB";
|
|
1147
|
+
readonly Laser: "Laser";
|
|
1148
|
+
readonly Maestro: "Maestro";
|
|
1149
|
+
readonly Mastercard: "Mastercard";
|
|
1150
|
+
readonly Unionpay: "Unionpay";
|
|
1151
|
+
readonly Visa: "Visa";
|
|
1152
|
+
readonly Vpay: "Vpay";
|
|
1153
|
+
};
|
|
1154
|
+
/**
|
|
1155
|
+
* The card's label, if known.
|
|
1156
|
+
*/
|
|
1157
|
+
export type CancelPaymentCardLabel = ClosedEnum<typeof CancelPaymentCardLabel>;
|
|
1158
|
+
/**
|
|
1159
|
+
* The card type.
|
|
1160
|
+
*/
|
|
1161
|
+
export declare const CancelPaymentCardFunding: {
|
|
1162
|
+
readonly Debit: "debit";
|
|
1163
|
+
readonly Credit: "credit";
|
|
1164
|
+
readonly Prepaid: "prepaid";
|
|
1165
|
+
readonly DeferredDebit: "deferred-debit";
|
|
1166
|
+
};
|
|
1167
|
+
/**
|
|
1168
|
+
* The card type.
|
|
1169
|
+
*/
|
|
1170
|
+
export type CancelPaymentCardFunding = ClosedEnum<typeof CancelPaymentCardFunding>;
|
|
1171
|
+
/**
|
|
1172
|
+
* The level of security applied during card processing.
|
|
1173
|
+
*/
|
|
1174
|
+
export declare const CancelPaymentCardSecurity: {
|
|
1175
|
+
readonly Normal: "normal";
|
|
1176
|
+
readonly Threedsecure: "3dsecure";
|
|
1177
|
+
};
|
|
1178
|
+
/**
|
|
1179
|
+
* The level of security applied during card processing.
|
|
1180
|
+
*/
|
|
1181
|
+
export type CancelPaymentCardSecurity = ClosedEnum<typeof CancelPaymentCardSecurity>;
|
|
1182
|
+
/**
|
|
1183
|
+
* The applicable card fee region.
|
|
1184
|
+
*/
|
|
1185
|
+
export declare const CancelPaymentFeeRegion: {
|
|
1186
|
+
readonly AmericanExpress: "american-express";
|
|
1187
|
+
readonly AmexIntraEea: "amex-intra-eea";
|
|
1188
|
+
readonly CarteBancaire: "carte-bancaire";
|
|
1189
|
+
readonly IntraEu: "intra-eu";
|
|
1190
|
+
readonly IntraEuCorporate: "intra-eu-corporate";
|
|
1191
|
+
readonly Domestic: "domestic";
|
|
1192
|
+
readonly Maestro: "maestro";
|
|
1193
|
+
readonly Other: "other";
|
|
1194
|
+
readonly Inter: "inter";
|
|
1195
|
+
readonly IntraEea: "intra-eea";
|
|
1196
|
+
};
|
|
1197
|
+
/**
|
|
1198
|
+
* The applicable card fee region.
|
|
1199
|
+
*/
|
|
1200
|
+
export type CancelPaymentFeeRegion = ClosedEnum<typeof CancelPaymentFeeRegion>;
|
|
1201
|
+
/**
|
|
1202
|
+
* A failure code to help understand why the payment failed.
|
|
1203
|
+
*/
|
|
1204
|
+
export declare const CancelPaymentFailureReason: {
|
|
1205
|
+
readonly AuthenticationAbandoned: "authentication_abandoned";
|
|
1206
|
+
readonly AuthenticationFailed: "authentication_failed";
|
|
1207
|
+
readonly AuthenticationRequired: "authentication_required";
|
|
1208
|
+
readonly AuthenticationUnavailableAcs: "authentication_unavailable_acs";
|
|
1209
|
+
readonly CardDeclined: "card_declined";
|
|
1210
|
+
readonly CardExpired: "card_expired";
|
|
1211
|
+
readonly InactiveCard: "inactive_card";
|
|
1212
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
1213
|
+
readonly InvalidCvv: "invalid_cvv";
|
|
1214
|
+
readonly InvalidCardHolderName: "invalid_card_holder_name";
|
|
1215
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
1216
|
+
readonly InvalidCardType: "invalid_card_type";
|
|
1217
|
+
readonly PossibleFraud: "possible_fraud";
|
|
1218
|
+
readonly RefusedByIssuer: "refused_by_issuer";
|
|
1219
|
+
readonly UnknownReason: "unknown_reason";
|
|
1220
|
+
};
|
|
1221
|
+
/**
|
|
1222
|
+
* A failure code to help understand why the payment failed.
|
|
1223
|
+
*/
|
|
1224
|
+
export type CancelPaymentFailureReason = ClosedEnum<typeof CancelPaymentFailureReason>;
|
|
1225
|
+
/**
|
|
1226
|
+
* The wallet used when creating the payment.
|
|
1227
|
+
*/
|
|
1228
|
+
export declare const CancelPaymentWallet: {
|
|
1229
|
+
readonly Applepay: "applepay";
|
|
1230
|
+
};
|
|
1231
|
+
/**
|
|
1232
|
+
* The wallet used when creating the payment.
|
|
1233
|
+
*/
|
|
1234
|
+
export type CancelPaymentWallet = ClosedEnum<typeof CancelPaymentWallet>;
|
|
1235
|
+
/**
|
|
1236
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
1237
|
+
*
|
|
1238
|
+
* @remarks
|
|
1239
|
+
* payments, and if the information is made available by PayPal.
|
|
1240
|
+
*/
|
|
1241
|
+
export declare const CancelPaymentSellerProtection: {
|
|
1242
|
+
readonly Eligible: "Eligible";
|
|
1243
|
+
readonly Ineligible: "Ineligible";
|
|
1244
|
+
readonly PartiallyEligibleINROnly: "Partially Eligible - INR Only";
|
|
1245
|
+
readonly PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only";
|
|
1246
|
+
readonly PartiallyEligible: "Partially Eligible";
|
|
1247
|
+
readonly None: "None";
|
|
1248
|
+
readonly Active: "Active";
|
|
1249
|
+
readonly FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible";
|
|
1250
|
+
};
|
|
1251
|
+
/**
|
|
1252
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
1253
|
+
*
|
|
1254
|
+
* @remarks
|
|
1255
|
+
* payments, and if the information is made available by PayPal.
|
|
1256
|
+
*/
|
|
1257
|
+
export type CancelPaymentSellerProtection = ClosedEnum<typeof CancelPaymentSellerProtection>;
|
|
1258
|
+
/**
|
|
1259
|
+
* An amount object containing the fee PayPal will charge for this transaction. The field may be omitted if
|
|
1260
|
+
*
|
|
1261
|
+
* @remarks
|
|
1262
|
+
* PayPal will not charge a fee for this transaction.
|
|
1263
|
+
*/
|
|
1264
|
+
export type CancelPaymentPaypalFee = {
|
|
1265
|
+
/**
|
|
1266
|
+
* A three-character ISO 4217 currency code.
|
|
1267
|
+
*/
|
|
1268
|
+
currency: string;
|
|
1269
|
+
/**
|
|
1270
|
+
* A string containing an exact monetary amount in the given currency.
|
|
1271
|
+
*/
|
|
1272
|
+
value: string;
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* The method by which the card was read by the terminal.
|
|
1276
|
+
*/
|
|
1277
|
+
export declare const CancelPaymentCardReadMethod: {
|
|
1278
|
+
readonly Chip: "chip";
|
|
1279
|
+
readonly MagneticStripe: "magnetic-stripe";
|
|
1280
|
+
readonly NearFieldCommunication: "near-field-communication";
|
|
1281
|
+
readonly Contactless: "contactless";
|
|
1282
|
+
readonly Moto: "moto";
|
|
1283
|
+
};
|
|
1284
|
+
/**
|
|
1285
|
+
* The method by which the card was read by the terminal.
|
|
1286
|
+
*/
|
|
1287
|
+
export type CancelPaymentCardReadMethod = ClosedEnum<typeof CancelPaymentCardReadMethod>;
|
|
1288
|
+
/**
|
|
1289
|
+
* The method used to verify the cardholder's identity.
|
|
1290
|
+
*/
|
|
1291
|
+
export declare const CancelPaymentCardVerificationMethod: {
|
|
1292
|
+
readonly NoCvmRequired: "no-cvm-required";
|
|
1293
|
+
readonly OnlinePin: "online-pin";
|
|
1294
|
+
readonly OfflinePin: "offline-pin";
|
|
1295
|
+
readonly ConsumerDevice: "consumer-device";
|
|
1296
|
+
readonly Signature: "signature";
|
|
1297
|
+
readonly SignatureAndOnlinePin: "signature-and-online-pin";
|
|
1298
|
+
readonly OnlinePinAndSignature: "online-pin-and-signature";
|
|
1299
|
+
readonly None: "none";
|
|
1300
|
+
readonly Failed: "failed";
|
|
1301
|
+
};
|
|
1302
|
+
/**
|
|
1303
|
+
* The method used to verify the cardholder's identity.
|
|
1304
|
+
*/
|
|
1305
|
+
export type CancelPaymentCardVerificationMethod = ClosedEnum<typeof CancelPaymentCardVerificationMethod>;
|
|
1306
|
+
/**
|
|
1307
|
+
* The Point of sale receipt object.
|
|
1308
|
+
*/
|
|
1309
|
+
export type CancelPaymentReceipt = {
|
|
1310
|
+
/**
|
|
1311
|
+
* A unique code provided by the cardholder’s bank to confirm that the transaction was successfully approved.
|
|
1312
|
+
*/
|
|
1313
|
+
authorizationCode?: string | null | undefined;
|
|
1314
|
+
/**
|
|
1315
|
+
* The unique number that identifies a specific payment application on a chip card.
|
|
1316
|
+
*/
|
|
1317
|
+
applicationIdentifier?: string | null | undefined;
|
|
1318
|
+
/**
|
|
1319
|
+
* The method by which the card was read by the terminal.
|
|
1320
|
+
*/
|
|
1321
|
+
cardReadMethod?: CancelPaymentCardReadMethod | null | undefined;
|
|
1322
|
+
/**
|
|
1323
|
+
* The method used to verify the cardholder's identity.
|
|
1324
|
+
*/
|
|
1325
|
+
cardVerificationMethod?: CancelPaymentCardVerificationMethod | null | undefined;
|
|
1326
|
+
};
|
|
1327
|
+
/**
|
|
1328
|
+
* Optional include. If a QR code was requested during payment creation for a QR-compatible payment method,
|
|
1329
|
+
*
|
|
1330
|
+
* @remarks
|
|
1331
|
+
* the QR code details will be available in this object.
|
|
1332
|
+
*
|
|
1333
|
+
* The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
|
|
1334
|
+
* Bancontact QR payments can be completed by the customer using the Bancontact app.
|
|
1335
|
+
*/
|
|
1336
|
+
export type CancelPaymentQrCode = {
|
|
1337
|
+
/**
|
|
1338
|
+
* The height of the QR code image in pixels.
|
|
1339
|
+
*/
|
|
1340
|
+
height?: number | undefined;
|
|
1341
|
+
/**
|
|
1342
|
+
* The width of the QR code image in pixels.
|
|
1343
|
+
*/
|
|
1344
|
+
width?: number | undefined;
|
|
1345
|
+
/**
|
|
1346
|
+
* The URL to the QR code image. The image is a PNG file, and can be displayed directly in the browser or
|
|
1347
|
+
*
|
|
1348
|
+
* @remarks
|
|
1349
|
+
* downloaded.
|
|
1350
|
+
*/
|
|
1351
|
+
src?: string | undefined;
|
|
1352
|
+
};
|
|
1353
|
+
/**
|
|
1354
|
+
* An amount object for the amount that remained after all gift cards or vouchers were applied.
|
|
1355
|
+
*/
|
|
1356
|
+
export type CancelPaymentRemainderAmount = {
|
|
1357
|
+
/**
|
|
1358
|
+
* A three-character ISO 4217 currency code.
|
|
1359
|
+
*/
|
|
1360
|
+
currency: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* A string containing an exact monetary amount in the given currency.
|
|
1363
|
+
*/
|
|
1364
|
+
value: string;
|
|
1365
|
+
};
|
|
1366
|
+
/**
|
|
1367
|
+
* An object containing payment details collected during the payment process. For example, details may include the
|
|
1368
|
+
*
|
|
1369
|
+
* @remarks
|
|
1370
|
+
* customer's card or bank details and a payment reference. For the full list of details, please refer to the
|
|
1371
|
+
* [method-specific parameters](extra-payment-parameters) guide.
|
|
1372
|
+
*/
|
|
1373
|
+
export type CancelPaymentDetails = {
|
|
1374
|
+
/**
|
|
1375
|
+
* The customer's name, if made available by the payment method. For card payments, refer to details.cardHolder.
|
|
1376
|
+
*/
|
|
1377
|
+
consumerName?: string | null | undefined;
|
|
1378
|
+
/**
|
|
1379
|
+
* The customer's account reference.
|
|
1380
|
+
*
|
|
1381
|
+
* @remarks
|
|
1382
|
+
*
|
|
1383
|
+
* For banking-based payment methods — such as iDEAL — this is normally either an IBAN or a domestic bank account
|
|
1384
|
+
* number.
|
|
1385
|
+
*
|
|
1386
|
+
* For PayPal, the account reference is an email address.
|
|
1387
|
+
*
|
|
1388
|
+
* For card and Bancontact payments, refer to details.cardNumber.
|
|
1389
|
+
*/
|
|
1390
|
+
consumerAccount?: string | null | undefined;
|
|
1391
|
+
/**
|
|
1392
|
+
* The BIC of the customer's bank account, if applicable.
|
|
1393
|
+
*/
|
|
1394
|
+
consumerBic?: string | null | undefined;
|
|
1395
|
+
/**
|
|
1396
|
+
* For wallet payment methods — such as Apple Pay and PayPal — the shipping address is often already known by the
|
|
1397
|
+
*
|
|
1398
|
+
* @remarks
|
|
1399
|
+
* wallet provider. In these cases the shipping address may be available as a payment detail.
|
|
1400
|
+
*/
|
|
1401
|
+
shippingAddress?: {
|
|
1402
|
+
[k: string]: any;
|
|
1403
|
+
} | null | undefined;
|
|
1404
|
+
/**
|
|
1405
|
+
* For bancontact, it will be the customer's masked card number. For cards, it will be the last 4-digit of the
|
|
1406
|
+
*
|
|
1407
|
+
* @remarks
|
|
1408
|
+
* PAN. For Point-of-sale, it will be the the last 4 digits of the customer's masked card number.
|
|
1409
|
+
*/
|
|
1410
|
+
cardNumber?: string | null | undefined;
|
|
1411
|
+
/**
|
|
1412
|
+
* The name of the bank that the customer will need to make the bank transfer payment towards.
|
|
1413
|
+
*/
|
|
1414
|
+
bankName?: string | undefined;
|
|
1415
|
+
/**
|
|
1416
|
+
* The bank account number the customer will need to make the bank transfer payment towards.
|
|
1417
|
+
*/
|
|
1418
|
+
bankAccount?: string | undefined;
|
|
1419
|
+
/**
|
|
1420
|
+
* The BIC of the bank the customer will need to make the bank transfer payment towards.
|
|
1421
|
+
*/
|
|
1422
|
+
bankBic?: string | undefined;
|
|
1423
|
+
/**
|
|
1424
|
+
* The Mollie-generated reference the customer needs to use when transfering the amount. Do not apply any
|
|
1425
|
+
*
|
|
1426
|
+
* @remarks
|
|
1427
|
+
* formatting here; show it to the customer as-is.
|
|
1428
|
+
*/
|
|
1429
|
+
transferReference?: string | null | undefined;
|
|
1430
|
+
/**
|
|
1431
|
+
* A unique fingerprint for a specific card. Can be used to identify returning customers.
|
|
1432
|
+
*
|
|
1433
|
+
* @remarks
|
|
1434
|
+
*
|
|
1435
|
+
* In the case of Point-of-sale payments, it's a unique identifier assigned to a cardholder's payment account,
|
|
1436
|
+
* linking multiple transactions from wallets and physical card to a single account, also across payment methods
|
|
1437
|
+
* or when the card is reissued.
|
|
1438
|
+
*/
|
|
1439
|
+
cardFingerprint?: string | null | undefined;
|
|
1440
|
+
/**
|
|
1441
|
+
* The customer's name as shown on their card.
|
|
1442
|
+
*/
|
|
1443
|
+
cardHolder?: string | null | undefined;
|
|
1444
|
+
/**
|
|
1445
|
+
* The card's target audience, if known.
|
|
1446
|
+
*/
|
|
1447
|
+
cardAudition?: CancelPaymentCardAudition | null | undefined;
|
|
1448
|
+
/**
|
|
1449
|
+
* The card's label, if known.
|
|
1450
|
+
*/
|
|
1451
|
+
cardLabel?: CancelPaymentCardLabel | null | undefined;
|
|
1452
|
+
/**
|
|
1453
|
+
* The ISO 3166-1 alpha-2 country code of the country the card was issued in.
|
|
1454
|
+
*/
|
|
1455
|
+
cardCountryCode?: string | null | undefined;
|
|
1456
|
+
/**
|
|
1457
|
+
* The expiry date (MM/YY) of the card as displayed on the card.
|
|
1458
|
+
*/
|
|
1459
|
+
cardExpiryDate?: string | null | undefined;
|
|
1460
|
+
/**
|
|
1461
|
+
* The card type.
|
|
1462
|
+
*/
|
|
1463
|
+
cardFunding?: CancelPaymentCardFunding | null | undefined;
|
|
1464
|
+
/**
|
|
1465
|
+
* The level of security applied during card processing.
|
|
1466
|
+
*/
|
|
1467
|
+
cardSecurity?: CancelPaymentCardSecurity | null | undefined;
|
|
1468
|
+
/**
|
|
1469
|
+
* The applicable card fee region.
|
|
1470
|
+
*/
|
|
1471
|
+
feeRegion?: CancelPaymentFeeRegion | null | undefined;
|
|
1472
|
+
/**
|
|
1473
|
+
* The first 6 and last 4 digits of the card number.
|
|
1474
|
+
*/
|
|
1475
|
+
cardMaskedNumber?: string | null | undefined;
|
|
1476
|
+
/**
|
|
1477
|
+
* The outcome of authentication attempted on transactions enforced by 3DS (ie valid only for oneoff and first).
|
|
1478
|
+
*/
|
|
1479
|
+
card3dsEci?: string | null | undefined;
|
|
1480
|
+
/**
|
|
1481
|
+
* The first 6 digit of the card bank identification number.
|
|
1482
|
+
*/
|
|
1483
|
+
cardBin?: string | null | undefined;
|
|
1484
|
+
/**
|
|
1485
|
+
* The issuer of the Card.
|
|
1486
|
+
*/
|
|
1487
|
+
cardIssuer?: string | null | undefined;
|
|
1488
|
+
/**
|
|
1489
|
+
* A failure code to help understand why the payment failed.
|
|
1490
|
+
*/
|
|
1491
|
+
failureReason?: CancelPaymentFailureReason | null | undefined;
|
|
1492
|
+
/**
|
|
1493
|
+
* A human-friendly failure message that can be shown to the customer. The message is translated in accordance
|
|
1494
|
+
*
|
|
1495
|
+
* @remarks
|
|
1496
|
+
* with the payment's locale setting.
|
|
1497
|
+
*/
|
|
1498
|
+
failureMessage?: string | null | undefined;
|
|
1499
|
+
/**
|
|
1500
|
+
* The wallet used when creating the payment.
|
|
1501
|
+
*/
|
|
1502
|
+
wallet?: CancelPaymentWallet | null | undefined;
|
|
1503
|
+
/**
|
|
1504
|
+
* PayPal's reference for the payment.
|
|
1505
|
+
*/
|
|
1506
|
+
paypalReference?: string | null | undefined;
|
|
1507
|
+
/**
|
|
1508
|
+
* ID of the customer's PayPal account.
|
|
1509
|
+
*/
|
|
1510
|
+
paypalPayerId?: string | null | undefined;
|
|
1511
|
+
/**
|
|
1512
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
1513
|
+
*
|
|
1514
|
+
* @remarks
|
|
1515
|
+
* payments, and if the information is made available by PayPal.
|
|
1516
|
+
*/
|
|
1517
|
+
sellerProtection?: CancelPaymentSellerProtection | null | undefined;
|
|
1518
|
+
/**
|
|
1519
|
+
* An amount object containing the fee PayPal will charge for this transaction. The field may be omitted if
|
|
1520
|
+
*
|
|
1521
|
+
* @remarks
|
|
1522
|
+
* PayPal will not charge a fee for this transaction.
|
|
1523
|
+
*/
|
|
1524
|
+
paypalFee?: CancelPaymentPaypalFee | null | undefined;
|
|
1525
|
+
/**
|
|
1526
|
+
* The paysafecard customer reference either provided via the API or otherwise auto-generated by Mollie.
|
|
1527
|
+
*/
|
|
1528
|
+
customerReference?: string | undefined;
|
|
1529
|
+
/**
|
|
1530
|
+
* The ID of the terminal device where the payment took place on.
|
|
1531
|
+
*/
|
|
1532
|
+
terminalId?: string | undefined;
|
|
1533
|
+
/**
|
|
1534
|
+
* The first 6 digits & last 4 digits of the customer's masked card number.
|
|
1535
|
+
*/
|
|
1536
|
+
maskedNumber?: string | null | undefined;
|
|
1537
|
+
/**
|
|
1538
|
+
* The Point of sale receipt object.
|
|
1539
|
+
*/
|
|
1540
|
+
receipt?: CancelPaymentReceipt | undefined;
|
|
1541
|
+
/**
|
|
1542
|
+
* The creditor identifier indicates who is authorized to execute the payment. In this case, it is a
|
|
1543
|
+
*
|
|
1544
|
+
* @remarks
|
|
1545
|
+
* reference to Mollie.
|
|
1546
|
+
*/
|
|
1547
|
+
creditorIdentifier?: string | null | undefined;
|
|
1548
|
+
/**
|
|
1549
|
+
* Estimated date the payment is debited from the customer's bank account, in YYYY-MM-DD format.
|
|
1550
|
+
*/
|
|
1551
|
+
dueDate?: RFCDate | null | undefined;
|
|
1552
|
+
/**
|
|
1553
|
+
* Date the payment has been signed by the customer, in YYYY-MM-DD format. Only available if the payment
|
|
1554
|
+
*
|
|
1555
|
+
* @remarks
|
|
1556
|
+
* has been signed.
|
|
1557
|
+
*/
|
|
1558
|
+
signatureDate?: RFCDate | null | undefined;
|
|
1559
|
+
/**
|
|
1560
|
+
* The official reason why this payment has failed. A detailed description of each reason is available on the
|
|
1561
|
+
*
|
|
1562
|
+
* @remarks
|
|
1563
|
+
* website of the European Payments Council.
|
|
1564
|
+
*/
|
|
1565
|
+
bankReasonCode?: string | null | undefined;
|
|
1566
|
+
/**
|
|
1567
|
+
* A human-friendly description of the failure reason.
|
|
1568
|
+
*/
|
|
1569
|
+
bankReason?: string | null | undefined;
|
|
1570
|
+
/**
|
|
1571
|
+
* The end-to-end identifier you provided in the batch file.
|
|
1572
|
+
*/
|
|
1573
|
+
endToEndIdentifier?: string | null | undefined;
|
|
1574
|
+
/**
|
|
1575
|
+
* The mandate reference you provided in the batch file.
|
|
1576
|
+
*/
|
|
1577
|
+
mandateReference?: string | null | undefined;
|
|
1578
|
+
/**
|
|
1579
|
+
* The batch reference you provided in the batch file.
|
|
1580
|
+
*/
|
|
1581
|
+
batchReference?: string | null | undefined;
|
|
1582
|
+
/**
|
|
1583
|
+
* The file reference you provided in the batch file.
|
|
1584
|
+
*/
|
|
1585
|
+
fileReference?: string | null | undefined;
|
|
1586
|
+
/**
|
|
1587
|
+
* Optional include. If a QR code was requested during payment creation for a QR-compatible payment method,
|
|
1588
|
+
*
|
|
1589
|
+
* @remarks
|
|
1590
|
+
* the QR code details will be available in this object.
|
|
1591
|
+
*
|
|
1592
|
+
* The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
|
|
1593
|
+
* Bancontact QR payments can be completed by the customer using the Bancontact app.
|
|
1594
|
+
*/
|
|
1595
|
+
qrCode?: CancelPaymentQrCode | undefined;
|
|
1596
|
+
/**
|
|
1597
|
+
* For payments with gift cards: the masked gift card number of the first gift card applied to the payment.
|
|
1598
|
+
*/
|
|
1599
|
+
voucherNumber?: string | undefined;
|
|
1600
|
+
/**
|
|
1601
|
+
* An array of detail objects for each gift card that was used on this payment, if any.
|
|
1602
|
+
*/
|
|
1603
|
+
giftcards?: Array<{
|
|
1604
|
+
[k: string]: any;
|
|
1605
|
+
}> | undefined;
|
|
1606
|
+
/**
|
|
1607
|
+
* For payments with vouchers: the brand name of the first voucher applied.
|
|
1608
|
+
*/
|
|
1609
|
+
issuer?: string | undefined;
|
|
1610
|
+
/**
|
|
1611
|
+
* An array of detail objects for each voucher that was used on this payment, if any.
|
|
1612
|
+
*/
|
|
1613
|
+
vouchers?: Array<{
|
|
1614
|
+
[k: string]: any;
|
|
1615
|
+
}> | undefined;
|
|
1616
|
+
/**
|
|
1617
|
+
* An amount object for the amount that remained after all gift cards or vouchers were applied.
|
|
1618
|
+
*/
|
|
1619
|
+
remainderAmount?: CancelPaymentRemainderAmount | undefined;
|
|
1620
|
+
/**
|
|
1621
|
+
* The payment method used to pay the remainder amount, after all gift cards or vouchers were applied.
|
|
1622
|
+
*/
|
|
1623
|
+
remainderMethod?: string | undefined;
|
|
1624
|
+
/**
|
|
1625
|
+
* Optional include. The full payment method details of the remainder payment.
|
|
1626
|
+
*/
|
|
1627
|
+
remainderDetails?: {
|
|
1628
|
+
[k: string]: any;
|
|
1629
|
+
} | undefined;
|
|
1630
|
+
};
|
|
1002
1631
|
/**
|
|
1003
1632
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
1004
1633
|
*/
|
|
@@ -1215,6 +1844,38 @@ export type CancelPaymentDocumentation = {
|
|
|
1215
1844
|
*/
|
|
1216
1845
|
type: string;
|
|
1217
1846
|
};
|
|
1847
|
+
/**
|
|
1848
|
+
* Link to customer-facing page showing the status of the bank transfer (to verify if the transaction was
|
|
1849
|
+
*
|
|
1850
|
+
* @remarks
|
|
1851
|
+
* successful).
|
|
1852
|
+
*/
|
|
1853
|
+
export type CancelPaymentLinksStatus = {
|
|
1854
|
+
/**
|
|
1855
|
+
* The actual URL string.
|
|
1856
|
+
*/
|
|
1857
|
+
href: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* The content type of the page or endpoint the URL points to.
|
|
1860
|
+
*/
|
|
1861
|
+
type: string;
|
|
1862
|
+
};
|
|
1863
|
+
/**
|
|
1864
|
+
* Link to Mollie Checkout page allowing customers to select a different payment method instead of legacy
|
|
1865
|
+
*
|
|
1866
|
+
* @remarks
|
|
1867
|
+
* bank transfer.
|
|
1868
|
+
*/
|
|
1869
|
+
export type CancelPaymentPayOnline = {
|
|
1870
|
+
/**
|
|
1871
|
+
* The actual URL string.
|
|
1872
|
+
*/
|
|
1873
|
+
href: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* The content type of the page or endpoint the URL points to.
|
|
1876
|
+
*/
|
|
1877
|
+
type: string;
|
|
1878
|
+
};
|
|
1218
1879
|
/**
|
|
1219
1880
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
1220
1881
|
*/
|
|
@@ -1300,6 +1961,20 @@ export type CancelPaymentLinks = {
|
|
|
1300
1961
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
1301
1962
|
*/
|
|
1302
1963
|
documentation?: CancelPaymentDocumentation | undefined;
|
|
1964
|
+
/**
|
|
1965
|
+
* Link to customer-facing page showing the status of the bank transfer (to verify if the transaction was
|
|
1966
|
+
*
|
|
1967
|
+
* @remarks
|
|
1968
|
+
* successful).
|
|
1969
|
+
*/
|
|
1970
|
+
status?: CancelPaymentLinksStatus | undefined;
|
|
1971
|
+
/**
|
|
1972
|
+
* Link to Mollie Checkout page allowing customers to select a different payment method instead of legacy
|
|
1973
|
+
*
|
|
1974
|
+
* @remarks
|
|
1975
|
+
* bank transfer.
|
|
1976
|
+
*/
|
|
1977
|
+
payOnline?: CancelPaymentPayOnline | undefined;
|
|
1303
1978
|
};
|
|
1304
1979
|
/**
|
|
1305
1980
|
* The canceled payment object.
|
|
@@ -1639,7 +2314,7 @@ export type CancelPaymentResponse = {
|
|
|
1639
2314
|
* @remarks
|
|
1640
2315
|
* statuses occur at what point.
|
|
1641
2316
|
*/
|
|
1642
|
-
status:
|
|
2317
|
+
status: CancelPaymentStatusEnum;
|
|
1643
2318
|
/**
|
|
1644
2319
|
* This object offers details about the status of a payment. Currently it is only available for point-of-sale
|
|
1645
2320
|
*
|
|
@@ -1661,9 +2336,7 @@ export type CancelPaymentResponse = {
|
|
|
1661
2336
|
* customer's card or bank details and a payment reference. For the full list of details, please refer to the
|
|
1662
2337
|
* [method-specific parameters](extra-payment-parameters) guide.
|
|
1663
2338
|
*/
|
|
1664
|
-
details?:
|
|
1665
|
-
[k: string]: any;
|
|
1666
|
-
} | null | undefined;
|
|
2339
|
+
details?: CancelPaymentDetails | null | undefined;
|
|
1667
2340
|
/**
|
|
1668
2341
|
* The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
1669
2342
|
*/
|
|
@@ -2769,15 +3442,15 @@ export declare namespace CancelPaymentSequenceType$ {
|
|
|
2769
3442
|
}>;
|
|
2770
3443
|
}
|
|
2771
3444
|
/** @internal */
|
|
2772
|
-
export declare const
|
|
3445
|
+
export declare const CancelPaymentStatusEnum$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentStatusEnum>;
|
|
2773
3446
|
/** @internal */
|
|
2774
|
-
export declare const
|
|
3447
|
+
export declare const CancelPaymentStatusEnum$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentStatusEnum>;
|
|
2775
3448
|
/**
|
|
2776
3449
|
* @internal
|
|
2777
3450
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2778
3451
|
*/
|
|
2779
|
-
export declare namespace
|
|
2780
|
-
/** @deprecated use `
|
|
3452
|
+
export declare namespace CancelPaymentStatusEnum$ {
|
|
3453
|
+
/** @deprecated use `CancelPaymentStatusEnum$inboundSchema` instead. */
|
|
2781
3454
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2782
3455
|
readonly Open: "open";
|
|
2783
3456
|
readonly Pending: "pending";
|
|
@@ -2787,7 +3460,7 @@ export declare namespace CancelPaymentStatus$ {
|
|
|
2787
3460
|
readonly Expired: "expired";
|
|
2788
3461
|
readonly Failed: "failed";
|
|
2789
3462
|
}>;
|
|
2790
|
-
/** @deprecated use `
|
|
3463
|
+
/** @deprecated use `CancelPaymentStatusEnum$outboundSchema` instead. */
|
|
2791
3464
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2792
3465
|
readonly Open: "open";
|
|
2793
3466
|
readonly Pending: "pending";
|
|
@@ -2799,6 +3472,254 @@ export declare namespace CancelPaymentStatus$ {
|
|
|
2799
3472
|
}>;
|
|
2800
3473
|
}
|
|
2801
3474
|
/** @internal */
|
|
3475
|
+
export declare const CancelPaymentCode$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentCode>;
|
|
3476
|
+
/** @internal */
|
|
3477
|
+
export declare const CancelPaymentCode$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentCode>;
|
|
3478
|
+
/**
|
|
3479
|
+
* @internal
|
|
3480
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3481
|
+
*/
|
|
3482
|
+
export declare namespace CancelPaymentCode$ {
|
|
3483
|
+
/** @deprecated use `CancelPaymentCode$inboundSchema` instead. */
|
|
3484
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3485
|
+
readonly ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully";
|
|
3486
|
+
readonly ReferToCardIssuer: "refer_to_card_issuer";
|
|
3487
|
+
readonly InvalidMerchant: "invalid_merchant";
|
|
3488
|
+
readonly CaptureCard: "capture_card";
|
|
3489
|
+
readonly DoNotHonor: "do_not_honor";
|
|
3490
|
+
readonly Error: "error";
|
|
3491
|
+
readonly PartialApproval: "partial_approval";
|
|
3492
|
+
readonly InvalidTransaction: "invalid_transaction";
|
|
3493
|
+
readonly InvalidAmount: "invalid_amount";
|
|
3494
|
+
readonly InvalidIssuer: "invalid_issuer";
|
|
3495
|
+
readonly LostCard: "lost_card";
|
|
3496
|
+
readonly StolenCard: "stolen_card";
|
|
3497
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
3498
|
+
readonly ExpiredCard: "expired_card";
|
|
3499
|
+
readonly InvalidPin: "invalid_pin";
|
|
3500
|
+
readonly TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder";
|
|
3501
|
+
readonly TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal";
|
|
3502
|
+
readonly ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit";
|
|
3503
|
+
readonly RestrictedCard: "restricted_card";
|
|
3504
|
+
readonly SecurityViolation: "security_violation";
|
|
3505
|
+
readonly ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit";
|
|
3506
|
+
readonly AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded";
|
|
3507
|
+
readonly NoReasonToDecline: "no_reason_to_decline";
|
|
3508
|
+
readonly CannotVerifyPin: "cannot_verify_pin";
|
|
3509
|
+
readonly IssuerUnavailable: "issuer_unavailable";
|
|
3510
|
+
readonly UnableToRouteTransaction: "unable_to_route_transaction";
|
|
3511
|
+
readonly DuplicateTransaction: "duplicate_transaction";
|
|
3512
|
+
readonly SystemMalfunction: "system_malfunction";
|
|
3513
|
+
readonly HonorWithId: "honor_with_id";
|
|
3514
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
3515
|
+
readonly FormatError: "format_error";
|
|
3516
|
+
readonly ContactCardIssuer: "contact_card_issuer";
|
|
3517
|
+
readonly PinNotChanged: "pin_not_changed";
|
|
3518
|
+
readonly InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified";
|
|
3519
|
+
readonly InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified";
|
|
3520
|
+
readonly InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified";
|
|
3521
|
+
readonly LifecycleRelated: "lifecycle_related";
|
|
3522
|
+
readonly DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed";
|
|
3523
|
+
readonly PolicyRelated: "policy_related";
|
|
3524
|
+
readonly FraudSecurityRelated: "fraud_security_related";
|
|
3525
|
+
readonly InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle";
|
|
3526
|
+
readonly PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed";
|
|
3527
|
+
readonly CryptographicFailure: "cryptographic_failure";
|
|
3528
|
+
readonly UnacceptablePin: "unacceptable_pin";
|
|
3529
|
+
readonly ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition";
|
|
3530
|
+
readonly PickUpCardSpecialCondition: "pick_up_card_special_condition";
|
|
3531
|
+
readonly VipApproval: "vip_approval";
|
|
3532
|
+
readonly InvalidAccountNumber: "invalid_account_number";
|
|
3533
|
+
readonly ReEnterTransaction: "re_enter_transaction";
|
|
3534
|
+
readonly NoActionTaken: "no_action_taken";
|
|
3535
|
+
readonly UnableToLocateRecord: "unable_to_locate_record";
|
|
3536
|
+
readonly FileTemporarilyUnavailable: "file_temporarily_unavailable";
|
|
3537
|
+
readonly NoCreditAccount: "no_credit_account";
|
|
3538
|
+
readonly ClosedAccount: "closed_account";
|
|
3539
|
+
readonly NoCheckingAccount: "no_checking_account";
|
|
3540
|
+
readonly NoSavingsAccount: "no_savings_account";
|
|
3541
|
+
readonly SuspectedFraud: "suspected_fraud";
|
|
3542
|
+
readonly TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement";
|
|
3543
|
+
readonly PinDataRequired: "pin_data_required";
|
|
3544
|
+
readonly UnableToLocatePreviousMessage: "unable_to_locate_previous_message";
|
|
3545
|
+
readonly PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data";
|
|
3546
|
+
readonly BlockedFirstUsed: "blocked_first_used";
|
|
3547
|
+
readonly TransactionReversed: "transaction_reversed";
|
|
3548
|
+
readonly CreditIssuerUnavailable: "credit_issuer_unavailable";
|
|
3549
|
+
readonly PinCryptographicErrorFound: "pin_cryptographic_error_found";
|
|
3550
|
+
readonly NegativeOnlineCamResult: "negative_online_cam_result";
|
|
3551
|
+
readonly ViolationOfLaw: "violation_of_law";
|
|
3552
|
+
readonly ForceStip: "force_stip";
|
|
3553
|
+
readonly CashServiceNotAvailable: "cash_service_not_available";
|
|
3554
|
+
readonly CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit";
|
|
3555
|
+
readonly DeclineForCvv2Failure: "decline_for_cvv2_failure";
|
|
3556
|
+
readonly TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount";
|
|
3557
|
+
readonly InvalidBillerInformation: "invalid_biller_information";
|
|
3558
|
+
readonly PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined";
|
|
3559
|
+
readonly UnsafePin: "unsafe_pin";
|
|
3560
|
+
readonly CardAuthenticationFailed: "card_authentication_failed";
|
|
3561
|
+
readonly StopPaymentOrder: "stop_payment_order";
|
|
3562
|
+
readonly RevocationOfAuthorization: "revocation_of_authorization";
|
|
3563
|
+
readonly RevocationOfAllAuthorizations: "revocation_of_all_authorizations";
|
|
3564
|
+
readonly ForwardToIssuerXa: "forward_to_issuer_xa";
|
|
3565
|
+
readonly ForwardToIssuerXd: "forward_to_issuer_xd";
|
|
3566
|
+
readonly UnableToGoOnline: "unable_to_go_online";
|
|
3567
|
+
readonly AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required";
|
|
3568
|
+
readonly MerchantIdNotFound: "merchant_id_not_found";
|
|
3569
|
+
readonly MerchantAccountClosed: "merchant_account_closed";
|
|
3570
|
+
readonly TerminalIdNotFound: "terminal_id_not_found";
|
|
3571
|
+
readonly TerminalClosed: "terminal_closed";
|
|
3572
|
+
readonly InvalidCategoryCode: "invalid_category_code";
|
|
3573
|
+
readonly InvalidCurrency: "invalid_currency";
|
|
3574
|
+
readonly MissingCvv2Cvc2: "missing_cvv2_cvc2";
|
|
3575
|
+
readonly Cvv2NotAllowed: "cvv2_not_allowed";
|
|
3576
|
+
readonly MerchantNotRegisteredVbv: "merchant_not_registered_vbv";
|
|
3577
|
+
readonly MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex";
|
|
3578
|
+
readonly TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal";
|
|
3579
|
+
readonly AgreementTerminalNotRelated: "agreement_terminal_not_related";
|
|
3580
|
+
readonly InvalidProcessorId: "invalid_processor_id";
|
|
3581
|
+
readonly InvalidMerchantData: "invalid_merchant_data";
|
|
3582
|
+
readonly SubMerchantAccountClosed: "sub_merchant_account_closed";
|
|
3583
|
+
readonly TerminalBusy: "terminal_busy";
|
|
3584
|
+
readonly TerminalUnreachable: "terminal_unreachable";
|
|
3585
|
+
readonly ServiceFailed: "service_failed";
|
|
3586
|
+
readonly InvalidOperation: "invalid_operation";
|
|
3587
|
+
readonly AuthorizationError: "authorization_error";
|
|
3588
|
+
readonly LoginFailedWithoutReason: "login_failed_without_reason";
|
|
3589
|
+
readonly InvalidRetailer: "invalid_retailer";
|
|
3590
|
+
readonly CardDoesNotExist: "card_does_not_exist";
|
|
3591
|
+
readonly CardIsBlocked: "card_is_blocked";
|
|
3592
|
+
readonly InvalidCardId: "invalid_card_id";
|
|
3593
|
+
readonly CardIsTransferred: "card_is_transferred";
|
|
3594
|
+
readonly CardIsNotActive: "card_is_not_active";
|
|
3595
|
+
readonly IncorrectPurchaseValue: "incorrect_purchase_value";
|
|
3596
|
+
readonly CardNotAvailable: "card_not_available";
|
|
3597
|
+
readonly WrongCurrency: "wrong_currency";
|
|
3598
|
+
readonly LoginFailedUnknownUser: "login_failed_unknown_user";
|
|
3599
|
+
readonly LoginFailedInvalidPassword: "login_failed_invalid_password";
|
|
3600
|
+
readonly InvalidEanCode: "invalid_ean_code";
|
|
3601
|
+
}>;
|
|
3602
|
+
/** @deprecated use `CancelPaymentCode$outboundSchema` instead. */
|
|
3603
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3604
|
+
readonly ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully";
|
|
3605
|
+
readonly ReferToCardIssuer: "refer_to_card_issuer";
|
|
3606
|
+
readonly InvalidMerchant: "invalid_merchant";
|
|
3607
|
+
readonly CaptureCard: "capture_card";
|
|
3608
|
+
readonly DoNotHonor: "do_not_honor";
|
|
3609
|
+
readonly Error: "error";
|
|
3610
|
+
readonly PartialApproval: "partial_approval";
|
|
3611
|
+
readonly InvalidTransaction: "invalid_transaction";
|
|
3612
|
+
readonly InvalidAmount: "invalid_amount";
|
|
3613
|
+
readonly InvalidIssuer: "invalid_issuer";
|
|
3614
|
+
readonly LostCard: "lost_card";
|
|
3615
|
+
readonly StolenCard: "stolen_card";
|
|
3616
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
3617
|
+
readonly ExpiredCard: "expired_card";
|
|
3618
|
+
readonly InvalidPin: "invalid_pin";
|
|
3619
|
+
readonly TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder";
|
|
3620
|
+
readonly TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal";
|
|
3621
|
+
readonly ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit";
|
|
3622
|
+
readonly RestrictedCard: "restricted_card";
|
|
3623
|
+
readonly SecurityViolation: "security_violation";
|
|
3624
|
+
readonly ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit";
|
|
3625
|
+
readonly AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded";
|
|
3626
|
+
readonly NoReasonToDecline: "no_reason_to_decline";
|
|
3627
|
+
readonly CannotVerifyPin: "cannot_verify_pin";
|
|
3628
|
+
readonly IssuerUnavailable: "issuer_unavailable";
|
|
3629
|
+
readonly UnableToRouteTransaction: "unable_to_route_transaction";
|
|
3630
|
+
readonly DuplicateTransaction: "duplicate_transaction";
|
|
3631
|
+
readonly SystemMalfunction: "system_malfunction";
|
|
3632
|
+
readonly HonorWithId: "honor_with_id";
|
|
3633
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
3634
|
+
readonly FormatError: "format_error";
|
|
3635
|
+
readonly ContactCardIssuer: "contact_card_issuer";
|
|
3636
|
+
readonly PinNotChanged: "pin_not_changed";
|
|
3637
|
+
readonly InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified";
|
|
3638
|
+
readonly InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified";
|
|
3639
|
+
readonly InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified";
|
|
3640
|
+
readonly LifecycleRelated: "lifecycle_related";
|
|
3641
|
+
readonly DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed";
|
|
3642
|
+
readonly PolicyRelated: "policy_related";
|
|
3643
|
+
readonly FraudSecurityRelated: "fraud_security_related";
|
|
3644
|
+
readonly InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle";
|
|
3645
|
+
readonly PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed";
|
|
3646
|
+
readonly CryptographicFailure: "cryptographic_failure";
|
|
3647
|
+
readonly UnacceptablePin: "unacceptable_pin";
|
|
3648
|
+
readonly ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition";
|
|
3649
|
+
readonly PickUpCardSpecialCondition: "pick_up_card_special_condition";
|
|
3650
|
+
readonly VipApproval: "vip_approval";
|
|
3651
|
+
readonly InvalidAccountNumber: "invalid_account_number";
|
|
3652
|
+
readonly ReEnterTransaction: "re_enter_transaction";
|
|
3653
|
+
readonly NoActionTaken: "no_action_taken";
|
|
3654
|
+
readonly UnableToLocateRecord: "unable_to_locate_record";
|
|
3655
|
+
readonly FileTemporarilyUnavailable: "file_temporarily_unavailable";
|
|
3656
|
+
readonly NoCreditAccount: "no_credit_account";
|
|
3657
|
+
readonly ClosedAccount: "closed_account";
|
|
3658
|
+
readonly NoCheckingAccount: "no_checking_account";
|
|
3659
|
+
readonly NoSavingsAccount: "no_savings_account";
|
|
3660
|
+
readonly SuspectedFraud: "suspected_fraud";
|
|
3661
|
+
readonly TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement";
|
|
3662
|
+
readonly PinDataRequired: "pin_data_required";
|
|
3663
|
+
readonly UnableToLocatePreviousMessage: "unable_to_locate_previous_message";
|
|
3664
|
+
readonly PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data";
|
|
3665
|
+
readonly BlockedFirstUsed: "blocked_first_used";
|
|
3666
|
+
readonly TransactionReversed: "transaction_reversed";
|
|
3667
|
+
readonly CreditIssuerUnavailable: "credit_issuer_unavailable";
|
|
3668
|
+
readonly PinCryptographicErrorFound: "pin_cryptographic_error_found";
|
|
3669
|
+
readonly NegativeOnlineCamResult: "negative_online_cam_result";
|
|
3670
|
+
readonly ViolationOfLaw: "violation_of_law";
|
|
3671
|
+
readonly ForceStip: "force_stip";
|
|
3672
|
+
readonly CashServiceNotAvailable: "cash_service_not_available";
|
|
3673
|
+
readonly CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit";
|
|
3674
|
+
readonly DeclineForCvv2Failure: "decline_for_cvv2_failure";
|
|
3675
|
+
readonly TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount";
|
|
3676
|
+
readonly InvalidBillerInformation: "invalid_biller_information";
|
|
3677
|
+
readonly PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined";
|
|
3678
|
+
readonly UnsafePin: "unsafe_pin";
|
|
3679
|
+
readonly CardAuthenticationFailed: "card_authentication_failed";
|
|
3680
|
+
readonly StopPaymentOrder: "stop_payment_order";
|
|
3681
|
+
readonly RevocationOfAuthorization: "revocation_of_authorization";
|
|
3682
|
+
readonly RevocationOfAllAuthorizations: "revocation_of_all_authorizations";
|
|
3683
|
+
readonly ForwardToIssuerXa: "forward_to_issuer_xa";
|
|
3684
|
+
readonly ForwardToIssuerXd: "forward_to_issuer_xd";
|
|
3685
|
+
readonly UnableToGoOnline: "unable_to_go_online";
|
|
3686
|
+
readonly AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required";
|
|
3687
|
+
readonly MerchantIdNotFound: "merchant_id_not_found";
|
|
3688
|
+
readonly MerchantAccountClosed: "merchant_account_closed";
|
|
3689
|
+
readonly TerminalIdNotFound: "terminal_id_not_found";
|
|
3690
|
+
readonly TerminalClosed: "terminal_closed";
|
|
3691
|
+
readonly InvalidCategoryCode: "invalid_category_code";
|
|
3692
|
+
readonly InvalidCurrency: "invalid_currency";
|
|
3693
|
+
readonly MissingCvv2Cvc2: "missing_cvv2_cvc2";
|
|
3694
|
+
readonly Cvv2NotAllowed: "cvv2_not_allowed";
|
|
3695
|
+
readonly MerchantNotRegisteredVbv: "merchant_not_registered_vbv";
|
|
3696
|
+
readonly MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex";
|
|
3697
|
+
readonly TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal";
|
|
3698
|
+
readonly AgreementTerminalNotRelated: "agreement_terminal_not_related";
|
|
3699
|
+
readonly InvalidProcessorId: "invalid_processor_id";
|
|
3700
|
+
readonly InvalidMerchantData: "invalid_merchant_data";
|
|
3701
|
+
readonly SubMerchantAccountClosed: "sub_merchant_account_closed";
|
|
3702
|
+
readonly TerminalBusy: "terminal_busy";
|
|
3703
|
+
readonly TerminalUnreachable: "terminal_unreachable";
|
|
3704
|
+
readonly ServiceFailed: "service_failed";
|
|
3705
|
+
readonly InvalidOperation: "invalid_operation";
|
|
3706
|
+
readonly AuthorizationError: "authorization_error";
|
|
3707
|
+
readonly LoginFailedWithoutReason: "login_failed_without_reason";
|
|
3708
|
+
readonly InvalidRetailer: "invalid_retailer";
|
|
3709
|
+
readonly CardDoesNotExist: "card_does_not_exist";
|
|
3710
|
+
readonly CardIsBlocked: "card_is_blocked";
|
|
3711
|
+
readonly InvalidCardId: "invalid_card_id";
|
|
3712
|
+
readonly CardIsTransferred: "card_is_transferred";
|
|
3713
|
+
readonly CardIsNotActive: "card_is_not_active";
|
|
3714
|
+
readonly IncorrectPurchaseValue: "incorrect_purchase_value";
|
|
3715
|
+
readonly CardNotAvailable: "card_not_available";
|
|
3716
|
+
readonly WrongCurrency: "wrong_currency";
|
|
3717
|
+
readonly LoginFailedUnknownUser: "login_failed_unknown_user";
|
|
3718
|
+
readonly LoginFailedInvalidPassword: "login_failed_invalid_password";
|
|
3719
|
+
readonly InvalidEanCode: "invalid_ean_code";
|
|
3720
|
+
}>;
|
|
3721
|
+
}
|
|
3722
|
+
/** @internal */
|
|
2802
3723
|
export declare const CancelPaymentStatusReason$inboundSchema: z.ZodType<CancelPaymentStatusReason, z.ZodTypeDef, unknown>;
|
|
2803
3724
|
/** @internal */
|
|
2804
3725
|
export type CancelPaymentStatusReason$Outbound = {
|
|
@@ -2822,6 +3743,478 @@ export declare namespace CancelPaymentStatusReason$ {
|
|
|
2822
3743
|
export declare function cancelPaymentStatusReasonToJSON(cancelPaymentStatusReason: CancelPaymentStatusReason): string;
|
|
2823
3744
|
export declare function cancelPaymentStatusReasonFromJSON(jsonString: string): SafeParseResult<CancelPaymentStatusReason, SDKValidationError>;
|
|
2824
3745
|
/** @internal */
|
|
3746
|
+
export declare const CancelPaymentCardAudition$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardAudition>;
|
|
3747
|
+
/** @internal */
|
|
3748
|
+
export declare const CancelPaymentCardAudition$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardAudition>;
|
|
3749
|
+
/**
|
|
3750
|
+
* @internal
|
|
3751
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3752
|
+
*/
|
|
3753
|
+
export declare namespace CancelPaymentCardAudition$ {
|
|
3754
|
+
/** @deprecated use `CancelPaymentCardAudition$inboundSchema` instead. */
|
|
3755
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3756
|
+
readonly Consumer: "consumer";
|
|
3757
|
+
readonly Business: "business";
|
|
3758
|
+
}>;
|
|
3759
|
+
/** @deprecated use `CancelPaymentCardAudition$outboundSchema` instead. */
|
|
3760
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3761
|
+
readonly Consumer: "consumer";
|
|
3762
|
+
readonly Business: "business";
|
|
3763
|
+
}>;
|
|
3764
|
+
}
|
|
3765
|
+
/** @internal */
|
|
3766
|
+
export declare const CancelPaymentCardLabel$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardLabel>;
|
|
3767
|
+
/** @internal */
|
|
3768
|
+
export declare const CancelPaymentCardLabel$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardLabel>;
|
|
3769
|
+
/**
|
|
3770
|
+
* @internal
|
|
3771
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3772
|
+
*/
|
|
3773
|
+
export declare namespace CancelPaymentCardLabel$ {
|
|
3774
|
+
/** @deprecated use `CancelPaymentCardLabel$inboundSchema` instead. */
|
|
3775
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3776
|
+
readonly AmericanExpress: "American Express";
|
|
3777
|
+
readonly CartaSi: "Carta Si";
|
|
3778
|
+
readonly CarteBleue: "Carte Bleue";
|
|
3779
|
+
readonly Dankort: "Dankort";
|
|
3780
|
+
readonly DinersClub: "Diners Club";
|
|
3781
|
+
readonly Discover: "Discover";
|
|
3782
|
+
readonly Jcb: "JCB";
|
|
3783
|
+
readonly Laser: "Laser";
|
|
3784
|
+
readonly Maestro: "Maestro";
|
|
3785
|
+
readonly Mastercard: "Mastercard";
|
|
3786
|
+
readonly Unionpay: "Unionpay";
|
|
3787
|
+
readonly Visa: "Visa";
|
|
3788
|
+
readonly Vpay: "Vpay";
|
|
3789
|
+
}>;
|
|
3790
|
+
/** @deprecated use `CancelPaymentCardLabel$outboundSchema` instead. */
|
|
3791
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3792
|
+
readonly AmericanExpress: "American Express";
|
|
3793
|
+
readonly CartaSi: "Carta Si";
|
|
3794
|
+
readonly CarteBleue: "Carte Bleue";
|
|
3795
|
+
readonly Dankort: "Dankort";
|
|
3796
|
+
readonly DinersClub: "Diners Club";
|
|
3797
|
+
readonly Discover: "Discover";
|
|
3798
|
+
readonly Jcb: "JCB";
|
|
3799
|
+
readonly Laser: "Laser";
|
|
3800
|
+
readonly Maestro: "Maestro";
|
|
3801
|
+
readonly Mastercard: "Mastercard";
|
|
3802
|
+
readonly Unionpay: "Unionpay";
|
|
3803
|
+
readonly Visa: "Visa";
|
|
3804
|
+
readonly Vpay: "Vpay";
|
|
3805
|
+
}>;
|
|
3806
|
+
}
|
|
3807
|
+
/** @internal */
|
|
3808
|
+
export declare const CancelPaymentCardFunding$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardFunding>;
|
|
3809
|
+
/** @internal */
|
|
3810
|
+
export declare const CancelPaymentCardFunding$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardFunding>;
|
|
3811
|
+
/**
|
|
3812
|
+
* @internal
|
|
3813
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3814
|
+
*/
|
|
3815
|
+
export declare namespace CancelPaymentCardFunding$ {
|
|
3816
|
+
/** @deprecated use `CancelPaymentCardFunding$inboundSchema` instead. */
|
|
3817
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3818
|
+
readonly Debit: "debit";
|
|
3819
|
+
readonly Credit: "credit";
|
|
3820
|
+
readonly Prepaid: "prepaid";
|
|
3821
|
+
readonly DeferredDebit: "deferred-debit";
|
|
3822
|
+
}>;
|
|
3823
|
+
/** @deprecated use `CancelPaymentCardFunding$outboundSchema` instead. */
|
|
3824
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3825
|
+
readonly Debit: "debit";
|
|
3826
|
+
readonly Credit: "credit";
|
|
3827
|
+
readonly Prepaid: "prepaid";
|
|
3828
|
+
readonly DeferredDebit: "deferred-debit";
|
|
3829
|
+
}>;
|
|
3830
|
+
}
|
|
3831
|
+
/** @internal */
|
|
3832
|
+
export declare const CancelPaymentCardSecurity$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardSecurity>;
|
|
3833
|
+
/** @internal */
|
|
3834
|
+
export declare const CancelPaymentCardSecurity$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardSecurity>;
|
|
3835
|
+
/**
|
|
3836
|
+
* @internal
|
|
3837
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3838
|
+
*/
|
|
3839
|
+
export declare namespace CancelPaymentCardSecurity$ {
|
|
3840
|
+
/** @deprecated use `CancelPaymentCardSecurity$inboundSchema` instead. */
|
|
3841
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3842
|
+
readonly Normal: "normal";
|
|
3843
|
+
readonly Threedsecure: "3dsecure";
|
|
3844
|
+
}>;
|
|
3845
|
+
/** @deprecated use `CancelPaymentCardSecurity$outboundSchema` instead. */
|
|
3846
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3847
|
+
readonly Normal: "normal";
|
|
3848
|
+
readonly Threedsecure: "3dsecure";
|
|
3849
|
+
}>;
|
|
3850
|
+
}
|
|
3851
|
+
/** @internal */
|
|
3852
|
+
export declare const CancelPaymentFeeRegion$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentFeeRegion>;
|
|
3853
|
+
/** @internal */
|
|
3854
|
+
export declare const CancelPaymentFeeRegion$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentFeeRegion>;
|
|
3855
|
+
/**
|
|
3856
|
+
* @internal
|
|
3857
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3858
|
+
*/
|
|
3859
|
+
export declare namespace CancelPaymentFeeRegion$ {
|
|
3860
|
+
/** @deprecated use `CancelPaymentFeeRegion$inboundSchema` instead. */
|
|
3861
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3862
|
+
readonly AmericanExpress: "american-express";
|
|
3863
|
+
readonly AmexIntraEea: "amex-intra-eea";
|
|
3864
|
+
readonly CarteBancaire: "carte-bancaire";
|
|
3865
|
+
readonly IntraEu: "intra-eu";
|
|
3866
|
+
readonly IntraEuCorporate: "intra-eu-corporate";
|
|
3867
|
+
readonly Domestic: "domestic";
|
|
3868
|
+
readonly Maestro: "maestro";
|
|
3869
|
+
readonly Other: "other";
|
|
3870
|
+
readonly Inter: "inter";
|
|
3871
|
+
readonly IntraEea: "intra-eea";
|
|
3872
|
+
}>;
|
|
3873
|
+
/** @deprecated use `CancelPaymentFeeRegion$outboundSchema` instead. */
|
|
3874
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3875
|
+
readonly AmericanExpress: "american-express";
|
|
3876
|
+
readonly AmexIntraEea: "amex-intra-eea";
|
|
3877
|
+
readonly CarteBancaire: "carte-bancaire";
|
|
3878
|
+
readonly IntraEu: "intra-eu";
|
|
3879
|
+
readonly IntraEuCorporate: "intra-eu-corporate";
|
|
3880
|
+
readonly Domestic: "domestic";
|
|
3881
|
+
readonly Maestro: "maestro";
|
|
3882
|
+
readonly Other: "other";
|
|
3883
|
+
readonly Inter: "inter";
|
|
3884
|
+
readonly IntraEea: "intra-eea";
|
|
3885
|
+
}>;
|
|
3886
|
+
}
|
|
3887
|
+
/** @internal */
|
|
3888
|
+
export declare const CancelPaymentFailureReason$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentFailureReason>;
|
|
3889
|
+
/** @internal */
|
|
3890
|
+
export declare const CancelPaymentFailureReason$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentFailureReason>;
|
|
3891
|
+
/**
|
|
3892
|
+
* @internal
|
|
3893
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3894
|
+
*/
|
|
3895
|
+
export declare namespace CancelPaymentFailureReason$ {
|
|
3896
|
+
/** @deprecated use `CancelPaymentFailureReason$inboundSchema` instead. */
|
|
3897
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3898
|
+
readonly AuthenticationAbandoned: "authentication_abandoned";
|
|
3899
|
+
readonly AuthenticationFailed: "authentication_failed";
|
|
3900
|
+
readonly AuthenticationRequired: "authentication_required";
|
|
3901
|
+
readonly AuthenticationUnavailableAcs: "authentication_unavailable_acs";
|
|
3902
|
+
readonly CardDeclined: "card_declined";
|
|
3903
|
+
readonly CardExpired: "card_expired";
|
|
3904
|
+
readonly InactiveCard: "inactive_card";
|
|
3905
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
3906
|
+
readonly InvalidCvv: "invalid_cvv";
|
|
3907
|
+
readonly InvalidCardHolderName: "invalid_card_holder_name";
|
|
3908
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
3909
|
+
readonly InvalidCardType: "invalid_card_type";
|
|
3910
|
+
readonly PossibleFraud: "possible_fraud";
|
|
3911
|
+
readonly RefusedByIssuer: "refused_by_issuer";
|
|
3912
|
+
readonly UnknownReason: "unknown_reason";
|
|
3913
|
+
}>;
|
|
3914
|
+
/** @deprecated use `CancelPaymentFailureReason$outboundSchema` instead. */
|
|
3915
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3916
|
+
readonly AuthenticationAbandoned: "authentication_abandoned";
|
|
3917
|
+
readonly AuthenticationFailed: "authentication_failed";
|
|
3918
|
+
readonly AuthenticationRequired: "authentication_required";
|
|
3919
|
+
readonly AuthenticationUnavailableAcs: "authentication_unavailable_acs";
|
|
3920
|
+
readonly CardDeclined: "card_declined";
|
|
3921
|
+
readonly CardExpired: "card_expired";
|
|
3922
|
+
readonly InactiveCard: "inactive_card";
|
|
3923
|
+
readonly InsufficientFunds: "insufficient_funds";
|
|
3924
|
+
readonly InvalidCvv: "invalid_cvv";
|
|
3925
|
+
readonly InvalidCardHolderName: "invalid_card_holder_name";
|
|
3926
|
+
readonly InvalidCardNumber: "invalid_card_number";
|
|
3927
|
+
readonly InvalidCardType: "invalid_card_type";
|
|
3928
|
+
readonly PossibleFraud: "possible_fraud";
|
|
3929
|
+
readonly RefusedByIssuer: "refused_by_issuer";
|
|
3930
|
+
readonly UnknownReason: "unknown_reason";
|
|
3931
|
+
}>;
|
|
3932
|
+
}
|
|
3933
|
+
/** @internal */
|
|
3934
|
+
export declare const CancelPaymentWallet$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentWallet>;
|
|
3935
|
+
/** @internal */
|
|
3936
|
+
export declare const CancelPaymentWallet$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentWallet>;
|
|
3937
|
+
/**
|
|
3938
|
+
* @internal
|
|
3939
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3940
|
+
*/
|
|
3941
|
+
export declare namespace CancelPaymentWallet$ {
|
|
3942
|
+
/** @deprecated use `CancelPaymentWallet$inboundSchema` instead. */
|
|
3943
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3944
|
+
readonly Applepay: "applepay";
|
|
3945
|
+
}>;
|
|
3946
|
+
/** @deprecated use `CancelPaymentWallet$outboundSchema` instead. */
|
|
3947
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3948
|
+
readonly Applepay: "applepay";
|
|
3949
|
+
}>;
|
|
3950
|
+
}
|
|
3951
|
+
/** @internal */
|
|
3952
|
+
export declare const CancelPaymentSellerProtection$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentSellerProtection>;
|
|
3953
|
+
/** @internal */
|
|
3954
|
+
export declare const CancelPaymentSellerProtection$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentSellerProtection>;
|
|
3955
|
+
/**
|
|
3956
|
+
* @internal
|
|
3957
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3958
|
+
*/
|
|
3959
|
+
export declare namespace CancelPaymentSellerProtection$ {
|
|
3960
|
+
/** @deprecated use `CancelPaymentSellerProtection$inboundSchema` instead. */
|
|
3961
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3962
|
+
readonly Eligible: "Eligible";
|
|
3963
|
+
readonly Ineligible: "Ineligible";
|
|
3964
|
+
readonly PartiallyEligibleINROnly: "Partially Eligible - INR Only";
|
|
3965
|
+
readonly PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only";
|
|
3966
|
+
readonly PartiallyEligible: "Partially Eligible";
|
|
3967
|
+
readonly None: "None";
|
|
3968
|
+
readonly Active: "Active";
|
|
3969
|
+
readonly FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible";
|
|
3970
|
+
}>;
|
|
3971
|
+
/** @deprecated use `CancelPaymentSellerProtection$outboundSchema` instead. */
|
|
3972
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3973
|
+
readonly Eligible: "Eligible";
|
|
3974
|
+
readonly Ineligible: "Ineligible";
|
|
3975
|
+
readonly PartiallyEligibleINROnly: "Partially Eligible - INR Only";
|
|
3976
|
+
readonly PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only";
|
|
3977
|
+
readonly PartiallyEligible: "Partially Eligible";
|
|
3978
|
+
readonly None: "None";
|
|
3979
|
+
readonly Active: "Active";
|
|
3980
|
+
readonly FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible";
|
|
3981
|
+
}>;
|
|
3982
|
+
}
|
|
3983
|
+
/** @internal */
|
|
3984
|
+
export declare const CancelPaymentPaypalFee$inboundSchema: z.ZodType<CancelPaymentPaypalFee, z.ZodTypeDef, unknown>;
|
|
3985
|
+
/** @internal */
|
|
3986
|
+
export type CancelPaymentPaypalFee$Outbound = {
|
|
3987
|
+
currency: string;
|
|
3988
|
+
value: string;
|
|
3989
|
+
};
|
|
3990
|
+
/** @internal */
|
|
3991
|
+
export declare const CancelPaymentPaypalFee$outboundSchema: z.ZodType<CancelPaymentPaypalFee$Outbound, z.ZodTypeDef, CancelPaymentPaypalFee>;
|
|
3992
|
+
/**
|
|
3993
|
+
* @internal
|
|
3994
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3995
|
+
*/
|
|
3996
|
+
export declare namespace CancelPaymentPaypalFee$ {
|
|
3997
|
+
/** @deprecated use `CancelPaymentPaypalFee$inboundSchema` instead. */
|
|
3998
|
+
const inboundSchema: z.ZodType<CancelPaymentPaypalFee, z.ZodTypeDef, unknown>;
|
|
3999
|
+
/** @deprecated use `CancelPaymentPaypalFee$outboundSchema` instead. */
|
|
4000
|
+
const outboundSchema: z.ZodType<CancelPaymentPaypalFee$Outbound, z.ZodTypeDef, CancelPaymentPaypalFee>;
|
|
4001
|
+
/** @deprecated use `CancelPaymentPaypalFee$Outbound` instead. */
|
|
4002
|
+
type Outbound = CancelPaymentPaypalFee$Outbound;
|
|
4003
|
+
}
|
|
4004
|
+
export declare function cancelPaymentPaypalFeeToJSON(cancelPaymentPaypalFee: CancelPaymentPaypalFee): string;
|
|
4005
|
+
export declare function cancelPaymentPaypalFeeFromJSON(jsonString: string): SafeParseResult<CancelPaymentPaypalFee, SDKValidationError>;
|
|
4006
|
+
/** @internal */
|
|
4007
|
+
export declare const CancelPaymentCardReadMethod$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardReadMethod>;
|
|
4008
|
+
/** @internal */
|
|
4009
|
+
export declare const CancelPaymentCardReadMethod$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardReadMethod>;
|
|
4010
|
+
/**
|
|
4011
|
+
* @internal
|
|
4012
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4013
|
+
*/
|
|
4014
|
+
export declare namespace CancelPaymentCardReadMethod$ {
|
|
4015
|
+
/** @deprecated use `CancelPaymentCardReadMethod$inboundSchema` instead. */
|
|
4016
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
4017
|
+
readonly Chip: "chip";
|
|
4018
|
+
readonly MagneticStripe: "magnetic-stripe";
|
|
4019
|
+
readonly NearFieldCommunication: "near-field-communication";
|
|
4020
|
+
readonly Contactless: "contactless";
|
|
4021
|
+
readonly Moto: "moto";
|
|
4022
|
+
}>;
|
|
4023
|
+
/** @deprecated use `CancelPaymentCardReadMethod$outboundSchema` instead. */
|
|
4024
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
4025
|
+
readonly Chip: "chip";
|
|
4026
|
+
readonly MagneticStripe: "magnetic-stripe";
|
|
4027
|
+
readonly NearFieldCommunication: "near-field-communication";
|
|
4028
|
+
readonly Contactless: "contactless";
|
|
4029
|
+
readonly Moto: "moto";
|
|
4030
|
+
}>;
|
|
4031
|
+
}
|
|
4032
|
+
/** @internal */
|
|
4033
|
+
export declare const CancelPaymentCardVerificationMethod$inboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardVerificationMethod>;
|
|
4034
|
+
/** @internal */
|
|
4035
|
+
export declare const CancelPaymentCardVerificationMethod$outboundSchema: z.ZodNativeEnum<typeof CancelPaymentCardVerificationMethod>;
|
|
4036
|
+
/**
|
|
4037
|
+
* @internal
|
|
4038
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4039
|
+
*/
|
|
4040
|
+
export declare namespace CancelPaymentCardVerificationMethod$ {
|
|
4041
|
+
/** @deprecated use `CancelPaymentCardVerificationMethod$inboundSchema` instead. */
|
|
4042
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
4043
|
+
readonly NoCvmRequired: "no-cvm-required";
|
|
4044
|
+
readonly OnlinePin: "online-pin";
|
|
4045
|
+
readonly OfflinePin: "offline-pin";
|
|
4046
|
+
readonly ConsumerDevice: "consumer-device";
|
|
4047
|
+
readonly Signature: "signature";
|
|
4048
|
+
readonly SignatureAndOnlinePin: "signature-and-online-pin";
|
|
4049
|
+
readonly OnlinePinAndSignature: "online-pin-and-signature";
|
|
4050
|
+
readonly None: "none";
|
|
4051
|
+
readonly Failed: "failed";
|
|
4052
|
+
}>;
|
|
4053
|
+
/** @deprecated use `CancelPaymentCardVerificationMethod$outboundSchema` instead. */
|
|
4054
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
4055
|
+
readonly NoCvmRequired: "no-cvm-required";
|
|
4056
|
+
readonly OnlinePin: "online-pin";
|
|
4057
|
+
readonly OfflinePin: "offline-pin";
|
|
4058
|
+
readonly ConsumerDevice: "consumer-device";
|
|
4059
|
+
readonly Signature: "signature";
|
|
4060
|
+
readonly SignatureAndOnlinePin: "signature-and-online-pin";
|
|
4061
|
+
readonly OnlinePinAndSignature: "online-pin-and-signature";
|
|
4062
|
+
readonly None: "none";
|
|
4063
|
+
readonly Failed: "failed";
|
|
4064
|
+
}>;
|
|
4065
|
+
}
|
|
4066
|
+
/** @internal */
|
|
4067
|
+
export declare const CancelPaymentReceipt$inboundSchema: z.ZodType<CancelPaymentReceipt, z.ZodTypeDef, unknown>;
|
|
4068
|
+
/** @internal */
|
|
4069
|
+
export type CancelPaymentReceipt$Outbound = {
|
|
4070
|
+
authorizationCode?: string | null | undefined;
|
|
4071
|
+
applicationIdentifier?: string | null | undefined;
|
|
4072
|
+
cardReadMethod?: string | null | undefined;
|
|
4073
|
+
cardVerificationMethod?: string | null | undefined;
|
|
4074
|
+
};
|
|
4075
|
+
/** @internal */
|
|
4076
|
+
export declare const CancelPaymentReceipt$outboundSchema: z.ZodType<CancelPaymentReceipt$Outbound, z.ZodTypeDef, CancelPaymentReceipt>;
|
|
4077
|
+
/**
|
|
4078
|
+
* @internal
|
|
4079
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4080
|
+
*/
|
|
4081
|
+
export declare namespace CancelPaymentReceipt$ {
|
|
4082
|
+
/** @deprecated use `CancelPaymentReceipt$inboundSchema` instead. */
|
|
4083
|
+
const inboundSchema: z.ZodType<CancelPaymentReceipt, z.ZodTypeDef, unknown>;
|
|
4084
|
+
/** @deprecated use `CancelPaymentReceipt$outboundSchema` instead. */
|
|
4085
|
+
const outboundSchema: z.ZodType<CancelPaymentReceipt$Outbound, z.ZodTypeDef, CancelPaymentReceipt>;
|
|
4086
|
+
/** @deprecated use `CancelPaymentReceipt$Outbound` instead. */
|
|
4087
|
+
type Outbound = CancelPaymentReceipt$Outbound;
|
|
4088
|
+
}
|
|
4089
|
+
export declare function cancelPaymentReceiptToJSON(cancelPaymentReceipt: CancelPaymentReceipt): string;
|
|
4090
|
+
export declare function cancelPaymentReceiptFromJSON(jsonString: string): SafeParseResult<CancelPaymentReceipt, SDKValidationError>;
|
|
4091
|
+
/** @internal */
|
|
4092
|
+
export declare const CancelPaymentQrCode$inboundSchema: z.ZodType<CancelPaymentQrCode, z.ZodTypeDef, unknown>;
|
|
4093
|
+
/** @internal */
|
|
4094
|
+
export type CancelPaymentQrCode$Outbound = {
|
|
4095
|
+
height?: number | undefined;
|
|
4096
|
+
width?: number | undefined;
|
|
4097
|
+
src?: string | undefined;
|
|
4098
|
+
};
|
|
4099
|
+
/** @internal */
|
|
4100
|
+
export declare const CancelPaymentQrCode$outboundSchema: z.ZodType<CancelPaymentQrCode$Outbound, z.ZodTypeDef, CancelPaymentQrCode>;
|
|
4101
|
+
/**
|
|
4102
|
+
* @internal
|
|
4103
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4104
|
+
*/
|
|
4105
|
+
export declare namespace CancelPaymentQrCode$ {
|
|
4106
|
+
/** @deprecated use `CancelPaymentQrCode$inboundSchema` instead. */
|
|
4107
|
+
const inboundSchema: z.ZodType<CancelPaymentQrCode, z.ZodTypeDef, unknown>;
|
|
4108
|
+
/** @deprecated use `CancelPaymentQrCode$outboundSchema` instead. */
|
|
4109
|
+
const outboundSchema: z.ZodType<CancelPaymentQrCode$Outbound, z.ZodTypeDef, CancelPaymentQrCode>;
|
|
4110
|
+
/** @deprecated use `CancelPaymentQrCode$Outbound` instead. */
|
|
4111
|
+
type Outbound = CancelPaymentQrCode$Outbound;
|
|
4112
|
+
}
|
|
4113
|
+
export declare function cancelPaymentQrCodeToJSON(cancelPaymentQrCode: CancelPaymentQrCode): string;
|
|
4114
|
+
export declare function cancelPaymentQrCodeFromJSON(jsonString: string): SafeParseResult<CancelPaymentQrCode, SDKValidationError>;
|
|
4115
|
+
/** @internal */
|
|
4116
|
+
export declare const CancelPaymentRemainderAmount$inboundSchema: z.ZodType<CancelPaymentRemainderAmount, z.ZodTypeDef, unknown>;
|
|
4117
|
+
/** @internal */
|
|
4118
|
+
export type CancelPaymentRemainderAmount$Outbound = {
|
|
4119
|
+
currency: string;
|
|
4120
|
+
value: string;
|
|
4121
|
+
};
|
|
4122
|
+
/** @internal */
|
|
4123
|
+
export declare const CancelPaymentRemainderAmount$outboundSchema: z.ZodType<CancelPaymentRemainderAmount$Outbound, z.ZodTypeDef, CancelPaymentRemainderAmount>;
|
|
4124
|
+
/**
|
|
4125
|
+
* @internal
|
|
4126
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4127
|
+
*/
|
|
4128
|
+
export declare namespace CancelPaymentRemainderAmount$ {
|
|
4129
|
+
/** @deprecated use `CancelPaymentRemainderAmount$inboundSchema` instead. */
|
|
4130
|
+
const inboundSchema: z.ZodType<CancelPaymentRemainderAmount, z.ZodTypeDef, unknown>;
|
|
4131
|
+
/** @deprecated use `CancelPaymentRemainderAmount$outboundSchema` instead. */
|
|
4132
|
+
const outboundSchema: z.ZodType<CancelPaymentRemainderAmount$Outbound, z.ZodTypeDef, CancelPaymentRemainderAmount>;
|
|
4133
|
+
/** @deprecated use `CancelPaymentRemainderAmount$Outbound` instead. */
|
|
4134
|
+
type Outbound = CancelPaymentRemainderAmount$Outbound;
|
|
4135
|
+
}
|
|
4136
|
+
export declare function cancelPaymentRemainderAmountToJSON(cancelPaymentRemainderAmount: CancelPaymentRemainderAmount): string;
|
|
4137
|
+
export declare function cancelPaymentRemainderAmountFromJSON(jsonString: string): SafeParseResult<CancelPaymentRemainderAmount, SDKValidationError>;
|
|
4138
|
+
/** @internal */
|
|
4139
|
+
export declare const CancelPaymentDetails$inboundSchema: z.ZodType<CancelPaymentDetails, z.ZodTypeDef, unknown>;
|
|
4140
|
+
/** @internal */
|
|
4141
|
+
export type CancelPaymentDetails$Outbound = {
|
|
4142
|
+
consumerName?: string | null | undefined;
|
|
4143
|
+
consumerAccount?: string | null | undefined;
|
|
4144
|
+
consumerBic?: string | null | undefined;
|
|
4145
|
+
shippingAddress?: {
|
|
4146
|
+
[k: string]: any;
|
|
4147
|
+
} | null | undefined;
|
|
4148
|
+
cardNumber?: string | null | undefined;
|
|
4149
|
+
bankName?: string | undefined;
|
|
4150
|
+
bankAccount?: string | undefined;
|
|
4151
|
+
bankBic?: string | undefined;
|
|
4152
|
+
transferReference?: string | null | undefined;
|
|
4153
|
+
cardFingerprint?: string | null | undefined;
|
|
4154
|
+
cardHolder?: string | null | undefined;
|
|
4155
|
+
cardAudition?: string | null | undefined;
|
|
4156
|
+
cardLabel?: string | null | undefined;
|
|
4157
|
+
cardCountryCode?: string | null | undefined;
|
|
4158
|
+
cardExpiryDate?: string | null | undefined;
|
|
4159
|
+
cardFunding?: string | null | undefined;
|
|
4160
|
+
cardSecurity?: string | null | undefined;
|
|
4161
|
+
feeRegion?: string | null | undefined;
|
|
4162
|
+
cardMaskedNumber?: string | null | undefined;
|
|
4163
|
+
card3dsEci?: string | null | undefined;
|
|
4164
|
+
cardBin?: string | null | undefined;
|
|
4165
|
+
cardIssuer?: string | null | undefined;
|
|
4166
|
+
failureReason?: string | null | undefined;
|
|
4167
|
+
failureMessage?: string | null | undefined;
|
|
4168
|
+
wallet?: string | null | undefined;
|
|
4169
|
+
paypalReference?: string | null | undefined;
|
|
4170
|
+
paypalPayerId?: string | null | undefined;
|
|
4171
|
+
sellerProtection?: string | null | undefined;
|
|
4172
|
+
paypalFee?: CancelPaymentPaypalFee$Outbound | null | undefined;
|
|
4173
|
+
customerReference?: string | undefined;
|
|
4174
|
+
terminalId?: string | undefined;
|
|
4175
|
+
maskedNumber?: string | null | undefined;
|
|
4176
|
+
receipt?: CancelPaymentReceipt$Outbound | undefined;
|
|
4177
|
+
creditorIdentifier?: string | null | undefined;
|
|
4178
|
+
dueDate?: string | null | undefined;
|
|
4179
|
+
signatureDate?: string | null | undefined;
|
|
4180
|
+
bankReasonCode?: string | null | undefined;
|
|
4181
|
+
bankReason?: string | null | undefined;
|
|
4182
|
+
endToEndIdentifier?: string | null | undefined;
|
|
4183
|
+
mandateReference?: string | null | undefined;
|
|
4184
|
+
batchReference?: string | null | undefined;
|
|
4185
|
+
fileReference?: string | null | undefined;
|
|
4186
|
+
qrCode?: CancelPaymentQrCode$Outbound | undefined;
|
|
4187
|
+
voucherNumber?: string | undefined;
|
|
4188
|
+
giftcards?: Array<{
|
|
4189
|
+
[k: string]: any;
|
|
4190
|
+
}> | undefined;
|
|
4191
|
+
issuer?: string | undefined;
|
|
4192
|
+
vouchers?: Array<{
|
|
4193
|
+
[k: string]: any;
|
|
4194
|
+
}> | undefined;
|
|
4195
|
+
remainderAmount?: CancelPaymentRemainderAmount$Outbound | undefined;
|
|
4196
|
+
remainderMethod?: string | undefined;
|
|
4197
|
+
remainderDetails?: {
|
|
4198
|
+
[k: string]: any;
|
|
4199
|
+
} | undefined;
|
|
4200
|
+
};
|
|
4201
|
+
/** @internal */
|
|
4202
|
+
export declare const CancelPaymentDetails$outboundSchema: z.ZodType<CancelPaymentDetails$Outbound, z.ZodTypeDef, CancelPaymentDetails>;
|
|
4203
|
+
/**
|
|
4204
|
+
* @internal
|
|
4205
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4206
|
+
*/
|
|
4207
|
+
export declare namespace CancelPaymentDetails$ {
|
|
4208
|
+
/** @deprecated use `CancelPaymentDetails$inboundSchema` instead. */
|
|
4209
|
+
const inboundSchema: z.ZodType<CancelPaymentDetails, z.ZodTypeDef, unknown>;
|
|
4210
|
+
/** @deprecated use `CancelPaymentDetails$outboundSchema` instead. */
|
|
4211
|
+
const outboundSchema: z.ZodType<CancelPaymentDetails$Outbound, z.ZodTypeDef, CancelPaymentDetails>;
|
|
4212
|
+
/** @deprecated use `CancelPaymentDetails$Outbound` instead. */
|
|
4213
|
+
type Outbound = CancelPaymentDetails$Outbound;
|
|
4214
|
+
}
|
|
4215
|
+
export declare function cancelPaymentDetailsToJSON(cancelPaymentDetails: CancelPaymentDetails): string;
|
|
4216
|
+
export declare function cancelPaymentDetailsFromJSON(jsonString: string): SafeParseResult<CancelPaymentDetails, SDKValidationError>;
|
|
4217
|
+
/** @internal */
|
|
2825
4218
|
export declare const CancelPaymentSelf$inboundSchema: z.ZodType<CancelPaymentSelf, z.ZodTypeDef, unknown>;
|
|
2826
4219
|
/** @internal */
|
|
2827
4220
|
export type CancelPaymentSelf$Outbound = {
|
|
@@ -3167,6 +4560,52 @@ export declare namespace CancelPaymentDocumentation$ {
|
|
|
3167
4560
|
export declare function cancelPaymentDocumentationToJSON(cancelPaymentDocumentation: CancelPaymentDocumentation): string;
|
|
3168
4561
|
export declare function cancelPaymentDocumentationFromJSON(jsonString: string): SafeParseResult<CancelPaymentDocumentation, SDKValidationError>;
|
|
3169
4562
|
/** @internal */
|
|
4563
|
+
export declare const CancelPaymentLinksStatus$inboundSchema: z.ZodType<CancelPaymentLinksStatus, z.ZodTypeDef, unknown>;
|
|
4564
|
+
/** @internal */
|
|
4565
|
+
export type CancelPaymentLinksStatus$Outbound = {
|
|
4566
|
+
href: string;
|
|
4567
|
+
type: string;
|
|
4568
|
+
};
|
|
4569
|
+
/** @internal */
|
|
4570
|
+
export declare const CancelPaymentLinksStatus$outboundSchema: z.ZodType<CancelPaymentLinksStatus$Outbound, z.ZodTypeDef, CancelPaymentLinksStatus>;
|
|
4571
|
+
/**
|
|
4572
|
+
* @internal
|
|
4573
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4574
|
+
*/
|
|
4575
|
+
export declare namespace CancelPaymentLinksStatus$ {
|
|
4576
|
+
/** @deprecated use `CancelPaymentLinksStatus$inboundSchema` instead. */
|
|
4577
|
+
const inboundSchema: z.ZodType<CancelPaymentLinksStatus, z.ZodTypeDef, unknown>;
|
|
4578
|
+
/** @deprecated use `CancelPaymentLinksStatus$outboundSchema` instead. */
|
|
4579
|
+
const outboundSchema: z.ZodType<CancelPaymentLinksStatus$Outbound, z.ZodTypeDef, CancelPaymentLinksStatus>;
|
|
4580
|
+
/** @deprecated use `CancelPaymentLinksStatus$Outbound` instead. */
|
|
4581
|
+
type Outbound = CancelPaymentLinksStatus$Outbound;
|
|
4582
|
+
}
|
|
4583
|
+
export declare function cancelPaymentLinksStatusToJSON(cancelPaymentLinksStatus: CancelPaymentLinksStatus): string;
|
|
4584
|
+
export declare function cancelPaymentLinksStatusFromJSON(jsonString: string): SafeParseResult<CancelPaymentLinksStatus, SDKValidationError>;
|
|
4585
|
+
/** @internal */
|
|
4586
|
+
export declare const CancelPaymentPayOnline$inboundSchema: z.ZodType<CancelPaymentPayOnline, z.ZodTypeDef, unknown>;
|
|
4587
|
+
/** @internal */
|
|
4588
|
+
export type CancelPaymentPayOnline$Outbound = {
|
|
4589
|
+
href: string;
|
|
4590
|
+
type: string;
|
|
4591
|
+
};
|
|
4592
|
+
/** @internal */
|
|
4593
|
+
export declare const CancelPaymentPayOnline$outboundSchema: z.ZodType<CancelPaymentPayOnline$Outbound, z.ZodTypeDef, CancelPaymentPayOnline>;
|
|
4594
|
+
/**
|
|
4595
|
+
* @internal
|
|
4596
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4597
|
+
*/
|
|
4598
|
+
export declare namespace CancelPaymentPayOnline$ {
|
|
4599
|
+
/** @deprecated use `CancelPaymentPayOnline$inboundSchema` instead. */
|
|
4600
|
+
const inboundSchema: z.ZodType<CancelPaymentPayOnline, z.ZodTypeDef, unknown>;
|
|
4601
|
+
/** @deprecated use `CancelPaymentPayOnline$outboundSchema` instead. */
|
|
4602
|
+
const outboundSchema: z.ZodType<CancelPaymentPayOnline$Outbound, z.ZodTypeDef, CancelPaymentPayOnline>;
|
|
4603
|
+
/** @deprecated use `CancelPaymentPayOnline$Outbound` instead. */
|
|
4604
|
+
type Outbound = CancelPaymentPayOnline$Outbound;
|
|
4605
|
+
}
|
|
4606
|
+
export declare function cancelPaymentPayOnlineToJSON(cancelPaymentPayOnline: CancelPaymentPayOnline): string;
|
|
4607
|
+
export declare function cancelPaymentPayOnlineFromJSON(jsonString: string): SafeParseResult<CancelPaymentPayOnline, SDKValidationError>;
|
|
4608
|
+
/** @internal */
|
|
3170
4609
|
export declare const CancelPaymentLinks$inboundSchema: z.ZodType<CancelPaymentLinks, z.ZodTypeDef, unknown>;
|
|
3171
4610
|
/** @internal */
|
|
3172
4611
|
export type CancelPaymentLinks$Outbound = {
|
|
@@ -3185,6 +4624,8 @@ export type CancelPaymentLinks$Outbound = {
|
|
|
3185
4624
|
order?: CancelPaymentOrder$Outbound | undefined;
|
|
3186
4625
|
terminal?: CancelPaymentTerminal$Outbound | undefined;
|
|
3187
4626
|
documentation?: CancelPaymentDocumentation$Outbound | undefined;
|
|
4627
|
+
status?: CancelPaymentLinksStatus$Outbound | undefined;
|
|
4628
|
+
payOnline?: CancelPaymentPayOnline$Outbound | undefined;
|
|
3188
4629
|
};
|
|
3189
4630
|
/** @internal */
|
|
3190
4631
|
export declare const CancelPaymentLinks$outboundSchema: z.ZodType<CancelPaymentLinks$Outbound, z.ZodTypeDef, CancelPaymentLinks>;
|
|
@@ -3244,9 +4685,7 @@ export type CancelPaymentResponse$Outbound = {
|
|
|
3244
4685
|
status: string;
|
|
3245
4686
|
statusReason?: CancelPaymentStatusReason$Outbound | null | undefined;
|
|
3246
4687
|
isCancelable?: boolean | null | undefined;
|
|
3247
|
-
details?:
|
|
3248
|
-
[k: string]: any;
|
|
3249
|
-
} | null | undefined;
|
|
4688
|
+
details?: CancelPaymentDetails$Outbound | null | undefined;
|
|
3250
4689
|
createdAt: string;
|
|
3251
4690
|
authorizedAt?: string | null | undefined;
|
|
3252
4691
|
paidAt?: string | null | undefined;
|