merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

ModeNameSize
-rw-r--r--.dir-locals.el16L
-rw-r--r--.gitignore90L
-rw-r--r--.gitmodules8L
-rw-r--r--AUTHORS6L
-rw-r--r--COPYING14L
-rw-r--r--COPYING.AGPL661L
-rw-r--r--COPYING.GPL674L
-rw-r--r--COPYING.LGPL510L
-rw-r--r--ChangeLog125L
-rw-r--r--Makefile.am29L
-rw-r--r--Makefile.in49L
-rw-r--r--NEWS0B
-rw-r--r--README92L
-rw-r--r--RELEASE.md21L
-rwxr-xr-xbootstrap62L
-rwxr-xr-xconfigure255L
-rw-r--r--contrib/.gitignore6L
-rw-r--r--contrib/Makefile.am.in45L
-rwxr-xr-xcontrib/bump265L
-rwxr-xr-xcontrib/check-prebuilt15L
-rw-r--r--contrib/ci/Containerfile78L
-rwxr-xr-xcontrib/ci/ci.sh34L
-rwxr-xr-xcontrib/ci/debian-package-job.sh23L
l---------contrib/ci/djobs/6-arm64-build/build.sh1L
-rw-r--r--contrib/ci/djobs/6-arm64-build/config.ini6L
l---------contrib/ci/djobs/6-arm64-build/job.sh1L
-rw-r--r--contrib/ci/djobs/7-arm64-deb-package/config.ini6L
-rwxr-xr-xcontrib/ci/djobs/7-arm64-deb-package/job.sh2L
l---------contrib/ci/djobs/8-arm64-deploy-package/config.ini1L
l---------contrib/ci/djobs/8-arm64-deploy-package/job.sh1L
-rw-r--r--contrib/ci/jobs/0-codespell/config.ini6L
-rw-r--r--contrib/ci/jobs/0-codespell/dictionary.txt48L
-rwxr-xr-xcontrib/ci/jobs/0-codespell/job.sh104L
-rwxr-xr-xcontrib/ci/jobs/1-build/build.sh12L
-rwxr-xr-xcontrib/ci/jobs/1-build/job.sh9L
-rwxr-xr-xcontrib/ci/jobs/2-test/1-build.sh13L
-rwxr-xr-xcontrib/ci/jobs/2-test/2-install.sh4L
-rwxr-xr-xcontrib/ci/jobs/2-test/3-startdb.sh13L
-rwxr-xr-xcontrib/ci/jobs/2-test/4-test.sh22L
-rwxr-xr-xcontrib/ci/jobs/2-test/5-coverage.sh20L
-rw-r--r--contrib/ci/jobs/2-test/config.ini6L
-rwxr-xr-xcontrib/ci/jobs/2-test/job.sh10L
-rw-r--r--contrib/ci/jobs/3-docs/config.ini6L
-rwxr-xr-xcontrib/ci/jobs/3-docs/docs.sh11L
-rwxr-xr-xcontrib/ci/jobs/3-docs/job.sh6L
-rwxr-xr-xcontrib/ci/jobs/4-deb-package/job.sh2L
-rw-r--r--contrib/ci/jobs/5-deploy-package/config.ini6L
-rwxr-xr-xcontrib/ci/jobs/5-deploy-package/job.sh14L
-rwxr-xr-xcontrib/ci/version.sh20L
-rw-r--r--contrib/gnunet.tag226L
-rw-r--r--contrib/kyc_text.en.must135L
-rw-r--r--contrib/merchant-spa.lock1L
-rw-r--r--contrib/merchant-tos-demo-v0.de.rst8L
-rw-r--r--contrib/merchant-tos-demo-v0.en.rst8L
-rw-r--r--contrib/merchant-tos-demo-v0.fr.rst8L
-rw-r--r--contrib/merchant-tos-tops-v0.de.rst120L
-rw-r--r--contrib/merchant-tos-tops-v0.en.rst112L
-rw-r--r--contrib/merchant-tos-tops-v0.fr.rst124L
-rw-r--r--contrib/meson.build46L
-rw-r--r--contrib/microhttpd.tag162L
-rw-r--r--contrib/taler-exchange.tag218L
-rwxr-xr-xcontrib/taler-merchant-dbconfig136L
-rw-r--r--contrib/typst/Makefile.am1L
-rw-r--r--contrib/typst/common/Makefile.am9L
-rw-r--r--contrib/typst/common/lib.typ224L
-rw-r--r--contrib/typst/common/meson.build5L
-rw-r--r--contrib/typst/common/typst.toml9L
-rw-r--r--contrib/typst/kyc/Makefile.am10L
-rw-r--r--contrib/typst/kyc/kyc.typ23L
-rw-r--r--contrib/typst/kyc/template/main.typ5L
-rw-r--r--contrib/typst/kyc/typst.toml9L
-rw-r--r--contrib/typst/meson.build11L
-rw-r--r--contrib/typst/orders/Makefile.am10L
-rw-r--r--contrib/typst/orders/orders.typ80L
-rw-r--r--contrib/typst/orders/template/main.typ39L
-rw-r--r--contrib/typst/orders/typst.toml9L
-rw-r--r--contrib/typst/transactions/Makefile.am10L
-rw-r--r--contrib/typst/transactions/template/main.typ44L
-rw-r--r--contrib/typst/transactions/transactions.typ101L
-rw-r--r--contrib/typst/transactions/typst.toml9L
-rwxr-xr-xcontrib/uncrustify-mode.el161L
-rw-r--r--contrib/uncrustify.cfg95L
-rw-r--r--contrib/uncrustify.el13L
-rwxr-xr-xcontrib/uncrustify.sh14L
-rwxr-xr-xcontrib/uncrustify_precommit71L
m---------contrib/wallet-core @ bff616f
-rw-r--r--debian/.gitignore27L
-rw-r--r--debian/README-packaging.md6L
-rw-r--r--debian/changelog803L
-rw-r--r--debian/control93L
-rw-r--r--debian/copyright699L
-rw-r--r--debian/etc/apache2/sites-available/taler-merchant.conf48L
-rw-r--r--debian/etc/nginx/sites-available/taler-merchant56L
-rw-r--r--debian/etc/taler-merchant/conf.d/merchant.conf7L
-rw-r--r--debian/etc/taler-merchant/overrides.conf1L
-rw-r--r--debian/etc/taler-merchant/secrets/merchant-db.secret.conf8L
-rw-r--r--debian/etc/taler-merchant/taler-merchant.conf41L
-rw-r--r--debian/libtalermerchant-dev.install17L
-rw-r--r--debian/libtalermerchant.install5L
-rw-r--r--debian/patches/0001-Dont_copy_license_file.patch22L
-rw-r--r--debian/patches/series1L
-rw-r--r--debian/po/POTFILES.in1L
-rwxr-xr-xdebian/rules57L
-rw-r--r--debian/source/format1L
-rw-r--r--debian/source/options3L
-rw-r--r--debian/taler-merchant-typst.install2L
-rw-r--r--debian/taler-merchant.README.Debian38L
-rw-r--r--debian/taler-merchant.dirs1L
-rw-r--r--debian/taler-merchant.docs1L
-rw-r--r--debian/taler-merchant.install15L
-rw-r--r--debian/taler-merchant.lintian-overrides3L
-rw-r--r--debian/taler-merchant.postinst104L
-rw-r--r--debian/taler-merchant.postrm27L
-rw-r--r--debian/taler-merchant.prerm22L
-rw-r--r--debian/taler-merchant.taler-merchant-dbinit-gc.service11L
-rw-r--r--debian/taler-merchant.taler-merchant-dbinit-gc.timer11L
-rw-r--r--debian/taler-merchant.taler-merchant-depositcheck.service21L
-rw-r--r--debian/taler-merchant.taler-merchant-donaukeyupdate.service18L
-rw-r--r--debian/taler-merchant.taler-merchant-exchangekeyupdate.service18L
-rw-r--r--debian/taler-merchant.taler-merchant-httpd.service22L
-rw-r--r--debian/taler-merchant.taler-merchant-httpd.socket14L
-rw-r--r--debian/taler-merchant.taler-merchant-kyccheck.service21L
-rw-r--r--debian/taler-merchant.taler-merchant-reconciliation.service21L
-rw-r--r--debian/taler-merchant.taler-merchant-report-generator.service21L
-rw-r--r--debian/taler-merchant.taler-merchant-webhook.service21L
-rw-r--r--debian/taler-merchant.taler-merchant-wirewatch.service22L
-rw-r--r--debian/taler-merchant.taler-merchant.slice7L
-rw-r--r--debian/taler-merchant.taler-merchant.target16L
-rw-r--r--debian/taler-merchant.tmpfiles3L
-rw-r--r--debian/upstream/metadata4L
-rw-r--r--debian/upstream/signing-key.asc637L
-rw-r--r--debian/watch3L
-rw-r--r--doc/brown-paper.css63L
-rwxr-xr-xdoc/config.sh86L
-rw-r--r--doc/docstyle.css76L
-rw-r--r--doc/doxygen/.gitignore2L
-rw-r--r--doc/doxygen/Makefile15L
-rw-r--r--doc/doxygen/logo.svg87L
-rw-r--r--doc/doxygen/taler.doxy301L
-rw-r--r--doc/meson.build66L
m---------doc/prebuilt @ cf40de9
-rw-r--r--flake.lock406L
-rw-r--r--flake.nix148L
-rw-r--r--meson.build404L
-rw-r--r--meson.options5L
-rwxr-xr-xscripts/doxygen.meson.sh18L
-rw-r--r--src/.gitignore10L
-rw-r--r--src/backend/.gitignore8L
-rw-r--r--src/backend/kudos.conf5L
-rw-r--r--src/backend/merchant.conf79L
-rw-r--r--src/backend/merchant.priv32B
-rw-r--r--src/backend/meson.build356L
-rw-r--r--src/backend/taler-merchant-depositcheck.c1187L
-rw-r--r--src/backend/taler-merchant-donaukeyupdate.c1133L
-rw-r--r--src/backend/taler-merchant-exchangekeyupdate.c1130L
-rw-r--r--src/backend/taler-merchant-httpd.c1601L
-rw-r--r--src/backend/taler-merchant-httpd.h918L
-rw-r--r--src/backend/taler-merchant-httpd_auth.c741L
-rw-r--r--src/backend/taler-merchant-httpd_auth.h103L
-rw-r--r--src/backend/taler-merchant-httpd_contract.c67L
-rw-r--r--src/backend/taler-merchant-httpd_contract.h53L
-rw-r--r--src/backend/taler-merchant-httpd_delete-management-instances-INSTANCE.c166L
-rw-r--r--src/backend/taler-merchant-httpd_delete-management-instances-INSTANCE.h56L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-accounts-H_WIRE.c96L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-accounts-H_WIRE.h42L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-categories-CATEGORY_ID.c93L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-categories-CATEGORY_ID.h42L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-donau-DONAU_SERIAL.c90L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-donau-DONAU_SERIAL.h44L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-groups-GROUP_ID.c75L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-groups-GROUP_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-orders-ORDER_ID.c137L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-orders-ORDER_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-otp-devices-DEVICE_ID.c79L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-otp-devices-DEVICE_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-pots-POT_ID.c76L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-pots-POT_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-products-PRODUCT_ID.c105L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-products-PRODUCT_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-reports-REPORT_ID.c77L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-reports-REPORT_ID.h40L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-templates-TEMPLATE_ID.c79L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-templates-TEMPLATE_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-token.c108L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-token.h45L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-tokenfamilies-TOKEN_FAMILY_SLUG.c84L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-tokenfamilies-TOKEN_FAMILY_SLUG.h41L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-tokens-SERIAL.c87L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-tokens-SERIAL.h43L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-transfers-TID.c92L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-transfers-TID.h42L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-units-UNIT.c84L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-units-UNIT.h33L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-webhooks-WEBHOOK_ID.c79L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-webhooks-WEBHOOK_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_dispatcher.c1603L
-rw-r--r--src/backend/taler-merchant-httpd_dispatcher.h49L
-rw-r--r--src/backend/taler-merchant-httpd_exchanges.c1249L
-rw-r--r--src/backend/taler-merchant-httpd_exchanges.h280L
-rw-r--r--src/backend/taler-merchant-httpd_get-config.c210L
-rw-r--r--src/backend/taler-merchant-httpd_get-config.h39L
-rw-r--r--src/backend/taler-merchant-httpd_get-exchanges.c110L
-rw-r--r--src/backend/taler-merchant-httpd_get-exchanges.h40L
-rw-r--r--src/backend/taler-merchant-httpd_get-management-instances-INSTANCE.c156L
-rw-r--r--src/backend/taler-merchant-httpd_get-management-instances-INSTANCE.h56L
-rw-r--r--src/backend/taler-merchant-httpd_get-management-instances.c125L
-rw-r--r--src/backend/taler-merchant-httpd_get-management-instances.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-orders-ORDER_ID.c1720L
-rw-r--r--src/backend/taler-merchant-httpd_get-orders-ORDER_ID.h47L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-accounts-H_WIRE.c110L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-accounts-H_WIRE.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-accounts.c85L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-accounts.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-categories-CATEGORY_ID.c122L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-categories-CATEGORY_ID.h42L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-categories.c94L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-categories.h42L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-donau.c123L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-donau.h42L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-groups.c123L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-groups.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-incoming-ID.c232L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-incoming-ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-incoming.c196L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-incoming.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-kyc.c1655L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-kyc.h67L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-orders-ORDER_ID.c1803L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-orders-ORDER_ID.h49L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-orders.c1559L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-orders.h76L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-otp-devices-DEVICE_ID.c111L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-otp-devices-DEVICE_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-otp-devices.c81L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-otp-devices.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-pos.c236L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-pos.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-pots-POT_ID.c101L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-pots-POT_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-pots.c128L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-pots.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-products-PRODUCT_ID.c158L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-products-PRODUCT_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-products.c155L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-products.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-reports-REPORT_ID.c139L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-reports-REPORT_ID.h40L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-reports.c120L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-reports.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-statistics-amount-SLUG.c256L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-statistics-amount-SLUG.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-statistics-counter-SLUG.c229L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-statistics-counter-SLUG.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-statistics-report-transactions.c764L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-statistics-report-transactions.h49L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-templates-TEMPLATE_ID.c81L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-templates-TEMPLATE_ID.h42L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-templates.c80L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-templates.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-tokenfamilies-TOKEN_FAMILY_SLUG.c127L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-tokenfamilies-TOKEN_FAMILY_SLUG.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-tokenfamilies.c104L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-tokenfamilies.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-tokens.c130L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-tokens.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-transfers.c191L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-transfers.h42L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-units-UNIT.c90L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-units-UNIT.h33L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-units.c92L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-units.h33L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-webhooks-WEBHOOK_ID.c93L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-webhooks-WEBHOOK_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-webhooks.c81L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-webhooks.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-products-IMAGE_HASH-image.c88L
-rw-r--r--src/backend/taler-merchant-httpd_get-products-IMAGE_HASH-image.h31L
-rw-r--r--src/backend/taler-merchant-httpd_get-sessions-SESSION_ID.c315L
-rw-r--r--src/backend/taler-merchant-httpd_get-sessions-SESSION_ID.h48L
-rw-r--r--src/backend/taler-merchant-httpd_get-templates-TEMPLATE_ID.c578L
-rw-r--r--src/backend/taler-merchant-httpd_get-templates-TEMPLATE_ID.h42L
-rw-r--r--src/backend/taler-merchant-httpd_get-terms.c79L
-rw-r--r--src/backend/taler-merchant-httpd_get-terms.h63L
-rw-r--r--src/backend/taler-merchant-httpd_get-webui.c87L
-rw-r--r--src/backend/taler-merchant-httpd_get-webui.h52L
-rw-r--r--src/backend/taler-merchant-httpd_helper.c1246L
-rw-r--r--src/backend/taler-merchant-httpd_helper.h396L
-rw-r--r--src/backend/taler-merchant-httpd_mfa.c715L
-rw-r--r--src/backend/taler-merchant-httpd_mfa.h90L
-rw-r--r--src/backend/taler-merchant-httpd_mhd.c78L
-rw-r--r--src/backend/taler-merchant-httpd_mhd.h114L
-rw-r--r--src/backend/taler-merchant-httpd_patch-management-instances-INSTANCE.c516L
-rw-r--r--src/backend/taler-merchant-httpd_patch-management-instances-INSTANCE.h59L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-accounts-H_WIRE.c150L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-accounts-H_WIRE.h43L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-categories-CATEGORY_ID.c131L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-categories-CATEGORY_ID.h45L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-groups-GROUP_ID.c111L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-groups-GROUP_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-orders-ORDER_ID-forget.c246L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-orders-ORDER_ID-forget.h43L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-otp-devices-DEVICE_ID.c115L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-otp-devices-DEVICE_ID.h44L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-pots-POT_ID.c153L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-pots-POT_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-products-PRODUCT_ID.c483L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-products-PRODUCT_ID.h43L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-reports-REPORT_ID.c152L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-reports-REPORT_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-templates-TEMPLATE_ID.c219L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-templates-TEMPLATE_ID.h43L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-tokenfamilies-TOKEN_FAMILY_SLUG.c160L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-tokenfamilies-TOKEN_FAMILY_SLUG.h43L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-units-UNIT.c243L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-units-UNIT.h33L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-webhooks-WEBHOOK_ID.c190L
-rw-r--r--src/backend/taler-merchant-httpd_patch-private-webhooks-WEBHOOK_ID.h43L
-rw-r--r--src/backend/taler-merchant-httpd_post-challenge-ID-confirm.c156L
-rw-r--r--src/backend/taler-merchant-httpd_post-challenge-ID-confirm.h45L
-rw-r--r--src/backend/taler-merchant-httpd_post-challenge-ID.c684L
-rw-r--r--src/backend/taler-merchant-httpd_post-challenge-ID.h49L
-rw-r--r--src/backend/taler-merchant-httpd_post-management-instances-INSTANCE-auth.c344L
-rw-r--r--src/backend/taler-merchant-httpd_post-management-instances-INSTANCE-auth.h80L
-rw-r--r--src/backend/taler-merchant-httpd_post-management-instances.c697L
-rw-r--r--src/backend/taler-merchant-httpd_post-management-instances.h59L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-abort.c1049L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-abort.h49L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-claim.c337L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-claim.h42L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-paid.c201L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-paid.h40L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-pay.c5333L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-pay.h49L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-refund.c855L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-refund.h48L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-unclaim.c124L
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ORDER_ID-unclaim.h40L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-accounts-H_WIRE-kycauth.c744L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-accounts-H_WIRE-kycauth.h54L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-accounts.c479L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-accounts.h44L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-categories.c190L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-categories.h45L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-donau.c356L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-donau.h49L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-groups.c89L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-groups.h41L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-orders-ORDER_ID-refund.c472L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-orders-ORDER_ID-refund.h43L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-orders.c4812L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-orders.h50L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-otp-devices.c202L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-otp-devices.h44L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-pots.c92L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-pots.h40L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-products-PRODUCT_ID-lock.c210L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-products-PRODUCT_ID-lock.h43L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-products.c435L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-products.h43L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-reports.c150L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-reports.h41L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-templates.c254L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-templates.h43L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-token.c193L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-token.h45L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-tokenfamilies.c388L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-tokenfamilies.h43L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-transfers.c145L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-transfers.h44L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-units.c220L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-units.h33L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-webhooks.c217L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-webhooks.h43L
-rw-r--r--src/backend/taler-merchant-httpd_post-reports-REPORT_ID.c190L
-rw-r--r--src/backend/taler-merchant-httpd_post-reports-REPORT_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_post-templates-TEMPLATE_ID.c1785L
-rw-r--r--src/backend/taler-merchant-httpd_post-templates-TEMPLATE_ID.h40L
-rw-r--r--src/backend/taler-merchant-httpd_qr.c98L
-rw-r--r--src/backend/taler-merchant-httpd_qr.h35L
-rw-r--r--src/backend/taler-merchant-httpd_statics.c339L
-rw-r--r--src/backend/taler-merchant-httpd_statics.h50L
-rw-r--r--src/backend/taler-merchant-kyccheck.c1810L
-rw-r--r--src/backend/taler-merchant-reconciliation.c1280L
-rwxr-xr-xsrc/backend/taler-merchant-report-generator-email161L
-rwxr-xr-xsrc/backend/taler-merchant-report-generator-file114L
-rw-r--r--src/backend/taler-merchant-report-generator.c952L
-rw-r--r--src/backend/taler-merchant-webhook.c586L
-rw-r--r--src/backend/taler-merchant-wirewatch.c724L
-rw-r--r--src/backend/test-merchant.conf0B
-rw-r--r--src/backend/test.conf172L
-rw-r--r--src/backend/tops.conf5L
-rw-r--r--src/backenddb/.gitignore1L
-rw-r--r--src/backenddb/account_kyc_get_outdated.c151L
-rw-r--r--src/backenddb/account_kyc_get_status.c216L
-rw-r--r--src/backenddb/account_kyc_set_failed.c99L
-rw-r--r--src/backenddb/account_kyc_set_status.c120L
-rw-r--r--src/backenddb/activate_account.c81L
-rw-r--r--src/backenddb/check_donau_instance.c62L
-rw-r--r--src/backenddb/check_money_pots.c71L
-rw-r--r--src/backenddb/check_report.c67L
-rw-r--r--src/backenddb/check_transfer_exists.c62L
-rw-r--r--src/backenddb/create_mfa_challenge.c89L
-rw-r--r--src/backenddb/create_tables.c48L
-rw-r--r--src/backenddb/delete_category.c53L
-rw-r--r--src/backenddb/delete_contract_terms.c58L
-rw-r--r--src/backenddb/delete_donau_instance.c51L
-rw-r--r--src/backenddb/delete_exchange_accounts.c46L
-rw-r--r--src/backenddb/delete_instance_private_key.c48L
-rw-r--r--src/backenddb/delete_login_token.c77L
-rw-r--r--src/backenddb/delete_money_pot.c53L
-rw-r--r--src/backenddb/delete_order.c92L
-rw-r--r--src/backenddb/delete_otp.c53L
-rw-r--r--src/backenddb/delete_pending_webhook.c47L
-rw-r--r--src/backenddb/delete_product.c56L
-rw-r--r--src/backenddb/delete_product_group.c52L
-rw-r--r--src/backenddb/delete_report.c53L
-rw-r--r--src/backenddb/delete_template.c53L
-rw-r--r--src/backenddb/delete_token_family.c52L
-rw-r--r--src/backenddb/delete_transfer.c57L
-rw-r--r--src/backenddb/delete_unit.c67L
-rw-r--r--src/backenddb/delete_webhook.c53L
-rw-r--r--src/backenddb/drop_tables.c42L
-rw-r--r--src/backenddb/event_listen.c48L
-rw-r--r--src/backenddb/event_notify.c37L
-rw-r--r--src/backenddb/example-statistics-0001.sql110L
-rw-r--r--src/backenddb/expire_locks.c85L
-rw-r--r--src/backenddb/finalize_transfer_status.c78L
-rw-r--r--src/backenddb/future.sql64L
-rw-r--r--src/backenddb/gc.c68L
-rw-r--r--src/backenddb/get_kyc_limits.c77L
-rw-r--r--src/backenddb/get_kyc_status.c117L
-rw-r--r--src/backenddb/helper.h105L
-rw-r--r--src/backenddb/inactivate_account.c61L
-rw-r--r--src/backenddb/increase_refund.c707L
-rw-r--r--src/backenddb/increment_money_pots.c74L
-rw-r--r--src/backenddb/insert_account.c77L
-rw-r--r--src/backenddb/insert_category.c65L
-rw-r--r--src/backenddb/insert_contract_terms.c133L
-rw-r--r--src/backenddb/insert_deposit.c78L
-rw-r--r--src/backenddb/insert_deposit_confirmation.c145L
-rw-r--r--src/backenddb/insert_deposit_to_transfer.c66L
-rw-r--r--src/backenddb/insert_donau_instance.c71L
-rw-r--r--src/backenddb/insert_exchange_account.c64L
-rw-r--r--src/backenddb/insert_exchange_keys.c91L
-rw-r--r--src/backenddb/insert_exchange_signkey.c64L
-rw-r--r--src/backenddb/insert_instance.c120L
-rw-r--r--src/backenddb/insert_issued_token.c77L
-rw-r--r--src/backenddb/insert_login_token.c65L
-rw-r--r--src/backenddb/insert_money_pot.c64L
-rw-r--r--src/backenddb/insert_order.c94L
-rw-r--r--src/backenddb/insert_order_blinded_sigs.c59L
-rw-r--r--src/backenddb/insert_order_lock.c97L
-rw-r--r--src/backenddb/insert_otp.c73L
-rw-r--r--src/backenddb/insert_pending_webhook.c69L
-rw-r--r--src/backenddb/insert_product.c114L
-rw-r--r--src/backenddb/insert_product_group.c65L
-rw-r--r--src/backenddb/insert_refund_proof.c57L
-rw-r--r--src/backenddb/insert_report.c99L
-rw-r--r--src/backenddb/insert_spent_token.c86L
-rw-r--r--src/backenddb/insert_template.c71L
-rw-r--r--src/backenddb/insert_token_family.c93L
-rw-r--r--src/backenddb/insert_token_family_key.c138L
-rw-r--r--src/backenddb/insert_transfer.c78L
-rw-r--r--src/backenddb/insert_transfer_details.c204L
-rw-r--r--src/backenddb/insert_unclaim_signature.c98L
-rw-r--r--src/backenddb/insert_unit.c83L
-rw-r--r--src/backenddb/insert_webhook.c69L
-rw-r--r--src/backenddb/lock_product.c101L
-rw-r--r--src/backenddb/lookup_account.c61L
-rw-r--r--src/backenddb/lookup_all_products.c230L
-rw-r--r--src/backenddb/lookup_categories.c147L
-rw-r--r--src/backenddb/lookup_categories_by_ids.c145L
-rw-r--r--src/backenddb/lookup_contract_terms.c78L
-rw-r--r--src/backenddb/lookup_contract_terms2.c94L
-rw-r--r--src/backenddb/lookup_contract_terms3.c110L
-rw-r--r--src/backenddb/lookup_custom_units_by_names.c142L
-rw-r--r--src/backenddb/lookup_deposits.c164L
-rw-r--r--src/backenddb/lookup_deposits_by_contract_and_coin.c330L
-rw-r--r--src/backenddb/lookup_deposits_by_order.c165L
-rw-r--r--src/backenddb/lookup_donau_keys.c72L
-rw-r--r--src/backenddb/lookup_expected_transfer.c102L
-rw-r--r--src/backenddb/lookup_expected_transfers.c278L
-rw-r--r--src/backenddb/lookup_instance_auth.c57L
-rw-r--r--src/backenddb/lookup_instances.c344L
-rw-r--r--src/backenddb/lookup_inventory_products.c223L
-rw-r--r--src/backenddb/lookup_inventory_products_filtered.c244L
-rw-r--r--src/backenddb/lookup_login_tokens.c181L
-rw-r--r--src/backenddb/lookup_mfa_challenge.c112L
-rw-r--r--src/backenddb/lookup_order.c95L
-rw-r--r--src/backenddb/lookup_order_by_fulfillment.c78L
-rw-r--r--src/backenddb/lookup_order_charity.c95L
-rw-r--r--src/backenddb/lookup_order_status.c71L
-rw-r--r--src/backenddb/lookup_order_status_by_serial.c69L
-rw-r--r--src/backenddb/lookup_order_summary.c74L
-rw-r--r--src/backenddb/lookup_orders.c291L
-rw-r--r--src/backenddb/lookup_otp_devices.c133L
-rw-r--r--src/backenddb/lookup_pending_deposits.c199L
-rw-r--r--src/backenddb/lookup_pending_webhooks.c259L
-rw-r--r--src/backenddb/lookup_product.c194L
-rw-r--r--src/backenddb/lookup_product_image.c67L
-rw-r--r--src/backenddb/lookup_products.c200L
-rw-r--r--src/backenddb/lookup_reconciliation_details.c178L
-rw-r--r--src/backenddb/lookup_refund_proof.c62L
-rw-r--r--src/backenddb/lookup_refunds.c146L
-rw-r--r--src/backenddb/lookup_refunds_detailed.c186L
-rw-r--r--src/backenddb/lookup_reports_pending.c181L
-rw-r--r--src/backenddb/lookup_spent_tokens_by_order.c162L
-rw-r--r--src/backenddb/lookup_statistics_amount_by_bucket.c226L
-rw-r--r--src/backenddb/lookup_statistics_amount_by_bucket2.c167L
-rw-r--r--src/backenddb/lookup_statistics_amount_by_interval.c244L
-rw-r--r--src/backenddb/lookup_statistics_counter_by_bucket.c164L
-rw-r--r--src/backenddb/lookup_statistics_counter_by_bucket2.c190L
-rw-r--r--src/backenddb/lookup_statistics_counter_by_interval.c210L
-rw-r--r--src/backenddb/lookup_template.c108L
-rw-r--r--src/backenddb/lookup_templates.c132L
-rw-r--r--src/backenddb/lookup_token_families.c162L
-rw-r--r--src/backenddb/lookup_token_family.c135L
-rw-r--r--src/backenddb/lookup_token_family_key.c187L
-rw-r--r--src/backenddb/lookup_token_family_keys.c223L
-rw-r--r--src/backenddb/lookup_transfer_details.c156L
-rw-r--r--src/backenddb/lookup_transfer_details_by_order.c240L
-rw-r--r--src/backenddb/lookup_transfer_summary.c152L
-rw-r--r--src/backenddb/lookup_transfers.c246L
-rw-r--r--src/backenddb/lookup_units.c151L
-rw-r--r--src/backenddb/lookup_webhook.c91L
-rw-r--r--src/backenddb/lookup_webhook_by_event.c158L
-rw-r--r--src/backenddb/lookup_webhooks.c132L
-rw-r--r--src/backenddb/lookup_wire_fee.c80L
-rw-r--r--src/backenddb/mark_contract_paid.c121L
-rw-r--r--src/backenddb/mark_order_wired.c47L
-rw-r--r--src/backenddb/merchantdb-postgres.conf6L
-rw-r--r--src/backenddb/merchantdb_helper.c123L
-rw-r--r--src/backenddb/meson.build263L
-rw-r--r--src/backenddb/pg.c92L
-rw-r--r--src/backenddb/pg_account_kyc_get_status.sql124L
-rw-r--r--src/backenddb/pg_account_kyc_set_failed.sql100L
-rw-r--r--src/backenddb/pg_account_kyc_set_status.sql127L
-rw-r--r--src/backenddb/pg_activate_account.sql146L
-rw-r--r--src/backenddb/pg_base32_crockford.sql66L
-rw-r--r--src/backenddb/pg_do_handle_category_changes.sql162L
-rw-r--r--src/backenddb/pg_do_handle_inventory_changes.sql306L
-rw-r--r--src/backenddb/pg_inactivate_account.sql49L
-rw-r--r--src/backenddb/pg_increment_money_pots.sql109L
-rw-r--r--src/backenddb/pg_insert_deposit_confirmation.sql172L
-rw-r--r--src/backenddb/pg_insert_deposit_to_transfer.sql136L
-rw-r--r--src/backenddb/pg_insert_issued_token.sql72L
-rw-r--r--src/backenddb/pg_insert_product.sql246L
-rw-r--r--src/backenddb/pg_insert_spent_token.sql88L
-rw-r--r--src/backenddb/pg_insert_transfer.sql122L
-rw-r--r--src/backenddb/pg_insert_transfer_details.sql270L
-rw-r--r--src/backenddb/pg_insert_unclaim_signature.sql85L
-rw-r--r--src/backenddb/pg_merchant_kyc_trigger.sql40L
-rw-r--r--src/backenddb/pg_merchant_send_kyc_notification.sql98L
-rw-r--r--src/backenddb/pg_solve_mfa_challenge.sql84L
-rw-r--r--src/backenddb/pg_statistics_examples.sql200L
-rw-r--r--src/backenddb/pg_statistics_helpers.sql1092L
-rwxr-xr-xsrc/backenddb/pg_template.sh21L
-rw-r--r--src/backenddb/pg_update_money_pot.sql82L
-rw-r--r--src/backenddb/pg_update_product.sql199L
-rw-r--r--src/backenddb/pg_update_product_group.sql55L
-rw-r--r--src/backenddb/pg_uri_escape.sql37L
-rw-r--r--src/backenddb/preflight.c36L
-rw-r--r--src/backenddb/purge_instance.c53L
-rw-r--r--src/backenddb/refund_coin.c76L
-rw-r--r--src/backenddb/select_account.c84L
-rw-r--r--src/backenddb/select_account_by_uri.c82L
-rw-r--r--src/backenddb/select_accounts.c187L
-rw-r--r--src/backenddb/select_accounts_by_exchange.c145L
-rw-r--r--src/backenddb/select_all_donau_instances.c172L
-rw-r--r--src/backenddb/select_category.c98L
-rw-r--r--src/backenddb/select_category_by_name.c65L
-rw-r--r--src/backenddb/select_donau_instance_by_serial.c61L
-rw-r--r--src/backenddb/select_donau_instances.c175L
-rw-r--r--src/backenddb/select_donau_instances_filtered.c130L
-rw-r--r--src/backenddb/select_exchange_keys.c74L
-rw-r--r--src/backenddb/select_exchanges.c146L
-rw-r--r--src/backenddb/select_login_token.c65L
-rw-r--r--src/backenddb/select_money_pot.c72L
-rw-r--r--src/backenddb/select_money_pots.c174L
-rw-r--r--src/backenddb/select_open_transfers.c160L
-rw-r--r--src/backenddb/select_order_blinded_sigs.c125L
-rw-r--r--src/backenddb/select_otp.c89L
-rw-r--r--src/backenddb/select_otp_serial.c60L
-rw-r--r--src/backenddb/select_product_groups.c164L
-rw-r--r--src/backenddb/select_report.c106L
-rw-r--r--src/backenddb/select_reports.c167L
-rw-r--r--src/backenddb/select_unit.c134L
-rw-r--r--src/backenddb/select_wirewatch_accounts.c146L
-rw-r--r--src/backenddb/solve_mfa_challenge.c83L
-rw-r--r--src/backenddb/sql-schema/Makefile.sql13L
-rw-r--r--src/backenddb/sql-schema/drop.sql34L
-rw-r--r--src/backenddb/sql-schema/merchant-0001.sql889L
-rw-r--r--src/backenddb/sql-schema/merchant-0002.sql171L
-rw-r--r--src/backenddb/sql-schema/merchant-0003.sql50L
-rw-r--r--src/backenddb/sql-schema/merchant-0004.sql30L
-rw-r--r--src/backenddb/sql-schema/merchant-0005.sql36L
-rw-r--r--src/backenddb/sql-schema/merchant-0006.sql66L
-rw-r--r--src/backenddb/sql-schema/merchant-0007.sql34L
-rw-r--r--src/backenddb/sql-schema/merchant-0008.sql58L
-rw-r--r--src/backenddb/sql-schema/merchant-0009.sql43L
-rw-r--r--src/backenddb/sql-schema/merchant-0010.sql59L
-rw-r--r--src/backenddb/sql-schema/merchant-0011.sql39L
-rw-r--r--src/backenddb/sql-schema/merchant-0012.sql33L
-rw-r--r--src/backenddb/sql-schema/merchant-0013.sql122L
-rw-r--r--src/backenddb/sql-schema/merchant-0014.sql589L
-rw-r--r--src/backenddb/sql-schema/merchant-0015.sql35L
-rw-r--r--src/backenddb/sql-schema/merchant-0016.sql31L
-rw-r--r--src/backenddb/sql-schema/merchant-0017.sql35L
-rw-r--r--src/backenddb/sql-schema/merchant-0018.sql37L
-rw-r--r--src/backenddb/sql-schema/merchant-0019.sql42L
-rw-r--r--src/backenddb/sql-schema/merchant-0020.sql41L
-rw-r--r--src/backenddb/sql-schema/merchant-0021.sql295L
-rw-r--r--src/backenddb/sql-schema/merchant-0022.sql157L
-rw-r--r--src/backenddb/sql-schema/merchant-0023.sql88L
-rw-r--r--src/backenddb/sql-schema/merchant-0024.sql35L
-rw-r--r--src/backenddb/sql-schema/merchant-0025.sql155L
-rw-r--r--src/backenddb/sql-schema/merchant-0026.sql67L
-rw-r--r--src/backenddb/sql-schema/merchant-0027.sql455L
-rw-r--r--src/backenddb/sql-schema/merchant-0028.sql264L
-rw-r--r--src/backenddb/sql-schema/merchant-0029.sql39L
-rw-r--r--src/backenddb/sql-schema/merchant-0030.sql61L
-rw-r--r--src/backenddb/sql-schema/merchant-0031.sql33L
-rw-r--r--src/backenddb/sql-schema/merchant-0032.sql81L
-rw-r--r--src/backenddb/sql-schema/merchant-0033.sql34L
-rw-r--r--src/backenddb/sql-schema/merchant-0034.sql40L
-rw-r--r--src/backenddb/sql-schema/merchant-0035.sql33L
-rw-r--r--src/backenddb/sql-schema/meson.build52L
-rw-r--r--src/backenddb/sql-schema/procedures.sql.in67L
-rw-r--r--src/backenddb/sql-schema/versioning.sql294L
-rw-r--r--src/backenddb/start.c127L
-rw-r--r--src/backenddb/store_wire_fee_by_exchange.c74L
-rw-r--r--src/backenddb/test-merchantdb-postgres.conf12L
-rw-r--r--src/backenddb/test.conf172L
-rw-r--r--src/backenddb/test_merchantdb.c7453L
-rwxr-xr-xsrc/backenddb/test_webhook_trigger.sh369L
-rw-r--r--src/backenddb/unlock_inventory.c46L
-rw-r--r--src/backenddb/update_account.c68L
-rw-r--r--src/backenddb/update_category.c58L
-rw-r--r--src/backenddb/update_contract_session.c82L
-rw-r--r--src/backenddb/update_contract_terms.c105L
-rw-r--r--src/backenddb/update_deposit_confirmation_status.c65L
-rw-r--r--src/backenddb/update_donau_instance.c69L
-rw-r--r--src/backenddb/update_donau_instance_receipts_amount.c54L
-rw-r--r--src/backenddb/update_instance.c88L
-rw-r--r--src/backenddb/update_instance_auth.c50L
-rw-r--r--src/backenddb/update_mfa_challenge.c58L
-rw-r--r--src/backenddb/update_money_pot.c90L
-rw-r--r--src/backenddb/update_otp.c64L
-rw-r--r--src/backenddb/update_pending_webhook.c50L
-rw-r--r--src/backenddb/update_product.c134L
-rw-r--r--src/backenddb/update_product_group.c72L
-rw-r--r--src/backenddb/update_report.c84L
-rw-r--r--src/backenddb/update_report_status.c66L
-rw-r--r--src/backenddb/update_template.c78L
-rw-r--r--src/backenddb/update_token_family.c67L
-rw-r--r--src/backenddb/update_transfer_status.c69L
-rw-r--r--src/backenddb/update_unit.c96L
-rw-r--r--src/backenddb/update_webhook.c67L
-rw-r--r--src/backenddb/update_wirewatch_progress.c56L
-rw-r--r--src/backenddb/upsert_donau_keys.c75L
-rw-r--r--src/bank/mb_common.c76L
-rw-r--r--src/bank/mb_common.h45L
-rw-r--r--src/bank/mb_credit.c342L
-rw-r--r--src/bank/mb_parse.c270L
-rw-r--r--src/bank/meson.build29L
-rw-r--r--src/include/merchant-database/account_kyc_get_outdated.h60L
-rw-r--r--src/include/merchant-database/account_kyc_get_status.h84L
-rw-r--r--src/include/merchant-database/account_kyc_set_failed.h51L
-rw-r--r--src/include/merchant-database/account_kyc_set_status.h66L
-rw-r--r--src/include/merchant-database/activate_account.h50L
-rw-r--r--src/include/merchant-database/all.h191L
-rw-r--r--src/include/merchant-database/check_donau_instance.h45L
-rw-r--r--src/include/merchant-database/check_money_pots.h52L
-rw-r--r--src/include/merchant-database/check_report.h52L
-rw-r--r--src/include/merchant-database/check_transfer_exists.h45L
-rw-r--r--src/include/merchant-database/create_mfa_challenge.h62L
-rw-r--r--src/include/merchant-database/create_tables.h38L
-rw-r--r--src/include/merchant-database/delete_category.h45L
-rw-r--r--src/include/merchant-database/delete_contract_terms.h49L
-rw-r--r--src/include/merchant-database/delete_donau_instance.h44L
-rw-r--r--src/include/merchant-database/delete_exchange_accounts.h42L
-rw-r--r--src/include/merchant-database/delete_instance_private_key.h41L
-rw-r--r--src/include/merchant-database/delete_login_token.h60L
-rw-r--r--src/include/merchant-database/delete_money_pot.h43L
-rw-r--r--src/include/merchant-database/delete_order.h47L
-rw-r--r--src/include/merchant-database/delete_otp.h44L
-rw-r--r--src/include/merchant-database/delete_pending_webhook.h42L
-rw-r--r--src/include/merchant-database/delete_product.h45L
-rw-r--r--src/include/merchant-database/delete_product_group.h43L
-rw-r--r--src/include/merchant-database/delete_report.h43L
-rw-r--r--src/include/merchant-database/delete_template.h45L
-rw-r--r--src/include/merchant-database/delete_token_family.h43L
-rw-r--r--src/include/merchant-database/delete_transfer.h45L
-rw-r--r--src/include/merchant-database/delete_unit.h47L
-rw-r--r--src/include/merchant-database/delete_webhook.h44L
-rw-r--r--src/include/merchant-database/drop_tables.h39L
-rw-r--r--src/include/merchant-database/event_listen.h57L
-rw-r--r--src/include/merchant-database/event_notify.h44L
-rw-r--r--src/include/merchant-database/expire_locks.h41L
-rw-r--r--src/include/merchant-database/finalize_transfer_status.h54L
-rw-r--r--src/include/merchant-database/gc.h39L
-rw-r--r--src/include/merchant-database/get_kyc_limits.h51L
-rw-r--r--src/include/merchant-database/get_kyc_status.h70L
-rw-r--r--src/include/merchant-database/inactivate_account.h44L
-rw-r--r--src/include/merchant-database/increase_refund.h79L
-rw-r--r--src/include/merchant-database/increment_money_pots.h50L
-rw-r--r--src/include/merchant-database/insert_account.h42L
-rw-r--r--src/include/merchant-database/insert_category.h48L
-rw-r--r--src/include/merchant-database/insert_contract_terms.h53L
-rw-r--r--src/include/merchant-database/insert_deposit.h56L
-rw-r--r--src/include/merchant-database/insert_deposit_confirmation.h62L
-rw-r--r--src/include/merchant-database/insert_deposit_to_transfer.h49L
-rw-r--r--src/include/merchant-database/insert_donau_instance.h47L
-rw-r--r--src/include/merchant-database/insert_exchange_account.h52L
-rw-r--r--src/include/merchant-database/insert_exchange_keys.h49L
-rw-r--r--src/include/merchant-database/insert_exchange_signkey.h52L
-rw-r--r--src/include/merchant-database/insert_instance.h50L
-rw-r--r--src/include/merchant-database/insert_issued_token.h46L
-rw-r--r--src/include/merchant-database/insert_login_token.h52L
-rw-r--r--src/include/merchant-database/insert_money_pot.h47L
-rw-r--r--src/include/merchant-database/insert_order.h58L
-rw-r--r--src/include/merchant-database/insert_order_blinded_sigs.h47L
-rw-r--r--src/include/merchant-database/insert_order_lock.h52L
-rw-r--r--src/include/merchant-database/insert_otp.h46L
-rw-r--r--src/include/merchant-database/insert_pending_webhook.h51L
-rw-r--r--src/include/merchant-database/insert_product.h61L
-rw-r--r--src/include/merchant-database/insert_product_group.h47L
-rw-r--r--src/include/merchant-database/insert_refund_proof.h46L
-rw-r--r--src/include/merchant-database/insert_report.h61L
-rw-r--r--src/include/merchant-database/insert_spent_token.h47L
-rw-r--r--src/include/merchant-database/insert_template.h47L
-rw-r--r--src/include/merchant-database/insert_token_family.h44L
-rw-r--r--src/include/merchant-database/insert_token_family_key.h54L
-rw-r--r--src/include/merchant-database/insert_transfer.h62L
-rw-r--r--src/include/merchant-database/insert_transfer_details.h52L
-rw-r--r--src/include/merchant-database/insert_unclaim_signature.h52L
-rw-r--r--src/include/merchant-database/insert_unit.h49L
-rw-r--r--src/include/merchant-database/insert_webhook.h45L
-rw-r--r--src/include/merchant-database/lock_product.h54L
-rw-r--r--src/include/merchant-database/lookup_account.h45L
-rw-r--r--src/include/merchant-database/lookup_all_products.h65L
-rw-r--r--src/include/merchant-database/lookup_categories.h63L
-rw-r--r--src/include/merchant-database/lookup_categories_by_ids.h64L
-rw-r--r--src/include/merchant-database/lookup_contract_terms.h49L
-rw-r--r--src/include/merchant-database/lookup_contract_terms2.h55L
-rw-r--r--src/include/merchant-database/lookup_contract_terms3.h59L
-rw-r--r--src/include/merchant-database/lookup_custom_units_by_names.h62L
-rw-r--r--src/include/merchant-database/lookup_deposits.h69L
-rw-r--r--src/include/merchant-database/lookup_deposits_by_contract_and_coin.h80L
-rw-r--r--src/include/merchant-database/lookup_deposits_by_order.h68L
-rw-r--r--src/include/merchant-database/lookup_donau_keys.h49L
-rw-r--r--src/include/merchant-database/lookup_expected_transfer.h60L
-rw-r--r--src/include/merchant-database/lookup_expected_transfers.h93L
-rw-r--r--src/include/merchant-database/lookup_instance_auth.h42L
-rw-r--r--src/include/merchant-database/lookup_instances.h78L
-rw-r--r--src/include/merchant-database/lookup_inventory_products.h62L
-rw-r--r--src/include/merchant-database/lookup_inventory_products_filtered.h70L
-rw-r--r--src/include/merchant-database/lookup_login_tokens.h69L
-rw-r--r--src/include/merchant-database/lookup_mfa_challenge.h65L
-rw-r--r--src/include/merchant-database/lookup_order.h51L
-rw-r--r--src/include/merchant-database/lookup_order_by_fulfillment.h51L
-rw-r--r--src/include/merchant-database/lookup_order_charity.h65L
-rw-r--r--src/include/merchant-database/lookup_order_status.h47L
-rw-r--r--src/include/merchant-database/lookup_order_status_by_serial.h50L
-rw-r--r--src/include/merchant-database/lookup_order_summary.h47L
-rw-r--r--src/include/merchant-database/lookup_orders.h121L
-rw-r--r--src/include/merchant-database/lookup_otp_devices.h60L
-rw-r--r--src/include/merchant-database/lookup_pending_deposits.h80L
-rw-r--r--src/include/merchant-database/lookup_pending_webhooks.h105L
-rw-r--r--src/include/merchant-database/lookup_product.h51L
-rw-r--r--src/include/merchant-database/lookup_product_image.h34L
-rw-r--r--src/include/merchant-database/lookup_products.h91L
-rw-r--r--src/include/merchant-database/lookup_reconciliation_details.h66L
-rw-r--r--src/include/merchant-database/lookup_refund_proof.h45L
-rw-r--r--src/include/merchant-database/lookup_refunds.h61L
-rw-r--r--src/include/merchant-database/lookup_refunds_detailed.h73L
-rw-r--r--src/include/merchant-database/lookup_reports_pending.h79L
-rw-r--r--src/include/merchant-database/lookup_spent_tokens_by_order.h67L
-rw-r--r--src/include/merchant-database/lookup_statistics_amount_by_bucket.h68L
-rw-r--r--src/include/merchant-database/lookup_statistics_amount_by_bucket2.h92L
-rw-r--r--src/include/merchant-database/lookup_statistics_amount_by_interval.h65L
-rw-r--r--src/include/merchant-database/lookup_statistics_counter_by_bucket.h67L
-rw-r--r--src/include/merchant-database/lookup_statistics_counter_by_bucket2.h71L
-rw-r--r--src/include/merchant-database/lookup_statistics_counter_by_interval.h82L
-rw-r--r--src/include/merchant-database/lookup_template.h47L
-rw-r--r--src/include/merchant-database/lookup_templates.h59L
-rw-r--r--src/include/merchant-database/lookup_token_families.h67L
-rw-r--r--src/include/merchant-database/lookup_token_family.h47L
-rw-r--r--src/include/merchant-database/lookup_token_family_key.h92L
-rw-r--r--src/include/merchant-database/lookup_token_family_keys.h65L
-rw-r--r--src/include/merchant-database/lookup_transfer_details.h63L
-rw-r--r--src/include/merchant-database/lookup_transfer_details_by_order.h73L
-rw-r--r--src/include/merchant-database/lookup_transfer_summary.h62L
-rw-r--r--src/include/merchant-database/lookup_transfers.h88L
-rw-r--r--src/include/merchant-database/lookup_units.h59L
-rw-r--r--src/include/merchant-database/lookup_webhook.h46L
-rw-r--r--src/include/merchant-database/lookup_webhook_by_event.h68L
-rw-r--r--src/include/merchant-database/lookup_webhooks.h58L
-rw-r--r--src/include/merchant-database/lookup_wire_fee.h54L
-rw-r--r--src/include/merchant-database/mark_contract_paid.h50L
-rw-r--r--src/include/merchant-database/mark_order_wired.h41L
-rw-r--r--src/include/merchant-database/preflight.h40L
-rw-r--r--src/include/merchant-database/purge_instance.h42L
-rw-r--r--src/include/merchant-database/refund_coin.h53L
-rw-r--r--src/include/merchant-database/select_account.h45L
-rw-r--r--src/include/merchant-database/select_account_by_uri.h45L
-rw-r--r--src/include/merchant-database/select_accounts.h59L
-rw-r--r--src/include/merchant-database/select_accounts_by_exchange.h65L
-rw-r--r--src/include/merchant-database/select_all_donau_instances.h75L
-rw-r--r--src/include/merchant-database/select_category.h50L
-rw-r--r--src/include/merchant-database/select_category_by_name.h47L
-rw-r--r--src/include/merchant-database/select_donau_instance_by_serial.h47L
-rw-r--r--src/include/merchant-database/select_donau_instances.h76L
-rw-r--r--src/include/merchant-database/select_donau_instances_filtered.h61L
-rw-r--r--src/include/merchant-database/select_exchange_keys.h46L
-rw-r--r--src/include/merchant-database/select_exchanges.h65L
-rw-r--r--src/include/merchant-database/select_login_token.h48L
-rw-r--r--src/include/merchant-database/select_money_pot.h51L
-rw-r--r--src/include/merchant-database/select_money_pots.h66L
-rw-r--r--src/include/merchant-database/select_open_transfers.h71L
-rw-r--r--src/include/merchant-database/select_order_blinded_sigs.h61L
-rw-r--r--src/include/merchant-database/select_otp.h46L
-rw-r--r--src/include/merchant-database/select_otp_serial.h44L
-rw-r--r--src/include/merchant-database/select_product_groups.h67L
-rw-r--r--src/include/merchant-database/select_report.h66L
-rw-r--r--src/include/merchant-database/select_reports.h67L
-rw-r--r--src/include/merchant-database/select_unit.h45L
-rw-r--r--src/include/merchant-database/select_wirewatch_accounts.h64L
-rw-r--r--src/include/merchant-database/solve_mfa_challenge.h54L
-rw-r--r--src/include/merchant-database/start.h74L
-rw-r--r--src/include/merchant-database/store_wire_fee_by_exchange.h52L
-rw-r--r--src/include/merchant-database/unlock_inventory.h44L
-rw-r--r--src/include/merchant-database/update_account.h50L
-rw-r--r--src/include/merchant-database/update_category.h48L
-rw-r--r--src/include/merchant-database/update_contract_session.h50L
-rw-r--r--src/include/merchant-database/update_contract_terms.h51L
-rw-r--r--src/include/merchant-database/update_deposit_confirmation_status.h53L
-rw-r--r--src/include/merchant-database/update_donau_instance.h47L
-rw-r--r--src/include/merchant-database/update_donau_instance_receipts_amount.h45L
-rw-r--r--src/include/merchant-database/update_instance.h41L
-rw-r--r--src/include/merchant-database/update_instance_auth.h45L
-rw-r--r--src/include/merchant-database/update_mfa_challenge.h53L
-rw-r--r--src/include/merchant-database/update_money_pot.h62L
-rw-r--r--src/include/merchant-database/update_otp.h48L
-rw-r--r--src/include/merchant-database/update_pending_webhook.h43L
-rw-r--r--src/include/merchant-database/update_product.h73L
-rw-r--r--src/include/merchant-database/update_product_group.h50L
-rw-r--r--src/include/merchant-database/update_report.h60L
-rw-r--r--src/include/merchant-database/update_report_status.h50L
-rw-r--r--src/include/merchant-database/update_template.h47L
-rw-r--r--src/include/merchant-database/update_token_family.h47L
-rw-r--r--src/include/merchant-database/update_transfer_status.h53L
-rw-r--r--src/include/merchant-database/update_unit.h63L
-rw-r--r--src/include/merchant-database/update_webhook.h47L
-rw-r--r--src/include/merchant-database/update_wirewatch_progress.h46L
-rw-r--r--src/include/merchant-database/upsert_donau_keys.h46L
-rw-r--r--src/include/merchantdb_lib.h962L
-rw-r--r--src/include/meson.build2L
-rw-r--r--src/include/platform.h334L
-rw-r--r--src/include/taler/merchant/common.h445L
-rw-r--r--src/include/taler/merchant/delete-management-instances-INSTANCE.h192L
-rw-r--r--src/include/taler/merchant/delete-private-accounts-H_WIRE.h110L
-rw-r--r--src/include/taler/merchant/delete-private-donau-DONAU_SERIAL.h110L
-rw-r--r--src/include/taler/merchant/delete-private-orders-ORDER_ID.h197L
-rw-r--r--src/include/taler/merchant/delete-private-otp-devices-DEVICE_ID.h110L
-rw-r--r--src/include/taler/merchant/delete-private-products-PRODUCT_ID.h110L
-rw-r--r--src/include/taler/merchant/delete-private-templates-TEMPLATE_ID.h110L
-rw-r--r--src/include/taler/merchant/delete-private-token.h110L
-rw-r--r--src/include/taler/merchant/delete-private-tokens-SERIAL.h112L
-rw-r--r--src/include/taler/merchant/delete-private-transfers-TID.h110L
-rw-r--r--src/include/taler/merchant/delete-private-units-UNIT.h110L
-rw-r--r--src/include/taler/merchant/delete-private-webhooks-WEBHOOK_ID.h110L
-rw-r--r--src/include/taler/merchant/get-config.h308L
-rw-r--r--src/include/taler/merchant/get-management-instances-INSTANCE.h267L
-rw-r--r--src/include/taler/merchant/get-management-instances.h181L
-rw-r--r--src/include/taler/merchant/get-orders-ORDER_ID.h450L
-rw-r--r--src/include/taler/merchant/get-private-accounts-H_WIRE.h177L
-rw-r--r--src/include/taler/merchant/get-private-accounts.h161L
-rw-r--r--src/include/taler/merchant/get-private-donau.h191L
-rw-r--r--src/include/taler/merchant/get-private-kyc.h533L
-rw-r--r--src/include/taler/merchant/get-private-orders-ORDER_ID.h569L
-rw-r--r--src/include/taler/merchant/get-private-orders.h556L
-rw-r--r--src/include/taler/merchant/get-private-otp-devices-DEVICE_ID.h304L
-rw-r--r--src/include/taler/merchant/get-private-otp-devices.h157L
-rw-r--r--src/include/taler/merchant/get-private-products-PRODUCT_ID.h246L
-rw-r--r--src/include/taler/merchant/get-private-products.h401L
-rw-r--r--src/include/taler/merchant/get-private-statistics-amount-SLUG.h342L
-rw-r--r--src/include/taler/merchant/get-private-statistics-counter-SLUG.h333L
-rw-r--r--src/include/taler/merchant/get-private-templates-TEMPLATE_ID.h155L
-rw-r--r--src/include/taler/merchant/get-private-templates.h156L
-rw-r--r--src/include/taler/merchant/get-private-tokenfamilies-TOKEN_FAMILY_SLUG.h196L
-rw-r--r--src/include/taler/merchant/get-private-transfers.h429L
-rw-r--r--src/include/taler/merchant/get-private-units-UNIT.h135L
-rw-r--r--src/include/taler/merchant/get-private-units.h137L
-rw-r--r--src/include/taler/merchant/get-private-webhooks-WEBHOOK_ID.h156L
-rw-r--r--src/include/taler/merchant/get-private-webhooks.h156L
-rw-r--r--src/include/taler/merchant/get-products-IMAGE_HASH-image.h135L
-rw-r--r--src/include/taler/merchant/get-templates-TEMPLATE_ID.h146L
-rw-r--r--src/include/taler/merchant/meson.build84L
-rw-r--r--src/include/taler/merchant/patch-management-instances-INSTANCE.h415L
-rw-r--r--src/include/taler/merchant/patch-private-accounts-H_WIRE.h279L
-rw-r--r--src/include/taler/merchant/patch-private-orders-ORDER_ID-forget.h113L
-rw-r--r--src/include/taler/merchant/patch-private-otp-devices-DEVICE_ID.h233L
-rw-r--r--src/include/taler/merchant/patch-private-products-PRODUCT_ID.h638L
-rw-r--r--src/include/taler/merchant/patch-private-templates-TEMPLATE_ID.h223L
-rw-r--r--src/include/taler/merchant/patch-private-units-UNIT.h376L
-rw-r--r--src/include/taler/merchant/patch-private-webhooks-WEBHOOK_ID.h260L
-rw-r--r--src/include/taler/merchant/post-management-instances-INSTANCE-auth.h223L
-rw-r--r--src/include/taler/merchant/post-management-instances.h452L
-rw-r--r--src/include/taler/merchant/post-orders-ORDER_ID-abort.h250L
-rw-r--r--src/include/taler/merchant/post-orders-ORDER_ID-claim.h252L
-rw-r--r--src/include/taler/merchant/post-orders-ORDER_ID-paid.h227L
-rw-r--r--src/include/taler/merchant/post-orders-ORDER_ID-pay.h788L
-rw-r--r--src/include/taler/merchant/post-orders-ORDER_ID-refund.h221L
-rw-r--r--src/include/taler/merchant/post-private-accounts.h301L
-rw-r--r--src/include/taler/merchant/post-private-categories.h240L
-rw-r--r--src/include/taler/merchant/post-private-donau.h224L
-rw-r--r--src/include/taler/merchant/post-private-orders-ORDER_ID-refund.h143L
-rw-r--r--src/include/taler/merchant/post-private-orders.h536L
-rw-r--r--src/include/taler/merchant/post-private-otp-devices.h238L
-rw-r--r--src/include/taler/merchant/post-private-products-PRODUCT_ID-lock.h251L
-rw-r--r--src/include/taler/merchant/post-private-products.h603L
-rw-r--r--src/include/taler/merchant/post-private-templates.h249L
-rw-r--r--src/include/taler/merchant/post-private-token.h310L
-rw-r--r--src/include/taler/merchant/post-private-tokenfamilies.h261L
-rw-r--r--src/include/taler/merchant/post-private-transfers.h145L
-rw-r--r--src/include/taler/merchant/post-private-units.h328L
-rw-r--r--src/include/taler/merchant/post-private-webhooks.h263L
-rw-r--r--src/include/taler/merchant/post-templates-TEMPLATE_ID.h298L
-rw-r--r--src/include/taler/meson.build16L
-rw-r--r--src/include/taler/taler_merchant_bank_lib.h263L
-rw-r--r--src/include/taler/taler_merchant_pay_service.h610L
-rw-r--r--src/include/taler/taler_merchant_service.h106L
-rw-r--r--src/include/taler/taler_merchant_testing_lib.h2517L
-rw-r--r--src/include/taler/taler_merchant_util.h1533L
-rw-r--r--src/lib/.gitignore1L
-rw-r--r--src/lib/merchant_api_common.c604L
-rw-r--r--src/lib/merchant_api_common.h81L
-rw-r--r--src/lib/merchant_api_common_mfa_challenge.c101L
-rw-r--r--src/lib/merchant_api_curl_defaults.c55L
-rw-r--r--src/lib/merchant_api_curl_defaults.h41L
-rw-r--r--src/lib/merchant_api_delete-management-instances-INSTANCE.c255L
-rw-r--r--src/lib/merchant_api_delete-private-accounts-H_WIRE.c204L
-rw-r--r--src/lib/merchant_api_delete-private-donau-DONAU_SERIAL.c194L
-rw-r--r--src/lib/merchant_api_delete-private-orders-ORDER_ID.c233L
-rw-r--r--src/lib/merchant_api_delete-private-otp-devices-DEVICE_ID.c198L
-rw-r--r--src/lib/merchant_api_delete-private-products-PRODUCT_ID.c202L
-rw-r--r--src/lib/merchant_api_delete-private-templates-TEMPLATE_ID.c198L
-rw-r--r--src/lib/merchant_api_delete-private-token.c198L
-rw-r--r--src/lib/merchant_api_delete-private-tokens-SERIAL.c210L
-rw-r--r--src/lib/merchant_api_delete-private-transfers-TID.c201L
-rw-r--r--src/lib/merchant_api_delete-private-units-UNIT.c202L
-rw-r--r--src/lib/merchant_api_delete-private-webhooks-WEBHOOK_ID.c199L
-rw-r--r--src/lib/merchant_api_get-config.c373L
-rw-r--r--src/lib/merchant_api_get-management-instances-INSTANCE.c372L
-rw-r--r--src/lib/merchant_api_get-management-instances.c290L
-rw-r--r--src/lib/merchant_api_get-orders-ORDER_ID.c454L
-rw-r--r--src/lib/merchant_api_get-private-accounts-H_WIRE.c243L
-rw-r--r--src/lib/merchant_api_get-private-accounts.c266L
-rw-r--r--src/lib/merchant_api_get-private-donau.c302L
-rw-r--r--src/lib/merchant_api_get-private-kyc.c632L
-rw-r--r--src/lib/merchant_api_get-private-orders-ORDER_ID.c678L
-rw-r--r--src/lib/merchant_api_get-private-orders.c548L
-rw-r--r--src/lib/merchant_api_get-private-otp-devices-DEVICE_ID.c299L
-rw-r--r--src/lib/merchant_api_get-private-otp-devices.c264L
-rw-r--r--src/lib/merchant_api_get-private-products-PRODUCT_ID.c329L
-rw-r--r--src/lib/merchant_api_get-private-products.c441L
-rw-r--r--src/lib/merchant_api_get-private-statistics-amount-SLUG.c455L
-rw-r--r--src/lib/merchant_api_get-private-statistics-counter-SLUG.c400L
-rw-r--r--src/lib/merchant_api_get-private-templates-TEMPLATE_ID.c230L
-rw-r--r--src/lib/merchant_api_get-private-templates.c265L
-rw-r--r--src/lib/merchant_api_get-private-tokenfamilies-TOKEN_FAMILY_SLUG.c244L
-rw-r--r--src/lib/merchant_api_get-private-transfers.c421L
-rw-r--r--src/lib/merchant_api_get-private-units-UNIT.c259L
-rw-r--r--src/lib/merchant_api_get-private-units.c321L
-rw-r--r--src/lib/merchant_api_get-private-webhooks-WEBHOOK_ID.c231L
-rw-r--r--src/lib/merchant_api_get-private-webhooks.c267L
-rw-r--r--src/lib/merchant_api_get-products-IMAGE_HASH-image.c212L
-rw-r--r--src/lib/merchant_api_get-templates-TEMPLATE_ID.c222L
-rw-r--r--src/lib/merchant_api_patch-management-instances-INSTANCE.c437L
-rw-r--r--src/lib/merchant_api_patch-private-accounts-H_WIRE.c313L
-rw-r--r--src/lib/merchant_api_patch-private-orders-ORDER_ID-forget.c279L
-rw-r--r--src/lib/merchant_api_patch-private-otp-devices-DEVICE_ID.c312L
-rw-r--r--src/lib/merchant_api_patch-private-products-PRODUCT_ID.c548L
-rw-r--r--src/lib/merchant_api_patch-private-templates-TEMPLATE_ID.c316L
-rw-r--r--src/lib/merchant_api_patch-private-units-UNIT.c378L
-rw-r--r--src/lib/merchant_api_patch-private-webhooks-WEBHOOK_ID.c327L
-rw-r--r--src/lib/merchant_api_post-management-instances-INSTANCE-auth.c288L
-rw-r--r--src/lib/merchant_api_post-management-instances.c485L
-rw-r--r--src/lib/merchant_api_post-orders-ORDER_ID-abort.c458L
-rw-r--r--src/lib/merchant_api_post-orders-ORDER_ID-claim.c288L
-rw-r--r--src/lib/merchant_api_post-orders-ORDER_ID-paid.c303L
-rw-r--r--src/lib/merchant_api_post-orders-ORDER_ID-pay.c1131L
-rw-r--r--src/lib/merchant_api_post-orders-ORDER_ID-refund.c372L
-rw-r--r--src/lib/merchant_api_post-private-accounts.c330L
-rw-r--r--src/lib/merchant_api_post-private-categories.c286L
-rw-r--r--src/lib/merchant_api_post-private-donau.c270L
-rw-r--r--src/lib/merchant_api_post-private-orders-ORDER_ID-refund.c271L
-rw-r--r--src/lib/merchant_api_post-private-orders.c567L
-rw-r--r--src/lib/merchant_api_post-private-otp-devices.c301L
-rw-r--r--src/lib/merchant_api_post-private-products-PRODUCT_ID-lock.c314L
-rw-r--r--src/lib/merchant_api_post-private-products.c579L
-rw-r--r--src/lib/merchant_api_post-private-templates.c300L
-rw-r--r--src/lib/merchant_api_post-private-token.c358L
-rw-r--r--src/lib/merchant_api_post-private-tokenfamilies.c357L
-rw-r--r--src/lib/merchant_api_post-private-transfers.c252L
-rw-r--r--src/lib/merchant_api_post-private-units.c339L
-rw-r--r--src/lib/merchant_api_post-private-webhooks.c306L
-rw-r--r--src/lib/merchant_api_post-templates-TEMPLATE_ID.c330L
-rw-r--r--src/lib/meson.build152L
-rw-r--r--src/lib/test_merchant_api_common.c163L
-rw-r--r--src/merchant-tools/.gitignore5L
-rw-r--r--src/merchant-tools/benchmark-common.conf91L
-rw-r--r--src/merchant-tools/benchmark-cs.conf16L
-rw-r--r--src/merchant-tools/benchmark-rsa.conf16L
-rw-r--r--src/merchant-tools/coins-cs.conf58L
-rw-r--r--src/merchant-tools/coins-rsa.conf63L
-rw-r--r--src/merchant-tools/exchange_benchmark_home/taler/exchange/offline-keys/master.priv32B
-rw-r--r--src/merchant-tools/meson.build88L
-rw-r--r--src/merchant-tools/taler-merchant-benchmark.c631L
-rw-r--r--src/merchant-tools/taler-merchant-dbinit.c150L
-rw-r--r--src/merchant-tools/taler-merchant-passwd.c261L
-rw-r--r--src/merchant-tools/taler-merchant-rproxy-setup388L
-rw-r--r--src/merchant-tools/taler-merchant-setup-reserve.c433L
-rw-r--r--src/meson.build9L
-rw-r--r--src/testing/.gitignore28L
-rw-r--r--src/testing/meson.build369L
-rwxr-xr-xsrc/testing/setup.sh73L
-rwxr-xr-xsrc/testing/test-merchant-walletharness.sh49L
-rw-r--r--src/testing/test.conf181L
-rwxr-xr-xsrc/testing/test_email_helper.sh5L
-rw-r--r--src/testing/test_key_rotation.conf150L
-rw-r--r--src/testing/test_kyc_api.c588L
-rw-r--r--src/testing/test_kyc_api.conf276L
-rw-r--r--src/testing/test_merchant.priv32B
-rwxr-xr-xsrc/testing/test_merchant_accounts.sh323L
-rw-r--r--src/testing/test_merchant_api-cs.conf50L
-rw-r--r--src/testing/test_merchant_api-rsa.conf118L
-rw-r--r--src/testing/test_merchant_api.c3360L
-rw-r--r--src/testing/test_merchant_api.conf135L
-rw-r--r--src/testing/test_merchant_api_home/.local/share/taler-auditor/offline-keys/auditor.priv32B
-rw-r--r--src/testing/test_merchant_api_home/.local/share/taler-exchange/exchange-offline/master.priv32B
-rw-r--r--src/testing/test_merchant_api_proxy_exchange.conf30L
-rw-r--r--src/testing/test_merchant_api_proxy_merchant.conf31L
-rw-r--r--src/testing/test_merchant_api_twisted-cs.conf15L
-rw-r--r--src/testing/test_merchant_api_twisted-rsa.conf15L
-rw-r--r--src/testing/test_merchant_api_twisted.c502L
-rwxr-xr-xsrc/testing/test_merchant_instance_auth.sh502L
-rwxr-xr-xsrc/testing/test_merchant_instance_creation.sh72L
-rwxr-xr-xsrc/testing/test_merchant_instance_purge.sh80L
-rwxr-xr-xsrc/testing/test_merchant_instance_response.sh166L
-rwxr-xr-xsrc/testing/test_merchant_kyc.sh246L
-rw-r--r--src/testing/test_merchant_mfa.conf30L
-rwxr-xr-xsrc/testing/test_merchant_mfa.sh401L
-rwxr-xr-xsrc/testing/test_merchant_order_autocleanup.sh340L
-rwxr-xr-xsrc/testing/test_merchant_order_creation.sh726L
-rwxr-xr-xsrc/testing/test_merchant_order_refund.sh289L
-rwxr-xr-xsrc/testing/test_merchant_product_creation.sh319L
-rwxr-xr-xsrc/testing/test_merchant_statistics.sh283L
-rwxr-xr-xsrc/testing/test_merchant_templates.sh237L
-rwxr-xr-xsrc/testing/test_merchant_tokenfamilies.sh424L
-rwxr-xr-xsrc/testing/test_merchant_transfer_tracking.sh880L
-rwxr-xr-xsrc/testing/test_merchant_wirewatch.sh394L
-rw-r--r--src/testing/test_reconciliation.c365L
-rwxr-xr-xsrc/testing/test_sms_helper.sh5L
-rw-r--r--src/testing/test_template.conf222L
-rw-r--r--src/testing/testing_api_cmd_abort_order.c421L
-rw-r--r--src/testing/testing_api_cmd_checkserver.c270L
-rw-r--r--src/testing/testing_api_cmd_claim_order.c300L
-rw-r--r--src/testing/testing_api_cmd_config.c159L
-rw-r--r--src/testing/testing_api_cmd_delete_account.c220L
-rw-r--r--src/testing/testing_api_cmd_delete_donau_instances.c188L
-rw-r--r--src/testing/testing_api_cmd_delete_instance.c220L
-rw-r--r--src/testing/testing_api_cmd_delete_order.c185L
-rw-r--r--src/testing/testing_api_cmd_delete_otp_device.c188L
-rw-r--r--src/testing/testing_api_cmd_delete_product.c188L
-rw-r--r--src/testing/testing_api_cmd_delete_template.c186L
-rw-r--r--src/testing/testing_api_cmd_delete_transfer.c210L
-rw-r--r--src/testing/testing_api_cmd_delete_unit.c178L
-rw-r--r--src/testing/testing_api_cmd_delete_webhook.c188L
-rw-r--r--src/testing/testing_api_cmd_depositcheck.c169L
-rw-r--r--src/testing/testing_api_cmd_exec_donaukeyupdate.c166L
-rw-r--r--src/testing/testing_api_cmd_forget_order.c261L
-rw-r--r--src/testing/testing_api_cmd_get_donau_instances.c189L
-rw-r--r--src/testing/testing_api_cmd_get_instance.c343L
-rw-r--r--src/testing/testing_api_cmd_get_instances.c271L
-rw-r--r--src/testing/testing_api_cmd_get_orders.c628L
-rw-r--r--src/testing/testing_api_cmd_get_otp_device.c214L
-rw-r--r--src/testing/testing_api_cmd_get_otp_devices.c246L
-rw-r--r--src/testing/testing_api_cmd_get_product.c480L
-rw-r--r--src/testing/testing_api_cmd_get_product_image.c224L
-rw-r--r--src/testing/testing_api_cmd_get_products.c250L
-rw-r--r--src/testing/testing_api_cmd_get_statisticsamount.c231L
-rw-r--r--src/testing/testing_api_cmd_get_statisticscounter.c229L
-rw-r--r--src/testing/testing_api_cmd_get_template.c250L
-rw-r--r--src/testing/testing_api_cmd_get_templates.c244L
-rw-r--r--src/testing/testing_api_cmd_get_transfers.c348L
-rw-r--r--src/testing/testing_api_cmd_get_unit.c355L
-rw-r--r--src/testing/testing_api_cmd_get_units.c364L
-rw-r--r--src/testing/testing_api_cmd_get_webhook.c290L
-rw-r--r--src/testing/testing_api_cmd_get_webhooks.c244L
-rw-r--r--src/testing/testing_api_cmd_instance_auth.c229L
-rw-r--r--src/testing/testing_api_cmd_instance_token.c417L
-rw-r--r--src/testing/testing_api_cmd_kyc_get.c324L
-rw-r--r--src/testing/testing_api_cmd_lock_product.c295L
-rw-r--r--src/testing/testing_api_cmd_merchant_get_order.c1171L
-rw-r--r--src/testing/testing_api_cmd_patch_instance.c290L
-rw-r--r--src/testing/testing_api_cmd_patch_otp_device.c264L
-rw-r--r--src/testing/testing_api_cmd_patch_product.c586L
-rw-r--r--src/testing/testing_api_cmd_patch_template.c253L
-rw-r--r--src/testing/testing_api_cmd_patch_unit.c310L
-rw-r--r--src/testing/testing_api_cmd_patch_webhook.c277L
-rw-r--r--src/testing/testing_api_cmd_pay_order.c1693L
-rw-r--r--src/testing/testing_api_cmd_post_account.c268L
-rw-r--r--src/testing/testing_api_cmd_post_categories.c239L
-rw-r--r--src/testing/testing_api_cmd_post_donau_charity_merchant.c262L
-rw-r--r--src/testing/testing_api_cmd_post_donau_instances.c225L
-rw-r--r--src/testing/testing_api_cmd_post_instances.c326L
-rw-r--r--src/testing/testing_api_cmd_post_orders.c1153L
-rw-r--r--src/testing/testing_api_cmd_post_orders_paid.c250L
-rw-r--r--src/testing/testing_api_cmd_post_otp_devices.c269L
-rw-r--r--src/testing/testing_api_cmd_post_products.c682L
-rw-r--r--src/testing/testing_api_cmd_post_templates.c283L
-rw-r--r--src/testing/testing_api_cmd_post_tokenfamilies.c299L
-rw-r--r--src/testing/testing_api_cmd_post_transfers.c493L
-rw-r--r--src/testing/testing_api_cmd_post_units.c262L
-rw-r--r--src/testing/testing_api_cmd_post_using_templates.c690L
-rw-r--r--src/testing/testing_api_cmd_post_webhooks.c295L
-rw-r--r--src/testing/testing_api_cmd_refund_order.c271L
-rw-r--r--src/testing/testing_api_cmd_testserver.c374L
-rw-r--r--src/testing/testing_api_cmd_tme.c169L
-rw-r--r--src/testing/testing_api_cmd_wallet_get_order.c920L
-rw-r--r--src/testing/testing_api_cmd_wallet_get_template.c456L
-rw-r--r--src/testing/testing_api_cmd_wallet_post_orders_refund.c299L
-rw-r--r--src/testing/testing_api_cmd_webhook.c167L
-rw-r--r--src/testing/testing_api_helpers.c71L
-rw-r--r--src/testing/testing_api_traits.c34L
-rw-r--r--src/testing/tor_merchant.priv32B
-rw-r--r--src/tsconfig.json10L
-rw-r--r--src/util/.gitignore3L
-rw-r--r--src/util/amount_quantity.c355L
-rw-r--r--src/util/contract_parse.c1675L
-rw-r--r--src/util/contract_serialize.c595L
-rw-r--r--src/util/currencies.conf99L
-rw-r--r--src/util/json.c171L
-rw-r--r--src/util/merchant-paths.conf29L
-rw-r--r--src/util/meson.build104L
-rw-r--r--src/util/mfa.c183L
-rw-r--r--src/util/os_installation.c62L
-rw-r--r--src/util/taler-merchant-config.c73L
-rw-r--r--src/util/template_parse.c344L
-rw-r--r--src/util/test_contract.c248L
-rw-r--r--src/util/test_validators.c212L
-rw-r--r--src/util/validators.c296L
-rw-r--r--src/util/value_kinds.c317L