interledger / rafiki

An open-source, comprehensive Interledger service for wallet providers, enabling them to provide Interledger functionality to their users.
https://rafiki.dev/
Apache License 2.0
262 stars 88 forks source link

[Multi-Tenant] Tenanted Rates endpoints #3120

Open njlie opened 1 day ago

njlie commented 1 day ago

As quotes and outgoing payments are now tenanted, tenants should now be responsible for setting their own rates and hosting them at their own endpoint.

In the backend business logic, the existing rates service gets rates from an environment variable for a URL. The Rates service should instead be updated to require a tenantId when acquiring rates, so that it pulls from the tenant's ratesEndpoint when calculating rates.

Prerequisites