ibanity v0.6.0 Ibanity.Xs2a.CustomerAccessToken

Customer access token API wrapper

Link to this section Summary

Link to this section Functions

Link to this function

create(request)

Requests a customer access token

Example

iex> [application_customer_reference: "12345"]
...> |> Request.attributes
...> |> CustomerAccessToken.create
{:ok,
  %Ibanity.CustomerAccessToken{
    id: "9211c5a6-9201-45a3-a8f8-30d705613190",
    token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."
  }
}