An Elixir library to make payments in PagarMe.
- Create Card
- Make Payment using credit card
If available in Hex, the package can be installed as:
def deps do
[{:pagarmex, "~> 0.1.0"}]
enddef application do
[applications: [:pagarmex]]
enduse Mix.Config
config :pagarmex, api_key: System.get_env("PAGARME_API_KEY")
# optional
# endpoint: 'https://api.pagar.me/1'Access http://hexdocs.pm/pagarmex to full documentation.
Getting your PAGARME_API_KEY in ( https://dashboard.pagar.me/#/myaccount/apikeys ) and adding to .env file, :
echo "PAGARME_API_KEY=value" >> .envrun tests
make test- Fork it ( https://github.com/gullitmiranda/pagarmex/fork )
- Create your feature branch (git checkout -b feature/new_feature_name)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin feature/new_feature_name)
- Create a new Pull Request
- Adding more docs
- Adding more resources