The use of cloud computing technologies for the analysis and processing of payment data in online acquiring systems
DOI:
https://doi.org/10.18372/2073-4751.87.21696Keywords:
online acquiring, serverless architecture, Cloudflare, Supabase, PostgreSQL, plata by mono, payment data, webhook, ECDSA, non-profit organizationsAbstract
Small businesses and non-profit organizations that adopt online payment processing often face a common set of technical problems: transactions go unlogged, the system becomes unstable under peak load, and payment statuses remain unresolved after failures. These issues stem from relying on conventional hosting infrastructure that either does not scale automatically or requires constantly reserved resources that cost money even during idle periods.
This paper presents an architecture for processing and storing payment data, built on three components: Cloudflare Pages/Workers as the serverless compute layer, Supabase on PostgreSQL as the relational data store with real-time capabilities, and plata by mono as the payment gateway with a REST API and webhook signature verification. The proposed approach targets organizations without a dedicated technical team that cannot afford VPS infrastructure or Kubernetes configuration overhead.
The paper describes a three-table data model — invoices, campaigns, and payment_events — with entity relationships illustrated by an ER diagram. Webhook event handling is covered in detail, including ECDSA signature verification via the Web Crypto API, which satisfies the security requirements of plata by mono. Two Cloudflare Workers functions are described algorithmically: one for creating a payment invoice and one for processing status update events. Analytical SQL queries for aggregating transactions by campaign and real-time subscription through Supabase Realtime are also demonstrated.
A comparative analysis of three architectural approaches — traditional VPS, microservices on Docker/Kubernetes, and serverless FaaS — shows that the proposed solution reduces infrastructure costs from $110–310 to $0–30 per month, requires no DevOps engineer, and allows a fully functional payment backend to be deployed within 2–5 days. The security controls implemented are consistent with PCI DSS requirements.
References
[1] Scheuner J., Leitner P. Function-as-a-Service Performance Evaluation: A Multivocal Literature Review. Journal of Systems and Software. 2020. Vol. 170. Article 110708. DOI: 10.1016/j.jss.2020.110708. URL: https://doi.org/10.1016/j.jss.2020.110708 (дата звернення: 28.03.2026).
[2] Bayya A. K. The Role of Serverless Architectures in Revolutionizing FinTech Solutions. Asian Journal of Mathematics and Computer Research. 2025. Vol. 32(1). P. 1–26. DOI: 10.56557/ajomcor/2025/v32i19035. URL: https://ikprress.org/index.php/AJOMCOR/article/view/9035 (дата звернення: 28.03.2026).
[3] Serverless Transaction Management: A Case Study of Real-Time Order Processing in Distributed Systems. European Academic Journals. 2025. https://doi.org/10.37745/ejcsit.2013/vol13n27105115.
[4] Jonas E., Schleier-Smith J., Sreekanti V. et al. Cloud programming simplified: A Berkeley view on serverless computing. Technical Report UCB/EECS-2019-3. University of California, Berkeley, 2019. URL: https://www2.eecs.berkeley.edu/Pubs/TechRpts/2019/EECS-2019-3.pdf (дата звернення: 28.03.2026).
[5] Cloudflare Pages — офіційна документація та продуктова сторінка. URL: https://pages.cloudflare.com (дата звернення: 28.03.2026).
[6] Cloudflare Pages: Custom domains — офіційна документація. URL: https://developers.cloudflare.com/pages/configuration/custom-domains/ (дата звернення: 28.03.2026).
[7] Supabase Database — офіційна документація. URL: https://supabase.com/docs/guides/database/overview (дата звернення: 28.03.2026).
[8] Supabase Realtime — офіційна документація. URL: https://supabase.com/docs/guides/realtime (дата звернення: 28.03.2026).
[9] Supabase + Cloudflare Workers — офіційна інтеграційна документація. URL: https://supabase.com/partners/integrations/cloudflare-workers (дата звернення: 28.03.2026).
[10] plata by mono — офіційна API-документація еквайрингу. URL: https://monobank.ua/api-docs/acquiring (дата звернення: 28.03.2026).
[11] plata by mono: Верифікація webhook-підпису (X-Sign, ECDSA) — офіційна документація. URL: https://monobank.ua/api-docs/acquiring/dev/webhooks/verify (дата звернення: 28.03.2026).
[12] Supabase Edge Functions — офіційна документація. URL: https://supabase.com/docs/guides/functions (дата звернення: 28.03.2026).
[13] Supabase Row Level Security — офіційна документація. URL: https://supabase.com/docs/guides/auth/row-level-security (дата звернення: 28.03.2026).
[14] plata by mono: Метод створення рахунку (POST /api/merchant/invoice/create) — офіційна API-документація. URL: https://monobank.ua/api-docs/acquiring/methods/ia/post–api–merchant–invoice–create (дата звернення: 28.03.2026).
[15] Web Crypto API — специфікація W3C. URL: https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API (дата звернення: 28.03.2026).
[16] Monobank API Community Docs — відкрита документація спільноти. GitHub: andrew-demb/monobank-api-community-docs. URL: https://github.com/andrew-demb/monobank-api-community-docs (дата звернення: 28.03.2026).
[17] Cloudflare Workers: Best Practices — офіційна документація. URL: https://developers.cloudflare.com/workers/best-practices/workers-best-practices/ (дата звернення: 28.03.2026).
[18] Cloudflare Pages Functions — офіційна документація. URL: https://developers.cloudflare.com/pages/functions/ (дата звернення: 28.03.2026).
[19] CORS (Cross-Origin Resource Sharing) — офіційна документація Cloudflare. URL: https://developers.cloudflare.com/cache/cache-security/cors/ (дата звернення: 28.03.2026).
[20] Cross-Origin Resource Sharing (CORS). Mozilla Developer Network. URL: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS (дата звернення: 28.03.2026).
[21] PostgreSQL: DDL Basics — офіційна документація. URL: https://www.postgresql.org/docs/current/ddl-basics.html (дата звернення: 28.03.2026).
[22] PostgreSQL Aggregate Functions — офіційна документація. URL: https://www.postgresql.org/docs/current/functions-aggregate.html (дата звернення: 28.03.2026).
[23] Supabase Realtime: Broadcast from Database — офіційний блог Supabase. URL: https://supabase.com/blog/realtime-broadcast-from-database (дата звернення: 28.03.2026).
[24] Cloudflare Workers: Environment Variables and Secrets — офіційна документація. URL: https://developers.cloudflare.com/workers/configuration/environment-variables/ (дата звернення: 28.03.2026).
[25] PCI DSS (Payment Card Industry Data Security Standard) — офіційні вимоги. URL: https://www.pcisecuritystandards.org/ (дата звернення: 28.03.2026).
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution 4.0 International License.
The scientific journal adheres to the principles of Open Access and provides free, immediate, and permanent access to all published materials without financial, technical, or legal barriers for readers.
All articles are published in Open Access under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
Copyright
Authors who publish their works in the journal:
-
retain the copyright to their publications;
-
grant the journal the right of first publication of the article;
-
agree to the distribution of their materials under the CC BY 4.0 license;
-
have the right to reuse, archive, and distribute their works (including in institutional and subject repositories), provided that proper reference is made to the original publication in the journal.



