View Source Craftgate.Adapter.SettlementAdapter (Craftgate v1.0.42)

Provides capabilities to initiate settlement operations like creating instant wallet settlements

Link to this section Summary

Link to this section Functions

Link to this function

create_instant_wallet_settlement(body, options \\ [])

View Source
@spec create_instant_wallet_settlement(
  Craftgate.Request.CreateInstantWalletSettlementRequest.t(),
  keyword()
) :: {:ok, Craftgate.Response.SettlementResponse.t()} | {:error, any()}
Link to this function

create_instant_wallet_settlement!(body, options \\ [])

View Source

Bangified version of create_instant_wallet_settlement/2

Link to this function

create_payout_account(body, options \\ [])

View Source
@spec create_payout_account(
  Craftgate.Request.CreatePayoutAccountRequest.t(),
  keyword()
) :: {:ok, Craftgate.Response.PayoutAccountResponse.t()} | {:error, any()}
Link to this function

create_payout_account!(body, options \\ [])

View Source

Bangified version of create_payout_account/2

Link to this function

delete_payout_account(id, options \\ [])

View Source
@spec delete_payout_account(
  integer(),
  keyword()
) :: {:ok, :void} | {:error, any()}
Link to this function

delete_payout_account!(id, options \\ [])

View Source
@spec delete_payout_account!(
  integer(),
  keyword()
) :: :void | no_return()

Bangified version of delete_payout_account/2

Link to this function

search_payout_accounts(params, options \\ [])

View Source
@spec search_payout_accounts(
  Craftgate.Request.SearchPayoutAccountRequest.t(),
  keyword()
) :: {:ok, Craftgate.Response.PayoutAccountListResponse.t()} | {:error, any()}
Link to this function

search_payout_accounts!(params, options \\ [])

View Source

Bangified version of search_payout_accounts/2

Link to this function

update_payout_account(id, body, options \\ [])

View Source
@spec update_payout_account(
  integer(),
  Craftgate.Request.UpdatePayoutAccountRequest.t(),
  keyword()
) ::
  {:ok, Craftgate.Response.PayoutAccountResponse.t()} | {:error, any()}
Link to this function

update_payout_account!(id, body, options \\ [])

View Source

Bangified version of update_payout_account/3