Paystack :dollar::dollar:
A library for working with Paystack in Elixir with out of the box support for telemetry events.
Comprehensive documentation available on HexDocs
Requirements
This package requires Elixir v1.12+
Installation
Add the following to your mix.exs file
{:paystack, "~> 0.6.0"}
Then run mix deps.get to pull in the package
Configuration
Add the following to your config.exs or runtime.exs file
config :paystack, secret_key: System.get_env("PAYSTACK_SECRET_KEY")
Your environment variable does not have to be PAYSTACK_SECRET_KEY, as the package only depends on the config key.
Testing
Run mix test
License
MIT
TODO
- Transactions
- Transaction Splits
- Customers
- Dedicated Virtual Accounts
- Apple Pay
- Sub Accounts
- Plans
- Subscriptions
- Products
- Payment Pages
- Invoices
- Settlements
- Transfer Recipients
- Transfers
- Transfer Control
- Bulk Charges
- Control Panel
- Charge
- Disputes
- Refunds
- Verification
- Miscellaneous