Paypal.Payment.Refund (Paypal v0.1.1)

View Source

Payment refund information. The information retrieved from Paypal about the refund.

Fields

  • id - The unique ID for the capture.
  • status - The status of the capture (e.g. "COMPLETED").
  • status_details - The details of the capture status.
  • invoice_id - The API caller-provided external invoice number for this order.
  • custom_id - The API caller-provided external ID.
  • payer - An embedded schema representing the payer.
  • create_time - The date and time when the capture was created (ISO 8601 string).
  • update_time - The date and time when the capture was last updated (ISO 8601 string).
  • amount - An embedded schema representing the monetary amount of the capture.
  • acquirer_reference_number - Reference ID issued for the card transaction.
  • note_to_payer - The reason for the refund.
  • seller_protection - An embedded schema containing details about seller protection.
  • seller_payable_breakdown - An embedded schema that details the seller_payable_breakdown.
  • links - A list of embedded link objects for further API actions.

Summary

Types

t()

@type t() :: %Paypal.Payment.Refund{
  acquirer_reference_number: String.t() | nil,
  amount: Paypal.Common.CurrencyValue.t() | nil,
  create_time: String.t() | nil,
  custom_id: String.t() | nil,
  id: String.t() | nil,
  invoice_id: String.t() | nil,
  links: [Paypal.Common.Link.t()],
  note_to_payer: String.t() | nil,
  payer: Paypal.Order.Payer.t() | nil,
  seller_payable_breakdown: map() | nil,
  seller_protection: map() | nil,
  status: any() | nil,
  status_details: String.t() | nil,
  update_time: String.t() | nil
}