Interest product configuration for embedded banking savings accounts.
Configure which interest product applies to a savings account, and retrieve available products to display rates to your customers.
Examples
{:ok, products} = ClearBank.EmbeddedBanking.Interest.list_products(client)
{:ok, _} = ClearBank.EmbeddedBanking.Interest.configure(client, "savings-acct-uuid", %{
product_id: "prod-uuid"
})
Summary
Functions
Configures an interest product for a savings account.
Returns all available interest products configured for your institution.
Functions
@spec configure(ClearBank.Client.t(), String.t(), map()) :: ClearBank.HTTP.result()
Configures an interest product for a savings account.
Required params
:product_id- UUID of the interest product to apply
@spec list_products(ClearBank.Client.t()) :: ClearBank.HTTP.result()
Returns all available interest products configured for your institution.