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
User Story
As a provider, I want to support multiple currencies in my provision node to expand my service offering and handle payments in different fiat currencies.
Acceptance Criteria
GIVEN a user signs up as a provider, WHEN they specify currencies, THEN they should be able to select one or more supported currencies
GIVEN a provider profile exists, WHEN querying provider rates, THEN the rate should be specific to the requested currency
GIVEN a provision node is configured, WHEN reading currency configuration, THEN it should support multiple currencies from environment variables
GIVEN a provision node starts up, WHEN registering with PSPs, THEN it should register for all configured currencies
GIVEN a provider supports multiple currencies, WHEN the priority queue selects providers, THEN it should match providers based on supported currencies
Tech Details
Schema Changes:
Update ProviderProfile schema to support many-to-many relationship with FiatCurrency
Add association table for provider-currency relationships
Update provider creation endpoint
API Changes:
Modify signup payload to accept array of currencies
Update provider rate queries to filter by currency
Add currency parameter to GetProviderRate function
Update rate calculation logic for multiple currencies
Provision Node Updates:
Change Currency env var to SupportedCurrencies (string array)
Update config parsing to handle multiple currencies
Modify PSP registration to handle all supported currencies
OnahProsperity
changed the title
Support Multiple Currencies per Provider and Provision Node
[WIP] Support Multiple Currencies per Provider and Provision Node
Dec 19, 2024
User Story
As a provider, I want to support multiple currencies in my provision node to expand my service offering and handle payments in different fiat currencies.
Acceptance Criteria
GIVEN a user signs up as a provider,
WHEN they specify currencies,
THEN they should be able to select one or more supported currencies
GIVEN a provider profile exists,
WHEN querying provider rates,
THEN the rate should be specific to the requested currency
GIVEN a provision node is configured,
WHEN reading currency configuration,
THEN it should support multiple currencies from environment variables
GIVEN a provision node starts up,
WHEN registering with PSPs,
THEN it should register for all configured currencies
GIVEN a provider supports multiple currencies,
WHEN the priority queue selects providers,
THEN it should match providers based on supported currencies
Tech Details
Schema Changes:
API Changes:
Provision Node Updates:
Example Changes:
The text was updated successfully, but these errors were encountered: