You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Outgoing 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 outgoingPayments table that is required and maps to an id on the tenants table.
Add tenantId to database queries on outgoing payments.
Acquire tenantId from request headers on routes involving outgoing payments and pass them into outgoing payment service logic.
Include tenantId in path of outgoing payment URL. e.g. http://exampe-rafiki/:tenantId/outgoing-payments/:id
Note: the outgoing payment should be created only for the same tenant/wallet address where the quote was created, i.e. since an outgoing payment depends on a quote (which in turn depends on a wallet address), we shouldn't be able to have a situation where we have an outgoing payment on tenant B and a quote on tenant A.
Outgoing 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 tooutgoingPayments
table that is required and maps to an id on thetenants
table.tenantId
to database queries on outgoing payments.tenantId
from request headers on routes involving outgoing payments and pass them into outgoing payment service logic.tenantId
in path of outgoing payment URL. e.g.http://exampe-rafiki/:tenantId/outgoing-payments/:id
Prerequisites
The text was updated successfully, but these errors were encountered: