{"action":"created","issue":{"url":"https://api.github.com/repos/sorentwo/braintree-elixir/issues/48","repository_url":"https://api.github.com/repos/sorentwo/braintree-elixir","labels_url":"https://api.github.com/repos/sorentwo/braintree-elixir/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/sorentwo/braintree-elixir/issues/48/comments","events_url":"https://api.github.com/repos/sorentwo/braintree-elixir/issues/48/events","html_url":"https://github.com/sorentwo/braintree-elixir/issues/48","id":308949486,"number":48,"title":"Setting the merchant account id on individual transactions","user":{"login":"marcelotto","id":376888,"avatar_url":"https://avatars1.githubusercontent.com/u/376888?v=4","gravatar_id":"","url":"https://api.github.com/users/marcelotto","html_url":"https://github.com/marcelotto","followers_url":"https://api.github.com/users/marcelotto/followers","following_url":"https://api.github.com/users/marcelotto/following{/other_user}","gists_url":"https://api.github.com/users/marcelotto/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelotto/subscriptions","organizations_url":"https://api.github.com/users/marcelotto/orgs","repos_url":"https://api.github.com/users/marcelotto/repos","events_url":"https://api.github.com/users/marcelotto/events{/privacy}","received_events_url":"https://api.github.com/users/marcelotto/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-27T12:34:12Z","updated_at":"2018-03-29T08:44:25Z","closed_at":"2018-03-29T08:44:25Z","author_association":"NONE","body":"In our setup, we have multiple merchant account ids for different currencies, which seems to be a general practice with Braintree for [multi-currency support](https://articles.braintreepayments.com/get-started/currencies#multi-currency-setups). If I see it right, this Braintree client doesn't support the [specification of the merchant account id per transaction](https://developers.braintreepayments.com/reference/request/transaction/sale/ruby#merchant_account_id) currently, but only one merchant account id via global configuration. Am I right? If so, how hard would it be to support that and would you be willing to accept a pull request for that?"},"comment":{"url":"https://api.github.com/repos/sorentwo/braintree-elixir/issues/comments/377166403","html_url":"https://github.com/sorentwo/braintree-elixir/issues/48#issuecomment-377166403","issue_url":"https://api.github.com/repos/sorentwo/braintree-elixir/issues/48","id":377166403,"user":{"login":"marcelotto","id":376888,"avatar_url":"https://avatars1.githubusercontent.com/u/376888?v=4","gravatar_id":"","url":"https://api.github.com/users/marcelotto","html_url":"https://github.com/marcelotto","followers_url":"https://api.github.com/users/marcelotto/followers","following_url":"https://api.github.com/users/marcelotto/following{/other_user}","gists_url":"https://api.github.com/users/marcelotto/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelotto/subscriptions","organizations_url":"https://api.github.com/users/marcelotto/orgs","repos_url":"https://api.github.com/users/marcelotto/repos","events_url":"https://api.github.com/users/marcelotto/events{/privacy}","received_events_url":"https://api.github.com/users/marcelotto/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T08:44:25Z","updated_at":"2018-03-29T08:44:25Z","author_association":"NONE","body":"Yes, that worked. The merchant account id can be set on a transaction like this\r\n\r\n```elixir\r\nBraintree.Transaction.sale(%{..., merchant_account_id: \"...\"})\r\n```\r\nThanks for your help and the quick response.\r\n"}}
{"actor":{"display_login":"marcelotto"}}