View Source ExXendit

License Version CI

Docs

ExXendit is an elixir sdk for Xendit.

Installation

Put this in your mix.exs and run mix deps.get.

def deps do
  [
    {:ex_xendit, "~> 0.1"}
  ]
end

Usage

Before you use, you need to have credentials in Xendit. Check guide here.

Once done, add your credentials inside your configs.

config :ex_xendit,
  base_url: "https://api.xendit.co",
  secret_key: "REPLACE WITH YOUR SECRET KEY",
  public_key: "REPLACE WITH YOUR PUBLIC KEY"

Developers

To contribute to this project:

  • Fork this project and clone in your machine
  • Copy config.secret.backup.exs to config.secret.exs then set your credentials
  • Look for new updates at Xendit API Docs
  • Follow code pattern

Before you submit pull request:

  • Run mix coveralls. Be sure coverage is at 100%
  • Run mix credo. Be sure everything is clean.
  • Run mix dialyzer. Be sure everything is good.

License

Copyright (c) 2023 Noel Del Castillo

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.