{"id":20505641,"url":"https://github.com/openbankproject/obp-billing","last_synced_at":"2025-03-05T21:28:12.838Z","repository":{"id":78960338,"uuid":"240314189","full_name":"OpenBankProject/OBP-Billing","owner":"OpenBankProject","description":"For billing for OBP API usage. OBP Billing is used in conjunction with OBP APIs and Invoice Ninja APIs to generate invoices and throttle non-paying Consumers","archived":false,"fork":false,"pushed_at":"2021-07-09T22:02:27.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-16T07:57:14.905Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenBankProject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-13T17:01:00.000Z","updated_at":"2024-06-19T02:10:32.000Z","dependencies_parsed_at":"2023-04-13T23:37:55.846Z","dependency_job_id":null,"html_url":"https://github.com/OpenBankProject/OBP-Billing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenBankProject%2FOBP-Billing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenBankProject%2FOBP-Billing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenBankProject%2FOBP-Billing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenBankProject%2FOBP-Billing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenBankProject","download_url":"https://codeload.github.com/OpenBankProject/OBP-Billing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242105240,"owners_count":20072454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T19:48:40.800Z","updated_at":"2025-03-05T21:28:12.827Z","avatar_url":"https://github.com/OpenBankProject.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# OBP-Billing\n\nA solution for the Billing / Monetisation of API usage \n\nAPI Monetisation in OBP is realised using five components: \n\n(1) The *OBP API* itself logs, stores and provides APIs for API usage (API Metrics). \n\nAlso OBP provides APIs to read and set Consumer Rate Limiting. \n\n(2) The *OBP Billing App* (this Application) generates Clients and Invoices in the (3) *REST based Accounting* system (e.g. Invoice Ninja) based on the API usage of each Consumer and can decide to limit the Consumer via the OBP Rate Limiting APIs if bills are not settled. \n\nThe accounting system sends invoices to the (4) *API Consumer* (TPP Application) for the usage of the OBP API. \n\nAPI Consumer makes the payment using the (5) *Payment System* (e.g. Stripe) which is connected to the Invoice system and which sends information back to the Accounting system about records of payments. \n\nPeriodically, the OBP Billing App queries the Accounting system API and blocks API overdue Consumers via the OBP Rate Limiting and Consumer APIs.\n\n![OBP API Monetisation, Billing and Rate Limiting](https://user-images.githubusercontent.com/485218/74542852-ac946c00-4f44-11ea-9ac7-58a2b1453fa4.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbankproject%2Fobp-billing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenbankproject%2Fobp-billing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbankproject%2Fobp-billing/lists"}