{
component = {
jid = "component.localhost",
secret = "secret"
},
server = {
host = "localhost",
port = 5347
},
sgx = "component2.localhost",
creds = toMap {
nick = "userid",
username = "token",
password = "secret"
},
braintree = {
environment = "sandbox",
merchant_id = "",
public_key = "",
private_key = "",
merchant_accounts = {
USD = "",
CAD = ""
}
},
plans = ./plans.dhall
credit_card_url = \(jid: Text) -> \(customer_id: Text) ->
"https://pay.jmp.chat/${jid}/credit_cards?customer_id=${customer_id}"
}