SwedbankpayCheckout.Client.Psp.PaymentOrders.Common.TransactionRequest (swedbankpay_checkout v0.2.2) View Source

Link to this section Summary

Types

t()

.transaction

Link to this section Types

Specs

t() :: %SwedbankpayCheckout.Client.Psp.PaymentOrders.Common.TransactionRequest{
  amount: integer(),
  description: String.t(),
  order_items: [
    SwedbankpayCheckout.Client.Psp.PaymentOrders.Common.OrderItem.t()
  ],
  payee_reference: String.t(),
  receipt_reference: String.t() | nil,
  vat_amount: integer()
}

.transaction

:payee_reference must be unique for the whole merchant account :receipt_reference must be unique for the whole merchant account (or nil)

See https://developer.swedbankpay.com/checkout/after-payment