Incoming Payments should become tenanted as per the Multi-Tenancy design, and will be logically separated in the backend database by a tenantId row that serves as a foreign key on the tenants table.
[ ] Add tenantId row to incomingPayments table that is required and maps to an id on the tenants table.
[ ] Add tenantId to database queries on incoming payments
[ ] Acquire tenantId from request headers on routes involving incoming payments and pass them into incoming payment service logic.
[ ] Include tenantId in path of incoming payment URL. e.g. http://exampe-rafiki/:tenantId/incoming-payments/:id
Incoming Payments should become tenanted as per the Multi-Tenancy design, and will be logically separated in the
backend
database by atenantId
row that serves as a foreign key on the tenants table.tenantId
row toincomingPayments
table that is required and maps to an id on thetenants
table.tenantId
to database queries on incoming paymentstenantId
from request headers on routes involving incoming payments and pass them into incoming payment service logic.tenantId
in path of incoming payment URL. e.g.http://exampe-rafiki/:tenantId/incoming-payments/:id
Prerequisites