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

Provides capabilities to conduct payments, manage stored cards

Link to this section Summary

Functions

Link to this section Functions

Link to this function

approve_payment_transactions(body, options \\ [])

View Source
Link to this function

approve_payment_transactions!(body, options \\ [])

View Source

Bangified version of approve_payment_transactions/2

Link to this function

check_masterpass_user(body, options \\ [])

View Source
Link to this function

check_masterpass_user!(body, options \\ [])

View Source

Bangified version of check_masterpass_user/2

Link to this function

complete_3ds_deposit_payment(body, options \\ [])

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

complete_3ds_deposit_payment!(body, options \\ [])

View Source

Bangified version of complete_3ds_deposit_payment/2

Link to this function

complete_3ds_payment(body, options \\ [])

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

complete_3ds_payment!(body, options \\ [])

View Source

Bangified version of complete_3ds_payment/2

Link to this function

complete_apm_payment(body, options \\ [])

View Source
Link to this function

complete_apm_payment!(body, options \\ [])

View Source

Bangified version of complete_apm_payment/2

Link to this function

complete_pos_apm_payment(body, options \\ [])

View Source
Link to this function

complete_pos_apm_payment!(body, options \\ [])

View Source

Bangified version of complete_pos_apm_payment/2

Link to this function

create_apm_payment(body, options \\ [])

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

create_apm_payment!(body, options \\ [])

View Source

Bangified version of create_apm_payment/2

Link to this function

create_deposit_payment(body, options \\ [])

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

create_deposit_payment!(body, options \\ [])

View Source

Bangified version of create_deposit_payment/2

Link to this function

create_fund_transfer_deposit_payment(body, options \\ [])

View Source
Link to this function

create_fund_transfer_deposit_payment!(body, options \\ [])

View Source

Bangified version of create_fund_transfer_deposit_payment/2

Link to this function

create_payment(body, options \\ [])

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

create_payment!(body, options \\ [])

View Source

Bangified version of create_payment/2

Link to this function

delete_stored_card(body, options \\ [])

View Source
@spec delete_stored_card(
  Craftgate.Request.DeleteStoredCardRequest.t(),
  keyword()
) :: {:ok, :void} | {:error, any()}
Link to this function

delete_stored_card!(body, options \\ [])

View Source
@spec delete_stored_card!(
  Craftgate.Request.DeleteStoredCardRequest.t(),
  keyword()
) :: :void | no_return()

Bangified version of delete_stored_card/2

Link to this function

disapprove_payment_transactions(body, options \\ [])

View Source
Link to this function

disapprove_payment_transactions!(body, options \\ [])

View Source

Bangified version of disapprove_payment_transactions/2

Link to this function

expire_checkout_payment(token, options \\ [])

View Source
@spec expire_checkout_payment(
  String.t(),
  keyword()
) :: {:ok, :void} | {:error, any()}
Link to this function

expire_checkout_payment!(token, options \\ [])

View Source
@spec expire_checkout_payment!(
  String.t(),
  keyword()
) :: :void | no_return()

Bangified version of expire_checkout_payment/2

Link to this function

init_3ds_deposit_payment(body, options \\ [])

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

init_3ds_deposit_payment!(body, options \\ [])

View Source

Bangified version of init_3ds_deposit_payment/2

Link to this function

init_3ds_payment(body, options \\ [])

View Source
Link to this function

init_3ds_payment!(body, options \\ [])

View Source

Bangified version of init_3ds_payment/2

Link to this function

init_apm_deposit_payment(body, options \\ [])

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

init_apm_deposit_payment!(body, options \\ [])

View Source

Bangified version of init_apm_deposit_payment/2

Link to this function

init_apm_payment(body, options \\ [])

View Source
Link to this function

init_apm_payment!(body, options \\ [])

View Source

Bangified version of init_apm_payment/2

Link to this function

init_checkout_payment(body, options \\ [])

View Source
Link to this function

init_checkout_payment!(body, options \\ [])

View Source

Bangified version of init_checkout_payment/2

Link to this function

init_garanti_pay_payment(body, options \\ [])

View Source
Link to this function

init_garanti_pay_payment!(body, options \\ [])

View Source

Bangified version of init_garanti_pay_payment/2

Link to this function

init_pos_apm_payment(body, options \\ [])

View Source
Link to this function

init_pos_apm_payment!(body, options \\ [])

View Source

Bangified version of init_pos_apm_payment/2

Link to this function

is_3d_secure_callback_verified?(threed_secure_callback_key, params)

View Source
@spec is_3d_secure_callback_verified?(binary(), map()) :: boolean()
Link to this function

post_auth_payment(payment_id, body, options \\ [])

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

post_auth_payment!(payment_id, body, options \\ [])

View Source

Bangified version of post_auth_payment/3

Link to this function

refund_payment(body, options \\ [])

View Source
Link to this function

refund_payment!(body, options \\ [])

View Source

Bangified version of refund_payment/2

Link to this function

refund_payment_transaction(body, options \\ [])

View Source
Link to this function

refund_payment_transaction!(body, options \\ [])

View Source

Bangified version of refund_payment_transaction/2

Link to this function

retrieve_checkout_payment(token, options \\ [])

View Source
@spec retrieve_checkout_payment(
  String.t(),
  keyword()
) :: {:ok, Craftgate.Response.PaymentResponse.t()} | {:error, any()}
Link to this function

retrieve_checkout_payment!(token, options \\ [])

View Source
@spec retrieve_checkout_payment!(
  String.t(),
  keyword()
) :: Craftgate.Response.PaymentResponse.t() | no_return()

Bangified version of retrieve_checkout_payment/2

Link to this function

retrieve_loyalties(body, options \\ [])

View Source
Link to this function

retrieve_loyalties!(body, options \\ [])

View Source

Bangified version of retrieve_loyalties/2

Link to this function

retrieve_payment_transaction_refund(id, options \\ [])

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

retrieve_payment_transaction_refund!(id, options \\ [])

View Source
@spec retrieve_payment_transaction_refund!(
  integer(),
  keyword()
) :: Craftgate.Response.PaymentRefundResponse.t() | no_return()

Bangified version of retrieve_payment_transaction_refund/2

Link to this function

retrieve_refund(id, options \\ [])

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

retrieve_refund!(id, options \\ [])

View Source
@spec retrieve_refund!(
  integer(),
  keyword()
) :: Craftgate.Response.PaymentRefundResponse.t() | no_return()

Bangified version of retrieve_refund/2

Link to this function

search_stored_cards(params, options \\ [])

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

search_stored_cards!(params, options \\ [])

View Source

Bangified version of search_stored_cards/2

Link to this function

store_card(body, options \\ [])

View Source
Link to this function

store_card!(body, options \\ [])

View Source

Bangified version of store_card/2

Link to this function

update_card(body, options \\ [])

View Source
Link to this function

update_card!(body, options \\ [])

View Source

Bangified version of update_card/2

Link to this function

update_payment_transaction(body, options \\ [])

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

update_payment_transaction!(body, options \\ [])

View Source

Bangified version of update_payment_transaction/2