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--.gitignore92L
-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--NEWS0B
-rw-r--r--README92L
-rw-r--r--RELEASE.md21L
-rwxr-xr-xbootstrap62L
-rw-r--r--configure.ac516L
-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/Containerfile76L
-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.sh103L
-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.sh12L
-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.sh25L
-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.must130L
-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/microhttpd.tag150L
-rw-r--r--contrib/taler-exchange.tag211L
-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/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/orders/Makefile.am10L
-rw-r--r--contrib/typst/orders/orders.typ76L
-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 @ 111aba9
-rw-r--r--debian/.gitignore27L
-rw-r--r--debian/README-packaging.md6L
-rw-r--r--debian/changelog773L
-rw-r--r--debian/control92L
-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.install14L
-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/rules60L
-rw-r--r--debian/source/format1L
-rw-r--r--debian/source/options3L
-rw-r--r--debian/taler-merchant-typst.install4L
-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.install11L
-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/Makefile.am42L
-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/Makefile.am19L
-rw-r--r--doc/doxygen/logo.svg87L
-rw-r--r--doc/doxygen/taler.doxy301L
m---------doc/prebuilt @ cf40de9
-rw-r--r--m4/ax_compare_version.m4177L
-rw-r--r--m4/ax_lib_postgresql.m4247L
-rw-r--r--m4/ax_prog_doxygen.m4586L
-rw-r--r--m4/libcurl.m4251L
-rw-r--r--m4/mhd.m469L
-rw-r--r--src/.gitignore10L
-rw-r--r--src/Makefile.am3L
-rw-r--r--src/backend/.gitignore8L
-rw-r--r--src/backend/Makefile.am448L
-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/taler-merchant-depositcheck.c1188L
-rw-r--r--src/backend/taler-merchant-donaukeyupdate.c1132L
-rw-r--r--src/backend/taler-merchant-exchangekeyupdate.c1131L
-rw-r--r--src/backend/taler-merchant-httpd.c1597L
-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.c163L
-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.c94L
-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.c92L
-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.c93L
-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.c74L
-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.c133L
-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.c78L
-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.c75L
-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.c103L
-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.c76L
-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.c78L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-templates-TEMPLATE_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-tokenfamilies-TOKEN_FAMILY_SLUG.c75L
-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.c164L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-tokens-SERIAL.h59L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-transfers-TID.c90L
-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.c83L
-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.c78L
-rw-r--r--src/backend/taler-merchant-httpd_delete-private-webhooks-WEBHOOK_ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_dispatcher.c1596L
-rw-r--r--src/backend/taler-merchant-httpd_dispatcher.h49L
-rw-r--r--src/backend/taler-merchant-httpd_exchanges.c1244L
-rw-r--r--src/backend/taler-merchant-httpd_exchanges.h280L
-rw-r--r--src/backend/taler-merchant-httpd_get-config.c215L
-rw-r--r--src/backend/taler-merchant-httpd_get-config.h39L
-rw-r--r--src/backend/taler-merchant-httpd_get-exchanges.c109L
-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.c1713L
-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.c109L
-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.c84L
-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.c121L
-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.c93L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-categories.h42L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-donau.c122L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-donau.h42L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-groups.c122L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-groups.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-incoming-ID.c236L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-incoming-ID.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-incoming.c194L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-incoming.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-kyc.c1632L
-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.c1794L
-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.c1549L
-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.c110L
-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.c80L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-otp-devices.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-pos.c234L
-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.c100L
-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.c160L
-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.c149L
-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.c135L
-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.c119L
-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.c254L
-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.c227L
-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.c763L
-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.c80L
-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.c79L
-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.c126L
-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.c101L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-tokenfamilies.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-tokens.c118L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-tokens.h41L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-transfers.c189L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-transfers.h42L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-units-UNIT.c89L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-units-UNIT.h33L
-rw-r--r--src/backend/taler-merchant-httpd_get-private-units.c91L
-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.c92L
-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.c80L
-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.c87L
-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.c312L
-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.c568L
-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.h62L
-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.c1239L
-rw-r--r--src/backend/taler-merchant-httpd_helper.h396L
-rw-r--r--src/backend/taler-merchant-httpd_mfa.c709L
-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.c514L
-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.c149L
-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.c120L
-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.c110L
-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.c243L
-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.c114L
-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.c152L
-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.c482L
-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.c146L
-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.c217L
-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.c159L
-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.c242L
-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.c188L
-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.c155L
-rw-r--r--src/backend/taler-merchant-httpd_post-challenge-ID-confirm.h45L
-rw-r--r--src/backend/taler-merchant-httpd_post-challenge-ID.c676L
-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.c342L
-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.c694L
-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.c1044L
-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.c331L
-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.c198L
-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.c5359L
-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.c846L
-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.c122L
-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.c471L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-accounts.h44L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-categories.c170L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-categories.h45L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-donau.c352L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-donau.h49L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-groups.c88L
-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.c467L
-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.c4801L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-orders.h50L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-otp-devices.c199L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-otp-devices.h44L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-pots.c91L
-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.c207L
-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.c147L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-reports.h41L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-templates.c252L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-templates.h43L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-token.c192L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-token.h45L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-tokenfamilies.c384L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-tokenfamilies.h43L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-transfers.c144L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-transfers.h44L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-units.c219L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-units.h33L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-webhooks.c215L
-rw-r--r--src/backend/taler-merchant-httpd_post-private-webhooks.h43L
-rw-r--r--src/backend/taler-merchant-httpd_post-reports-REPORT_ID.c189L
-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.c1783L
-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.c1774L
-rw-r--r--src/backend/taler-merchant-reconciliation.c1277L
-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.c957L
-rw-r--r--src/backend/taler-merchant-webhook.c588L
-rw-r--r--src/backend/taler-merchant-wirewatch.c726L
-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/Makefile.am346L
-rw-r--r--src/backenddb/drop.sql34L
-rw-r--r--src/backenddb/example-statistics-0001.sql110L
-rw-r--r--src/backenddb/future.sql64L
-rw-r--r--src/backenddb/merchant-0001.sql889L
-rw-r--r--src/backenddb/merchant-0002.sql171L
-rw-r--r--src/backenddb/merchant-0003.sql50L
-rw-r--r--src/backenddb/merchant-0004.sql30L
-rw-r--r--src/backenddb/merchant-0005.sql36L
-rw-r--r--src/backenddb/merchant-0006.sql66L
-rw-r--r--src/backenddb/merchant-0007.sql34L
-rw-r--r--src/backenddb/merchant-0008.sql58L
-rw-r--r--src/backenddb/merchant-0009.sql43L
-rw-r--r--src/backenddb/merchant-0010.sql59L
-rw-r--r--src/backenddb/merchant-0011.sql39L
-rw-r--r--src/backenddb/merchant-0012.sql33L
-rw-r--r--src/backenddb/merchant-0013.sql122L
-rw-r--r--src/backenddb/merchant-0014.sql589L
-rw-r--r--src/backenddb/merchant-0015.sql35L
-rw-r--r--src/backenddb/merchant-0016.sql31L
-rw-r--r--src/backenddb/merchant-0017.sql35L
-rw-r--r--src/backenddb/merchant-0018.sql37L
-rw-r--r--src/backenddb/merchant-0019.sql42L
-rw-r--r--src/backenddb/merchant-0020.sql41L
-rw-r--r--src/backenddb/merchant-0021.sql295L
-rw-r--r--src/backenddb/merchant-0022.sql157L
-rw-r--r--src/backenddb/merchant-0023.sql88L
-rw-r--r--src/backenddb/merchant-0024.sql35L
-rw-r--r--src/backenddb/merchant-0025.sql155L
-rw-r--r--src/backenddb/merchant-0026.sql67L
-rw-r--r--src/backenddb/merchant-0027.sql455L
-rw-r--r--src/backenddb/merchant-0028.sql264L
-rw-r--r--src/backenddb/merchant-0029.sql39L
-rw-r--r--src/backenddb/merchant-0030.sql61L
-rw-r--r--src/backenddb/merchant-0031.sql33L
-rw-r--r--src/backenddb/merchant-0032.sql81L
-rw-r--r--src/backenddb/merchant-0033.sql34L
-rw-r--r--src/backenddb/merchantdb-postgres.conf6L
-rw-r--r--src/backenddb/merchantdb_helper.c123L
-rw-r--r--src/backenddb/merchantdb_plugin.c79L
-rw-r--r--src/backenddb/pg_account_kyc_get_outdated.c153L
-rw-r--r--src/backenddb/pg_account_kyc_get_outdated.h42L
-rw-r--r--src/backenddb/pg_account_kyc_get_status.c217L
-rw-r--r--src/backenddb/pg_account_kyc_get_status.h51L
-rw-r--r--src/backenddb/pg_account_kyc_get_status.sql124L
-rw-r--r--src/backenddb/pg_account_kyc_set_failed.c101L
-rw-r--r--src/backenddb/pg_account_kyc_set_failed.h51L
-rw-r--r--src/backenddb/pg_account_kyc_set_failed.sql100L
-rw-r--r--src/backenddb/pg_account_kyc_set_status.c122L
-rw-r--r--src/backenddb/pg_account_kyc_set_status.h65L
-rw-r--r--src/backenddb/pg_account_kyc_set_status.sql127L
-rw-r--r--src/backenddb/pg_activate_account.c53L
-rw-r--r--src/backenddb/pg_activate_account.h41L
-rw-r--r--src/backenddb/pg_base32_crockford.sql66L
-rw-r--r--src/backenddb/pg_check_donau_instance.c64L
-rw-r--r--src/backenddb/pg_check_donau_instance.h45L
-rw-r--r--src/backenddb/pg_check_money_pots.c72L
-rw-r--r--src/backenddb/pg_check_money_pots.h51L
-rw-r--r--src/backenddb/pg_check_report.c68L
-rw-r--r--src/backenddb/pg_check_report.h51L
-rw-r--r--src/backenddb/pg_check_transfer_exists.c63L
-rw-r--r--src/backenddb/pg_check_transfer_exists.h43L
-rw-r--r--src/backenddb/pg_create_mfa_challenge.c84L
-rw-r--r--src/backenddb/pg_create_mfa_challenge.h59L
-rw-r--r--src/backenddb/pg_delete_category.c54L
-rw-r--r--src/backenddb/pg_delete_category.h43L
-rw-r--r--src/backenddb/pg_delete_contract_terms.c59L
-rw-r--r--src/backenddb/pg_delete_contract_terms.h47L
-rw-r--r--src/backenddb/pg_delete_donau_instance.c53L
-rw-r--r--src/backenddb/pg_delete_donau_instance.h43L
-rw-r--r--src/backenddb/pg_delete_exchange_accounts.c48L
-rw-r--r--src/backenddb/pg_delete_exchange_accounts.h42L
-rw-r--r--src/backenddb/pg_delete_instance_private_key.c50L
-rw-r--r--src/backenddb/pg_delete_instance_private_key.h39L
-rw-r--r--src/backenddb/pg_delete_login_token.c81L
-rw-r--r--src/backenddb/pg_delete_login_token.h58L
-rw-r--r--src/backenddb/pg_delete_money_pot.c54L
-rw-r--r--src/backenddb/pg_delete_money_pot.h41L
-rw-r--r--src/backenddb/pg_delete_order.c93L
-rw-r--r--src/backenddb/pg_delete_order.h45L
-rw-r--r--src/backenddb/pg_delete_otp.c54L
-rw-r--r--src/backenddb/pg_delete_otp.h43L
-rw-r--r--src/backenddb/pg_delete_pending_webhook.c48L
-rw-r--r--src/backenddb/pg_delete_pending_webhook.h40L
-rw-r--r--src/backenddb/pg_delete_product.c57L
-rw-r--r--src/backenddb/pg_delete_product.h43L
-rw-r--r--src/backenddb/pg_delete_product_group.c53L
-rw-r--r--src/backenddb/pg_delete_product_group.h42L
-rw-r--r--src/backenddb/pg_delete_report.c54L
-rw-r--r--src/backenddb/pg_delete_report.h42L
-rw-r--r--src/backenddb/pg_delete_template.c54L
-rw-r--r--src/backenddb/pg_delete_template.h44L
-rw-r--r--src/backenddb/pg_delete_token_family.c53L
-rw-r--r--src/backenddb/pg_delete_token_family.h41L
-rw-r--r--src/backenddb/pg_delete_transfer.c58L
-rw-r--r--src/backenddb/pg_delete_transfer.h43L
-rw-r--r--src/backenddb/pg_delete_unit.c68L
-rw-r--r--src/backenddb/pg_delete_unit.h45L
-rw-r--r--src/backenddb/pg_delete_webhook.c54L
-rw-r--r--src/backenddb/pg_delete_webhook.h42L
-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_expire_locks.c86L
-rw-r--r--src/backenddb/pg_expire_locks.h39L
-rw-r--r--src/backenddb/pg_finalize_transfer_status.c80L
-rw-r--r--src/backenddb/pg_finalize_transfer_status.h54L
-rw-r--r--src/backenddb/pg_gc.c69L
-rw-r--r--src/backenddb/pg_gc.h37L
-rw-r--r--src/backenddb/pg_get_kyc_limits.c79L
-rw-r--r--src/backenddb/pg_get_kyc_limits.h50L
-rw-r--r--src/backenddb/pg_get_kyc_status.c119L
-rw-r--r--src/backenddb/pg_get_kyc_status.h70L
-rw-r--r--src/backenddb/pg_helper.c138L
-rw-r--r--src/backenddb/pg_helper.h158L
-rw-r--r--src/backenddb/pg_inactivate_account.c53L
-rw-r--r--src/backenddb/pg_inactivate_account.h42L
-rw-r--r--src/backenddb/pg_increase_refund.c709L
-rw-r--r--src/backenddb/pg_increase_refund.h62L
-rw-r--r--src/backenddb/pg_increment_money_pots.c76L
-rw-r--r--src/backenddb/pg_increment_money_pots.h49L
-rw-r--r--src/backenddb/pg_increment_money_pots.sql109L
-rw-r--r--src/backenddb/pg_insert_account.c79L
-rw-r--r--src/backenddb/pg_insert_account.h41L
-rw-r--r--src/backenddb/pg_insert_category.c66L
-rw-r--r--src/backenddb/pg_insert_category.h46L
-rw-r--r--src/backenddb/pg_insert_contract_terms.c135L
-rw-r--r--src/backenddb/pg_insert_contract_terms.h52L
-rw-r--r--src/backenddb/pg_insert_deposit.c80L
-rw-r--r--src/backenddb/pg_insert_deposit.h55L
-rw-r--r--src/backenddb/pg_insert_deposit_confirmation.c146L
-rw-r--r--src/backenddb/pg_insert_deposit_confirmation.h60L
-rw-r--r--src/backenddb/pg_insert_deposit_confirmation.sql172L
-rw-r--r--src/backenddb/pg_insert_deposit_to_transfer.c68L
-rw-r--r--src/backenddb/pg_insert_deposit_to_transfer.h48L
-rw-r--r--src/backenddb/pg_insert_deposit_to_transfer.sql136L
-rw-r--r--src/backenddb/pg_insert_donau_instance.c73L
-rw-r--r--src/backenddb/pg_insert_donau_instance.h46L
-rw-r--r--src/backenddb/pg_insert_exchange_account.c66L
-rw-r--r--src/backenddb/pg_insert_exchange_account.h51L
-rw-r--r--src/backenddb/pg_insert_exchange_keys.c92L
-rw-r--r--src/backenddb/pg_insert_exchange_keys.h49L
-rw-r--r--src/backenddb/pg_insert_exchange_signkey.c66L
-rw-r--r--src/backenddb/pg_insert_exchange_signkey.h50L
-rw-r--r--src/backenddb/pg_insert_instance.c121L
-rw-r--r--src/backenddb/pg_insert_instance.h49L
-rw-r--r--src/backenddb/pg_insert_issued_token.c78L
-rw-r--r--src/backenddb/pg_insert_issued_token.h45L
-rw-r--r--src/backenddb/pg_insert_issued_token.sql72L
-rw-r--r--src/backenddb/pg_insert_login_token.c67L
-rw-r--r--src/backenddb/pg_insert_login_token.h52L
-rw-r--r--src/backenddb/pg_insert_money_pot.c66L
-rw-r--r--src/backenddb/pg_insert_money_pot.h46L
-rw-r--r--src/backenddb/pg_insert_order.c95L
-rw-r--r--src/backenddb/pg_insert_order.h56L
-rw-r--r--src/backenddb/pg_insert_order_blinded_sigs.c61L
-rw-r--r--src/backenddb/pg_insert_order_blinded_sigs.h47L
-rw-r--r--src/backenddb/pg_insert_order_lock.c98L
-rw-r--r--src/backenddb/pg_insert_order_lock.h50L
-rw-r--r--src/backenddb/pg_insert_otp.c74L
-rw-r--r--src/backenddb/pg_insert_otp.h45L
-rw-r--r--src/backenddb/pg_insert_pending_webhook.c70L
-rw-r--r--src/backenddb/pg_insert_pending_webhook.h49L
-rw-r--r--src/backenddb/pg_insert_product.c115L
-rw-r--r--src/backenddb/pg_insert_product.h59L
-rw-r--r--src/backenddb/pg_insert_product.sql246L
-rw-r--r--src/backenddb/pg_insert_product_group.c67L
-rw-r--r--src/backenddb/pg_insert_product_group.h47L
-rw-r--r--src/backenddb/pg_insert_refund_proof.c58L
-rw-r--r--src/backenddb/pg_insert_refund_proof.h44L
-rw-r--r--src/backenddb/pg_insert_report.c99L
-rw-r--r--src/backenddb/pg_insert_report.h61L
-rw-r--r--src/backenddb/pg_insert_spent_token.c88L
-rw-r--r--src/backenddb/pg_insert_spent_token.h47L
-rw-r--r--src/backenddb/pg_insert_spent_token.sql88L
-rw-r--r--src/backenddb/pg_insert_template.c72L
-rw-r--r--src/backenddb/pg_insert_template.h46L
-rw-r--r--src/backenddb/pg_insert_token_family.c95L
-rw-r--r--src/backenddb/pg_insert_token_family.h43L
-rw-r--r--src/backenddb/pg_insert_token_family_key.c140L
-rw-r--r--src/backenddb/pg_insert_token_family_key.h54L
-rw-r--r--src/backenddb/pg_insert_transfer.c80L
-rw-r--r--src/backenddb/pg_insert_transfer.h61L
-rw-r--r--src/backenddb/pg_insert_transfer.sql122L
-rw-r--r--src/backenddb/pg_insert_transfer_details.c205L
-rw-r--r--src/backenddb/pg_insert_transfer_details.h51L
-rw-r--r--src/backenddb/pg_insert_transfer_details.sql270L
-rw-r--r--src/backenddb/pg_insert_unclaim_signature.c100L
-rw-r--r--src/backenddb/pg_insert_unclaim_signature.h51L
-rw-r--r--src/backenddb/pg_insert_unclaim_signature.sql85L
-rw-r--r--src/backenddb/pg_insert_unit.c84L
-rw-r--r--src/backenddb/pg_insert_unit.h47L
-rw-r--r--src/backenddb/pg_insert_webhook.c70L
-rw-r--r--src/backenddb/pg_insert_webhook.h43L
-rw-r--r--src/backenddb/pg_lock_product.c102L
-rw-r--r--src/backenddb/pg_lock_product.h52L
-rw-r--r--src/backenddb/pg_lookup_account.c62L
-rw-r--r--src/backenddb/pg_lookup_account.h43L
-rw-r--r--src/backenddb/pg_lookup_all_products.c230L
-rw-r--r--src/backenddb/pg_lookup_all_products.h43L
-rw-r--r--src/backenddb/pg_lookup_categories.c149L
-rw-r--r--src/backenddb/pg_lookup_categories.h43L
-rw-r--r--src/backenddb/pg_lookup_categories_by_ids.c146L
-rw-r--r--src/backenddb/pg_lookup_categories_by_ids.h45L
-rw-r--r--src/backenddb/pg_lookup_contract_terms.c80L
-rw-r--r--src/backenddb/pg_lookup_contract_terms.h48L
-rw-r--r--src/backenddb/pg_lookup_contract_terms2.c96L
-rw-r--r--src/backenddb/pg_lookup_contract_terms2.h54L
-rw-r--r--src/backenddb/pg_lookup_contract_terms3.c112L
-rw-r--r--src/backenddb/pg_lookup_contract_terms3.h58L
-rw-r--r--src/backenddb/pg_lookup_custom_units_by_names.c143L
-rw-r--r--src/backenddb/pg_lookup_custom_units_by_names.h46L
-rw-r--r--src/backenddb/pg_lookup_deposits.c165L
-rw-r--r--src/backenddb/pg_lookup_deposits.h47L
-rw-r--r--src/backenddb/pg_lookup_deposits_by_contract_and_coin.c328L
-rw-r--r--src/backenddb/pg_lookup_deposits_by_contract_and_coin.h53L
-rw-r--r--src/backenddb/pg_lookup_deposits_by_order.c166L
-rw-r--r--src/backenddb/pg_lookup_deposits_by_order.h43L
-rw-r--r--src/backenddb/pg_lookup_donau_keys.c73L
-rw-r--r--src/backenddb/pg_lookup_donau_keys.h47L
-rw-r--r--src/backenddb/pg_lookup_expected_transfer.c104L
-rw-r--r--src/backenddb/pg_lookup_expected_transfer.h58L
-rw-r--r--src/backenddb/pg_lookup_expected_transfers.c280L
-rw-r--r--src/backenddb/pg_lookup_expected_transfers.h61L
-rw-r--r--src/backenddb/pg_lookup_instance_auth.c59L
-rw-r--r--src/backenddb/pg_lookup_instance_auth.h40L
-rw-r--r--src/backenddb/pg_lookup_instances.c345L
-rw-r--r--src/backenddb/pg_lookup_instances.h60L
-rw-r--r--src/backenddb/pg_lookup_inventory_products.c223L
-rw-r--r--src/backenddb/pg_lookup_inventory_products.h41L
-rw-r--r--src/backenddb/pg_lookup_inventory_products_filtered.c245L
-rw-r--r--src/backenddb/pg_lookup_inventory_products_filtered.h50L
-rw-r--r--src/backenddb/pg_lookup_login_tokens.c182L
-rw-r--r--src/backenddb/pg_lookup_login_tokens.h48L
-rw-r--r--src/backenddb/pg_lookup_mfa_challenge.c105L
-rw-r--r--src/backenddb/pg_lookup_mfa_challenge.h62L
-rw-r--r--src/backenddb/pg_lookup_order.c96L
-rw-r--r--src/backenddb/pg_lookup_order.h49L
-rw-r--r--src/backenddb/pg_lookup_order_by_fulfillment.c80L
-rw-r--r--src/backenddb/pg_lookup_order_by_fulfillment.h49L
-rw-r--r--src/backenddb/pg_lookup_order_charity.c95L
-rw-r--r--src/backenddb/pg_lookup_order_charity.h65L
-rw-r--r--src/backenddb/pg_lookup_order_status.c73L
-rw-r--r--src/backenddb/pg_lookup_order_status.h45L
-rw-r--r--src/backenddb/pg_lookup_order_status_by_serial.c71L
-rw-r--r--src/backenddb/pg_lookup_order_status_by_serial.h48L
-rw-r--r--src/backenddb/pg_lookup_order_summary.c75L
-rw-r--r--src/backenddb/pg_lookup_order_summary.h45L
-rw-r--r--src/backenddb/pg_lookup_orders.c291L
-rw-r--r--src/backenddb/pg_lookup_orders.h45L
-rw-r--r--src/backenddb/pg_lookup_otp_devices.c133L
-rw-r--r--src/backenddb/pg_lookup_otp_devices.h45L
-rw-r--r--src/backenddb/pg_lookup_pending_deposits.c200L
-rw-r--r--src/backenddb/pg_lookup_pending_deposits.h50L
-rw-r--r--src/backenddb/pg_lookup_pending_webhooks.c261L
-rw-r--r--src/backenddb/pg_lookup_pending_webhooks.h78L
-rw-r--r--src/backenddb/pg_lookup_product.c195L
-rw-r--r--src/backenddb/pg_lookup_product.h49L
-rw-r--r--src/backenddb/pg_lookup_product_image.c66L
-rw-r--r--src/backenddb/pg_lookup_product_image.h32L
-rw-r--r--src/backenddb/pg_lookup_products.c194L
-rw-r--r--src/backenddb/pg_lookup_products.h72L
-rw-r--r--src/backenddb/pg_lookup_reconciliation_details.c179L
-rw-r--r--src/backenddb/pg_lookup_reconciliation_details.h48L
-rw-r--r--src/backenddb/pg_lookup_refund_proof.c63L
-rw-r--r--src/backenddb/pg_lookup_refund_proof.h43L
-rw-r--r--src/backenddb/pg_lookup_refunds.c148L
-rw-r--r--src/backenddb/pg_lookup_refunds.h46L
-rw-r--r--src/backenddb/pg_lookup_refunds_detailed.c186L
-rw-r--r--src/backenddb/pg_lookup_refunds_detailed.h46L
-rw-r--r--src/backenddb/pg_lookup_reports_pending.c181L
-rw-r--r--src/backenddb/pg_lookup_reports_pending.h41L
-rw-r--r--src/backenddb/pg_lookup_spent_tokens_by_order.c162L
-rw-r--r--src/backenddb/pg_lookup_spent_tokens_by_order.h44L
-rw-r--r--src/backenddb/pg_lookup_statistics_amount_by_bucket.c227L
-rw-r--r--src/backenddb/pg_lookup_statistics_amount_by_bucket.h46L
-rw-r--r--src/backenddb/pg_lookup_statistics_amount_by_bucket2.c168L
-rw-r--r--src/backenddb/pg_lookup_statistics_amount_by_bucket2.h52L
-rw-r--r--src/backenddb/pg_lookup_statistics_amount_by_interval.c244L
-rw-r--r--src/backenddb/pg_lookup_statistics_amount_by_interval.h46L
-rw-r--r--src/backenddb/pg_lookup_statistics_counter_by_bucket.c165L
-rw-r--r--src/backenddb/pg_lookup_statistics_counter_by_bucket.h46L
-rw-r--r--src/backenddb/pg_lookup_statistics_counter_by_bucket2.c191L
-rw-r--r--src/backenddb/pg_lookup_statistics_counter_by_bucket2.h52L
-rw-r--r--src/backenddb/pg_lookup_statistics_counter_by_interval.c210L
-rw-r--r--src/backenddb/pg_lookup_statistics_counter_by_interval.h46L
-rw-r--r--src/backenddb/pg_lookup_template.c109L
-rw-r--r--src/backenddb/pg_lookup_template.h46L
-rw-r--r--src/backenddb/pg_lookup_templates.c133L
-rw-r--r--src/backenddb/pg_lookup_templates.h44L
-rw-r--r--src/backenddb/pg_lookup_token_families.c162L
-rw-r--r--src/backenddb/pg_lookup_token_families.h43L
-rw-r--r--src/backenddb/pg_lookup_token_family.c137L
-rw-r--r--src/backenddb/pg_lookup_token_family.h45L
-rw-r--r--src/backenddb/pg_lookup_token_family_key.c188L
-rw-r--r--src/backenddb/pg_lookup_token_family_key.h52L
-rw-r--r--src/backenddb/pg_lookup_token_family_keys.c224L
-rw-r--r--src/backenddb/pg_lookup_token_family_keys.h52L
-rw-r--r--src/backenddb/pg_lookup_transfer_details.c157L
-rw-r--r--src/backenddb/pg_lookup_transfer_details.h46L
-rw-r--r--src/backenddb/pg_lookup_transfer_details_by_order.c242L
-rw-r--r--src/backenddb/pg_lookup_transfer_details_by_order.h45L
-rw-r--r--src/backenddb/pg_lookup_transfer_summary.c153L
-rw-r--r--src/backenddb/pg_lookup_transfer_summary.h46L
-rw-r--r--src/backenddb/pg_lookup_transfers.c246L
-rw-r--r--src/backenddb/pg_lookup_transfers.h60L
-rw-r--r--src/backenddb/pg_lookup_units.c152L
-rw-r--r--src/backenddb/pg_lookup_units.h43L
-rw-r--r--src/backenddb/pg_lookup_webhook.c92L
-rw-r--r--src/backenddb/pg_lookup_webhook.h44L
-rw-r--r--src/backenddb/pg_lookup_webhook_by_event.c159L
-rw-r--r--src/backenddb/pg_lookup_webhook_by_event.h45L
-rw-r--r--src/backenddb/pg_lookup_webhooks.c133L
-rw-r--r--src/backenddb/pg_lookup_webhooks.h43L
-rw-r--r--src/backenddb/pg_lookup_wire_fee.c81L
-rw-r--r--src/backenddb/pg_lookup_wire_fee.h52L
-rw-r--r--src/backenddb/pg_mark_contract_paid.c123L
-rw-r--r--src/backenddb/pg_mark_contract_paid.h48L
-rw-r--r--src/backenddb/pg_mark_order_wired.c48L
-rw-r--r--src/backenddb/pg_mark_order_wired.h39L
-rw-r--r--src/backenddb/pg_merchant_kyc_trigger.sql40L
-rw-r--r--src/backenddb/pg_merchant_send_kyc_notification.sql97L
-rw-r--r--src/backenddb/pg_purge_instance.c54L
-rw-r--r--src/backenddb/pg_purge_instance.h40L
-rw-r--r--src/backenddb/pg_refund_coin.c77L
-rw-r--r--src/backenddb/pg_refund_coin.h51L
-rw-r--r--src/backenddb/pg_select_account.c85L
-rw-r--r--src/backenddb/pg_select_account.h44L
-rw-r--r--src/backenddb/pg_select_account_by_uri.c83L
-rw-r--r--src/backenddb/pg_select_account_by_uri.h44L
-rw-r--r--src/backenddb/pg_select_accounts.c187L
-rw-r--r--src/backenddb/pg_select_accounts.h44L
-rw-r--r--src/backenddb/pg_select_accounts_by_exchange.c146L
-rw-r--r--src/backenddb/pg_select_accounts_by_exchange.h45L
-rw-r--r--src/backenddb/pg_select_all_donau_instances.c172L
-rw-r--r--src/backenddb/pg_select_all_donau_instances.h45L
-rw-r--r--src/backenddb/pg_select_category.c100L
-rw-r--r--src/backenddb/pg_select_category.h49L
-rw-r--r--src/backenddb/pg_select_category_by_name.c67L
-rw-r--r--src/backenddb/pg_select_category_by_name.h46L
-rw-r--r--src/backenddb/pg_select_donau_instance_by_serial.c62L
-rw-r--r--src/backenddb/pg_select_donau_instance_by_serial.h46L
-rw-r--r--src/backenddb/pg_select_donau_instances.c174L
-rw-r--r--src/backenddb/pg_select_donau_instances.h46L
-rw-r--r--src/backenddb/pg_select_donau_instances_filtered.c131L
-rw-r--r--src/backenddb/pg_select_donau_instances_filtered.h47L
-rw-r--r--src/backenddb/pg_select_exchange_keys.c73L
-rw-r--r--src/backenddb/pg_select_exchange_keys.h45L
-rw-r--r--src/backenddb/pg_select_exchanges.c146L
-rw-r--r--src/backenddb/pg_select_exchanges.h42L
-rw-r--r--src/backenddb/pg_select_login_token.c67L
-rw-r--r--src/backenddb/pg_select_login_token.h48L
-rw-r--r--src/backenddb/pg_select_money_pot.c73L
-rw-r--r--src/backenddb/pg_select_money_pot.h50L
-rw-r--r--src/backenddb/pg_select_money_pots.c175L
-rw-r--r--src/backenddb/pg_select_money_pots.h49L
-rw-r--r--src/backenddb/pg_select_open_transfers.c160L
-rw-r--r--src/backenddb/pg_select_open_transfers.h47L
-rw-r--r--src/backenddb/pg_select_order_blinded_sigs.c127L
-rw-r--r--src/backenddb/pg_select_order_blinded_sigs.h47L
-rw-r--r--src/backenddb/pg_select_otp.c90L
-rw-r--r--src/backenddb/pg_select_otp.h45L
-rw-r--r--src/backenddb/pg_select_otp_serial.c61L
-rw-r--r--src/backenddb/pg_select_otp_serial.h43L
-rw-r--r--src/backenddb/pg_select_product_groups.c165L
-rw-r--r--src/backenddb/pg_select_product_groups.h49L
-rw-r--r--src/backenddb/pg_select_report.c107L
-rw-r--r--src/backenddb/pg_select_report.h65L
-rw-r--r--src/backenddb/pg_select_reports.c167L
-rw-r--r--src/backenddb/pg_select_reports.h49L
-rw-r--r--src/backenddb/pg_select_unit.c135L
-rw-r--r--src/backenddb/pg_select_unit.h43L
-rw-r--r--src/backenddb/pg_select_wirewatch_accounts.c147L
-rw-r--r--src/backenddb/pg_select_wirewatch_accounts.h44L
-rw-r--r--src/backenddb/pg_solve_mfa_challenge.c83L
-rw-r--r--src/backenddb/pg_solve_mfa_challenge.h53L
-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
-rw-r--r--src/backenddb/pg_store_wire_fee_by_exchange.c76L
-rw-r--r--src/backenddb/pg_store_wire_fee_by_exchange.h52L
-rw-r--r--src/backenddb/pg_template.c26L
-rw-r--r--src/backenddb/pg_template.h29L
-rwxr-xr-xsrc/backenddb/pg_template.sh21L
-rw-r--r--src/backenddb/pg_unlock_inventory.c47L
-rw-r--r--src/backenddb/pg_unlock_inventory.h42L
-rw-r--r--src/backenddb/pg_update_account.c70L
-rw-r--r--src/backenddb/pg_update_account.h50L
-rw-r--r--src/backenddb/pg_update_category.c59L
-rw-r--r--src/backenddb/pg_update_category.h47L
-rw-r--r--src/backenddb/pg_update_contract_session.c84L
-rw-r--r--src/backenddb/pg_update_contract_session.h49L
-rw-r--r--src/backenddb/pg_update_contract_terms.c106L
-rw-r--r--src/backenddb/pg_update_contract_terms.h49L
-rw-r--r--src/backenddb/pg_update_deposit_confirmation_status.c67L
-rw-r--r--src/backenddb/pg_update_deposit_confirmation_status.h53L
-rw-r--r--src/backenddb/pg_update_donau_instance.c71L
-rw-r--r--src/backenddb/pg_update_donau_instance.h46L
-rw-r--r--src/backenddb/pg_update_donau_instance_receipts_amount.c55L
-rw-r--r--src/backenddb/pg_update_donau_instance_receipts_amount.h43L
-rw-r--r--src/backenddb/pg_update_instance.c89L
-rw-r--r--src/backenddb/pg_update_instance.h39L
-rw-r--r--src/backenddb/pg_update_instance_auth.c52L
-rw-r--r--src/backenddb/pg_update_instance_auth.h43L
-rw-r--r--src/backenddb/pg_update_mfa_challenge.c60L
-rw-r--r--src/backenddb/pg_update_mfa_challenge.h53L
-rw-r--r--src/backenddb/pg_update_money_pot.c92L
-rw-r--r--src/backenddb/pg_update_money_pot.h61L
-rw-r--r--src/backenddb/pg_update_money_pot.sql82L
-rw-r--r--src/backenddb/pg_update_otp.c65L
-rw-r--r--src/backenddb/pg_update_otp.h47L
-rw-r--r--src/backenddb/pg_update_pending_webhook.c51L
-rw-r--r--src/backenddb/pg_update_pending_webhook.h41L
-rw-r--r--src/backenddb/pg_update_product.c135L
-rw-r--r--src/backenddb/pg_update_product.h71L
-rw-r--r--src/backenddb/pg_update_product.sql199L
-rw-r--r--src/backenddb/pg_update_product_group.c74L
-rw-r--r--src/backenddb/pg_update_product_group.h50L
-rw-r--r--src/backenddb/pg_update_product_group.sql55L
-rw-r--r--src/backenddb/pg_update_report.c86L
-rw-r--r--src/backenddb/pg_update_report.h60L
-rw-r--r--src/backenddb/pg_update_report_status.c68L
-rw-r--r--src/backenddb/pg_update_report_status.h49L
-rw-r--r--src/backenddb/pg_update_template.c79L
-rw-r--r--src/backenddb/pg_update_template.h46L
-rw-r--r--src/backenddb/pg_update_token_family.c70L
-rw-r--r--src/backenddb/pg_update_token_family.h45L
-rw-r--r--src/backenddb/pg_update_transfer_status.c71L
-rw-r--r--src/backenddb/pg_update_transfer_status.h53L
-rw-r--r--src/backenddb/pg_update_unit.c97L
-rw-r--r--src/backenddb/pg_update_unit.h61L
-rw-r--r--src/backenddb/pg_update_webhook.c68L
-rw-r--r--src/backenddb/pg_update_webhook.h45L
-rw-r--r--src/backenddb/pg_update_wirewatch_progress.c58L
-rw-r--r--src/backenddb/pg_update_wirewatch_progress.h46L
-rw-r--r--src/backenddb/pg_upsert_donau_keys.c77L
-rw-r--r--src/backenddb/pg_upsert_donau_keys.h44L
-rw-r--r--src/backenddb/pg_uri_escape.sql37L
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c855L
-rw-r--r--src/backenddb/procedures.sql.in65L
-rw-r--r--src/backenddb/test-merchantdb-postgres.conf12L
-rw-r--r--src/backenddb/test.conf172L
-rw-r--r--src/backenddb/test_merchantdb.c7413L
-rwxr-xr-xsrc/backenddb/test_webhook_trigger.sh369L
-rw-r--r--src/backenddb/versioning.sql294L
-rw-r--r--src/bank/Makefile.am28L
-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/include/Makefile.am2L
-rw-r--r--src/include/cutted_from_service155L
-rw-r--r--src/include/taler/Makefile.am20L
-rw-r--r--src/include/taler/platform.h334L
-rw-r--r--src/include/taler/taler-merchant/Makefile.am73L
-rw-r--r--src/include/taler/taler-merchant/common.h326L
-rw-r--r--src/include/taler/taler-merchant/delete-management-instances-INSTANCE.h94L
-rw-r--r--src/include/taler/taler-merchant/delete-private-accounts-H_WIRE.h89L
-rw-r--r--src/include/taler/taler-merchant/delete-private-donau-DONAU_SERIAL.h75L
-rw-r--r--src/include/taler/taler-merchant/delete-private-orders-ORDER_ID.h76L
-rw-r--r--src/include/taler/taler-merchant/delete-private-otp-devices-DEVICE_ID.h75L
-rw-r--r--src/include/taler/taler-merchant/delete-private-products-PRODUCT_ID.h74L
-rw-r--r--src/include/taler/taler-merchant/delete-private-templates-TEMPLATE_ID.h74L
-rw-r--r--src/include/taler/taler-merchant/delete-private-tokens-SERIAL.h75L
-rw-r--r--src/include/taler/taler-merchant/delete-private-transfers-TID.h75L
-rw-r--r--src/include/taler/taler-merchant/delete-private-units-UNIT.h74L
-rw-r--r--src/include/taler/taler-merchant/delete-private-webhooks-WEBHOOK_ID.h74L
-rw-r--r--src/include/taler/taler-merchant/get-config.h209L
-rw-r--r--src/include/taler/taler-merchant/get-management-instances-INSTANCE.h162L
-rw-r--r--src/include/taler/taler-merchant/get-management-instances.h142L
-rw-r--r--src/include/taler/taler-merchant/get-orders-ORDER_ID.h149L
-rw-r--r--src/include/taler/taler-merchant/get-private-accounts-H_WIRE.h145L
-rw-r--r--src/include/taler/taler-merchant/get-private-accounts.h132L
-rw-r--r--src/include/taler/taler-merchant/get-private-donau.h165L
-rw-r--r--src/include/taler/taler-merchant/get-private-kyc.h231L
-rw-r--r--src/include/taler/taler-merchant/get-private-orders-ORDER_ID.h288L
-rw-r--r--src/include/taler/taler-merchant/get-private-orders.h233L
-rw-r--r--src/include/taler/taler-merchant/get-private-otp-devices-DEVICE_ID.h134L
-rw-r--r--src/include/taler/taler-merchant/get-private-otp-devices.h131L
-rw-r--r--src/include/taler/taler-merchant/get-private-products-PRODUCT_ID.h190L
-rw-r--r--src/include/taler/taler-merchant/get-private-products.h130L
-rw-r--r--src/include/taler/taler-merchant/get-private-statistics-amount-SLUG.h198L
-rw-r--r--src/include/taler/taler-merchant/get-private-statistics-counter-SLUG.h190L
-rw-r--r--src/include/taler/taler-merchant/get-private-templates-TEMPLATE_ID.h119L
-rw-r--r--src/include/taler/taler-merchant/get-private-templates.h131L
-rw-r--r--src/include/taler/taler-merchant/get-private-tokenfamilies-TOKEN_FAMILY_SLUG.h171L
-rw-r--r--src/include/taler/taler-merchant/get-private-transfers.h173L
-rw-r--r--src/include/taler/taler-merchant/get-private-units-UNIT.h109L
-rw-r--r--src/include/taler/taler-merchant/get-private-units.h112L
-rw-r--r--src/include/taler/taler-merchant/get-private-webhooks-WEBHOOK_ID.h85L
-rw-r--r--src/include/taler/taler-merchant/get-private-webhooks.h131L
-rw-r--r--src/include/taler/taler-merchant/get-products-IMAGE_HASH-image.h110L
-rw-r--r--src/include/taler/taler-merchant/get-templates-TEMPLATE_ID.h110L
-rw-r--r--src/include/taler/taler-merchant/patch-management-instances-INSTANCE.h89L
-rw-r--r--src/include/taler/taler-merchant/patch-private-accounts-H_WIRE.h79L
-rw-r--r--src/include/taler/taler-merchant/patch-private-orders-ORDER_ID-forget.h80L
-rw-r--r--src/include/taler/taler-merchant/patch-private-otp-devices-DEVICE_ID.h83L
-rw-r--r--src/include/taler/taler-merchant/patch-private-products-PRODUCT_ID.h142L
-rw-r--r--src/include/taler/taler-merchant/patch-private-templates-TEMPLATE_ID.h81L
-rw-r--r--src/include/taler/taler-merchant/patch-private-units-UNIT.h89L
-rw-r--r--src/include/taler/taler-merchant/patch-private-webhooks-WEBHOOK_ID.h85L
-rw-r--r--src/include/taler/taler-merchant/post-management-instances-INSTANCE-auth.h78L
-rw-r--r--src/include/taler/taler-merchant/post-management-instances.h91L
-rw-r--r--src/include/taler/taler-merchant/post-orders-ORDER_ID-abort.h177L
-rw-r--r--src/include/taler/taler-merchant/post-orders-ORDER_ID-claim.h125L
-rw-r--r--src/include/taler/taler-merchant/post-orders-ORDER_ID-paid.h116L
-rw-r--r--src/include/taler/taler-merchant/post-orders-ORDER_ID-pay.h404L
-rw-r--r--src/include/taler/taler-merchant/post-orders-ORDER_ID-refund.h181L
-rw-r--r--src/include/taler/taler-merchant/post-private-accounts.h119L
-rw-r--r--src/include/taler/taler-merchant/post-private-categories.h96L
-rw-r--r--src/include/taler/taler-merchant/post-private-donau.h97L
-rw-r--r--src/include/taler/taler-merchant/post-private-orders-ORDER_ID-refund.h119L
-rw-r--r--src/include/taler/taler-merchant/post-private-orders.h258L
-rw-r--r--src/include/taler/taler-merchant/post-private-otp-devices.h83L
-rw-r--r--src/include/taler/taler-merchant/post-private-products-PRODUCT_ID-lock.h110L
-rw-r--r--src/include/taler/taler-merchant/post-private-products.h226L
-rw-r--r--src/include/taler/taler-merchant/post-private-templates.h81L
-rw-r--r--src/include/taler/taler-merchant/post-private-token.h81L
-rw-r--r--src/include/taler/taler-merchant/post-private-tokenfamilies.h95L
-rw-r--r--src/include/taler/taler-merchant/post-private-transfers.h161L
-rw-r--r--src/include/taler/taler-merchant/post-private-units.h89L
-rw-r--r--src/include/taler/taler-merchant/post-private-webhooks.h85L
-rw-r--r--src/include/taler/taler-merchant/post-templates-TEMPLATE_ID.h92L
-rw-r--r--src/include/taler/taler_merchant_bank_lib.h263L
-rw-r--r--src/include/taler/taler_merchant_donau.h37L
-rw-r--r--src/include/taler/taler_merchant_pay_service.h610L
-rw-r--r--src/include/taler/taler_merchant_service.h101L
-rw-r--r--src/include/taler/taler_merchant_testing_lib.h2514L
-rw-r--r--src/include/taler/taler_merchant_util.h1535L
-rw-r--r--src/include/taler/taler_merchantdb_lib.h121L
-rw-r--r--src/include/taler/taler_merchantdb_plugin.h5935L
-rw-r--r--src/lib/.gitignore1L
-rw-r--r--src/lib/Makefile.am118L
-rw-r--r--src/lib/merchant_api_common.c604L
-rw-r--r--src/lib/merchant_api_common.h100L
-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.c236L
-rw-r--r--src/lib/merchant_api_delete-private-accounts-H_WIRE.c185L
-rw-r--r--src/lib/merchant_api_delete-private-donau-DONAU_SERIAL.c198L
-rw-r--r--src/lib/merchant_api_delete-private-orders-ORDER_ID.c177L
-rw-r--r--src/lib/merchant_api_delete-private-otp-devices-DEVICE_ID.c184L
-rw-r--r--src/lib/merchant_api_delete-private-products-PRODUCT_ID.c184L
-rw-r--r--src/lib/merchant_api_delete-private-templates-TEMPLATE_ID.c184L
-rw-r--r--src/lib/merchant_api_delete-private-tokens-SERIAL.c178L
-rw-r--r--src/lib/merchant_api_delete-private-transfers-TID.c184L
-rw-r--r--src/lib/merchant_api_delete-private-units-UNIT.c177L
-rw-r--r--src/lib/merchant_api_delete-private-webhooks-WEBHOOK_ID.c184L
-rw-r--r--src/lib/merchant_api_get-config.c320L
-rw-r--r--src/lib/merchant_api_get-management-instances-INSTANCE.c235L
-rw-r--r--src/lib/merchant_api_get-management-instances.c263L
-rw-r--r--src/lib/merchant_api_get-orders-ORDER_ID.c306L
-rw-r--r--src/lib/merchant_api_get-private-accounts-H_WIRE.c211L
-rw-r--r--src/lib/merchant_api_get-private-accounts.c247L
-rw-r--r--src/lib/merchant_api_get-private-donau.c299L
-rw-r--r--src/lib/merchant_api_get-private-kyc.c515L
-rw-r--r--src/lib/merchant_api_get-private-orders-ORDER_ID.c538L
-rw-r--r--src/lib/merchant_api_get-private-orders.c442L
-rw-r--r--src/lib/merchant_api_get-private-otp-devices-DEVICE_ID.c210L
-rw-r--r--src/lib/merchant_api_get-private-otp-devices.c248L
-rw-r--r--src/lib/merchant_api_get-private-products-PRODUCT_ID.c249L
-rw-r--r--src/lib/merchant_api_get-private-products.c262L
-rw-r--r--src/lib/merchant_api_get-private-statistics-amount-SLUG.c408L
-rw-r--r--src/lib/merchant_api_get-private-statistics-counter-SLUG.c353L
-rw-r--r--src/lib/merchant_api_get-private-templates-TEMPLATE_ID.c201L
-rw-r--r--src/lib/merchant_api_get-private-templates.c247L
-rw-r--r--src/lib/merchant_api_get-private-tokenfamilies-TOKEN_FAMILY_SLUG.c218L
-rw-r--r--src/lib/merchant_api_get-private-transfers.c314L
-rw-r--r--src/lib/merchant_api_get-private-units-UNIT.c249L
-rw-r--r--src/lib/merchant_api_get-private-units.c329L
-rw-r--r--src/lib/merchant_api_get-private-webhooks-WEBHOOK_ID.c221L
-rw-r--r--src/lib/merchant_api_get-private-webhooks.c246L
-rw-r--r--src/lib/merchant_api_get-products-IMAGE_HASH-image.c188L
-rw-r--r--src/lib/merchant_api_get-templates-TEMPLATE_ID.c195L
-rw-r--r--src/lib/merchant_api_patch-management-instances-INSTANCE.c271L
-rw-r--r--src/lib/merchant_api_patch-private-accounts-H_WIRE.c254L
-rw-r--r--src/lib/merchant_api_patch-private-orders-ORDER_ID-forget.c254L
-rw-r--r--src/lib/merchant_api_patch-private-otp-devices-DEVICE_ID.c252L
-rw-r--r--src/lib/merchant_api_patch-private-products-PRODUCT_ID.c346L
-rw-r--r--src/lib/merchant_api_patch-private-templates-TEMPLATE_ID.c249L
-rw-r--r--src/lib/merchant_api_patch-private-units-UNIT.c291L
-rw-r--r--src/lib/merchant_api_patch-private-webhooks-WEBHOOK_ID.c254L
-rw-r--r--src/lib/merchant_api_pay_service.c1070L
-rw-r--r--src/lib/merchant_api_post-management-instances-INSTANCE-auth.c227L
-rw-r--r--src/lib/merchant_api_post-management-instances.c280L
-rw-r--r--src/lib/merchant_api_post-orders-ORDER_ID-abort.c436L
-rw-r--r--src/lib/merchant_api_post-orders-ORDER_ID-claim.c242L
-rw-r--r--src/lib/merchant_api_post-orders-ORDER_ID-paid.c271L
-rw-r--r--src/lib/merchant_api_post-orders-ORDER_ID-pay.c790L
-rw-r--r--src/lib/merchant_api_post-orders-ORDER_ID-refund.c345L
-rw-r--r--src/lib/merchant_api_post-private-accounts.c250L
-rw-r--r--src/lib/merchant_api_post-private-categories.c223L
-rw-r--r--src/lib/merchant_api_post-private-donau.c237L
-rw-r--r--src/lib/merchant_api_post-private-orders-ORDER_ID-refund.c246L
-rw-r--r--src/lib/merchant_api_post-private-orders.c297L
-rw-r--r--src/lib/merchant_api_post-private-otp-devices.c237L
-rw-r--r--src/lib/merchant_api_post-private-products-PRODUCT_ID-lock.c279L
-rw-r--r--src/lib/merchant_api_post-private-products.c433L
-rw-r--r--src/lib/merchant_api_post-private-templates.c495L
-rw-r--r--src/lib/merchant_api_post-private-token.c235L
-rw-r--r--src/lib/merchant_api_post-private-tokenfamilies.c257L
-rw-r--r--src/lib/merchant_api_post-private-transfers.c256L
-rw-r--r--src/lib/merchant_api_post-private-units.c218L
-rw-r--r--src/lib/merchant_api_post-private-webhooks.c240L
-rw-r--r--src/lib/merchant_api_post-templates-TEMPLATE_ID.c233L
-rw-r--r--src/lib/taler_merchant_pay_service.c1070L
-rw-r--r--src/lib/test_merchant_api_common.c163L
-rw-r--r--src/merchant-tools/.gitignore5L
-rw-r--r--src/merchant-tools/Makefile.am65L
-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/taler-merchant-benchmark.c631L
-rw-r--r--src/merchant-tools/taler-merchant-dbinit.c147L
-rw-r--r--src/merchant-tools/taler-merchant-passwd.c269L
-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/testing/.gitignore28L
-rw-r--r--src/testing/Makefile.am302L
-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.c3373L
-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.c496L
-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.sh193L
-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.c415L
-rw-r--r--src/testing/testing_api_cmd_checkserver.c270L
-rw-r--r--src/testing/testing_api_cmd_claim_order.c291L
-rw-r--r--src/testing/testing_api_cmd_config.c154L
-rw-r--r--src/testing/testing_api_cmd_delete_account.c213L
-rw-r--r--src/testing/testing_api_cmd_delete_donau_instances.c190L
-rw-r--r--src/testing/testing_api_cmd_delete_instance.c217L
-rw-r--r--src/testing/testing_api_cmd_delete_order.c180L
-rw-r--r--src/testing/testing_api_cmd_delete_otp_device.c181L
-rw-r--r--src/testing/testing_api_cmd_delete_product.c181L
-rw-r--r--src/testing/testing_api_cmd_delete_template.c179L
-rw-r--r--src/testing/testing_api_cmd_delete_transfer.c203L
-rw-r--r--src/testing/testing_api_cmd_delete_unit.c176L
-rw-r--r--src/testing/testing_api_cmd_delete_webhook.c181L
-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.c251L
-rw-r--r--src/testing/testing_api_cmd_get_donau_instances.c184L
-rw-r--r--src/testing/testing_api_cmd_get_instance.c336L
-rw-r--r--src/testing/testing_api_cmd_get_instances.c263L
-rw-r--r--src/testing/testing_api_cmd_get_orders.c608L
-rw-r--r--src/testing/testing_api_cmd_get_otp_device.c207L
-rw-r--r--src/testing/testing_api_cmd_get_otp_devices.c238L
-rw-r--r--src/testing/testing_api_cmd_get_product.c473L
-rw-r--r--src/testing/testing_api_cmd_get_product_image.c217L
-rw-r--r--src/testing/testing_api_cmd_get_products.c245L
-rw-r--r--src/testing/testing_api_cmd_get_statisticsamount.c220L
-rw-r--r--src/testing/testing_api_cmd_get_statisticscounter.c220L
-rw-r--r--src/testing/testing_api_cmd_get_template.c243L
-rw-r--r--src/testing/testing_api_cmd_get_templates.c238L
-rw-r--r--src/testing/testing_api_cmd_get_transfers.c336L
-rw-r--r--src/testing/testing_api_cmd_get_unit.c352L
-rw-r--r--src/testing/testing_api_cmd_get_units.c361L
-rw-r--r--src/testing/testing_api_cmd_get_webhook.c285L
-rw-r--r--src/testing/testing_api_cmd_get_webhooks.c237L
-rw-r--r--src/testing/testing_api_cmd_instance_auth.c219L
-rw-r--r--src/testing/testing_api_cmd_instance_token.c394L
-rw-r--r--src/testing/testing_api_cmd_kyc_get.c316L
-rw-r--r--src/testing/testing_api_cmd_lock_product.c298L
-rw-r--r--src/testing/testing_api_cmd_merchant_get_order.c1146L
-rw-r--r--src/testing/testing_api_cmd_patch_instance.c273L
-rw-r--r--src/testing/testing_api_cmd_patch_otp_device.c251L
-rw-r--r--src/testing/testing_api_cmd_patch_product.c587L
-rw-r--r--src/testing/testing_api_cmd_patch_template.c243L
-rw-r--r--src/testing/testing_api_cmd_patch_unit.c278L
-rw-r--r--src/testing/testing_api_cmd_patch_webhook.c259L
-rw-r--r--src/testing/testing_api_cmd_pay_order.c1721L
-rw-r--r--src/testing/testing_api_cmd_post_account.c253L
-rw-r--r--src/testing/testing_api_cmd_post_categories.c226L
-rw-r--r--src/testing/testing_api_cmd_post_donau_charity_merchant.c263L
-rw-r--r--src/testing/testing_api_cmd_post_donau_instances.c233L
-rw-r--r--src/testing/testing_api_cmd_post_instances.c313L
-rw-r--r--src/testing/testing_api_cmd_post_orders.c1113L
-rw-r--r--src/testing/testing_api_cmd_post_orders_paid.c245L
-rw-r--r--src/testing/testing_api_cmd_post_otp_devices.c257L
-rw-r--r--src/testing/testing_api_cmd_post_products.c682L
-rw-r--r--src/testing/testing_api_cmd_post_templates.c271L
-rw-r--r--src/testing/testing_api_cmd_post_tokenfamilies.c286L
-rw-r--r--src/testing/testing_api_cmd_post_transfers.c480L
-rw-r--r--src/testing/testing_api_cmd_post_units.c242L
-rw-r--r--src/testing/testing_api_cmd_post_using_templates.c664L
-rw-r--r--src/testing/testing_api_cmd_post_webhooks.c280L
-rw-r--r--src/testing/testing_api_cmd_refund_order.c265L
-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.c901L
-rw-r--r--src/testing/testing_api_cmd_wallet_get_template.c449L
-rw-r--r--src/testing/testing_api_cmd_wallet_post_orders_refund.c293L
-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/Makefile.am72L
-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/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.c205L
-rw-r--r--src/util/validators.c296L
-rw-r--r--src/util/value_kinds.c317L