ExStoneOpenbank v0.1.2 ExStoneOpenbank.API.Payments View Source

Payments calls

Link to this section Summary

Functions

Dry run the payment of a barcode.

Link to this section Functions

Link to this function

dry_run_pay_barcode(config_name, input)

View Source
dry_run_pay_barcode(config_name :: atom(), input :: map()) ::
  {:ok, ExStoneOpenbank.API.Model.BarcodePaymentResponse.t()}
  | {:error, reason :: atom()}

Dry run the payment of a barcode.

This is needed in order to understand the details of the payment and show it up front to users.

Link to this function

pay_barcode(config_name, input)

View Source
pay_barcode(config_name :: atom(), input :: map()) ::
  {:ok, ExStoneOpenbank.API.Model.BarcodePaymentResponse.t()}
  | {:error, reason :: atom()}

Pay a barcode.