View Source ExPaystack (ex_paystack v1.0.0)

Documentation for ExPaystack.

Link to this section Summary

Link to this section Functions

Link to this function

charge_authorization(params)

View Source
Link to this function

check_authorization(params)

View Source
Link to this function

export_transactions(params \\ %{})

View Source

Specs

fetch_transaction(any()) ::
  {:error, any()}
  | {:ok,
     %{
       :body =>
         false
         | nil
         | true
         | binary()
         | [
             false
             | nil
             | true
             | binary()
             | list()
             | number()
             | {any(), any(), any()}
             | map()
           ]
         | number()
         | %{
             optional(atom() | binary() | {any(), any(), any()}) =>
               false
               | nil
               | true
               | binary()
               | list()
               | number()
               | {any(), any(), any()}
               | map()
           },
       :status_code => any(),
       optional(any()) => any()
     }}
Link to this function

list_transactions(url_params \\ %{})

View Source

List transactions.

examples

Examples

iex> ExPaystack.list_transactions()
Link to this function

partial_debit(params \\ %{})

View Source
Link to this function

total_transactions(params \\ %{})

View Source
Link to this function

verify_payment(reference)

View Source