Securion v0.4.0 Securion.Charge View Source

CRUD operations for transactions.

Change represents payment made with a credit or a debit card.

Corresponding docs for the original REST APIs.

Prelude to the examples

iex> customer_id = Securion.Customer.create("foo@example.com")

iex> token_id = Securion.Token.create()

Link to this section Summary

Link to this section Functions

Link to this function

create(customer_id, token_id)

View Source

Creates a new card object.

Examples

Link to this function

create_with_default_card(customer_id, amount, currency, params)

View Source

https://securionpay.com/docs/api#card-retrieve Retrieves an existing card object.

Examples

iex> Securion.Card.create(customer_id, token_id)
Link to this function

list(customer_id, params)

View Source