Bold.Types.PaymentLinkRequest (Bold v0.1.0)

View Source

PaymentLink request struct.

Summary

Types

amount()

@type amount() :: %{
  currency: String.t(),
  taxes: [Bold.Types.Tax.t()],
  total_amount: float(),
  tip_amount: float()
}

t()

@type t() :: %Bold.Types.PaymentLinkRequest{
  amount: amount(),
  amount_type: :open | :close,
  callback_url: String.t(),
  description: String.t(),
  expiration_date: integer(),
  image_url: String.t(),
  payer_email: String.t(),
  payment_methods: [String.t()]
}