Please review https://usebasejump.com/docs/billing#get-plans.
I maybe mistaken, but I think some of the Javascript examples are using the incorrect function name. For example:
const {data, error} = await supabase.functions.invoke('current_user_account_role', {
body: {
action: "get_plans",
args: {
account_id: "uuid"
}
}
});
current_user_account_role should be billing-functions.
Please review https://usebasejump.com/docs/billing#get-plans.
I maybe mistaken, but I think some of the Javascript examples are using the incorrect function name. For example:
current_user_account_roleshould bebilling-functions.