RefundResponse

Refund objects allow you to refund a previously created payment that isn't refunded yet. Funds are refunded to the credit or debit card that's initially charged.

  • Unique identifier for the refund.

  • Unix timestamp when refund was created.

  • When the transaction was last updated.

  • Three-letter ISO currency code

    Properties: 2
  • ID of the payment that's refunded.

    • ID of the payment that's refunded.

  • ID of the PaymentIntent that's refunded.

    • ID of the PaymentIntent that's refunded.

  • Status of the refund. This can be pending, requires_action, succeeded, failed, or canceled. Learn more about failed refunds.

  • Integer amount in minor units (e.g. cents) specific to the currency. Example: 100 for €1.00

  • Details about the destination account to which the refund was credited.

    Properties: 2
  • Provides the reason for the refund failure. Possible values are: lost_or_stolen_card, expired_or_canceled_card, charge_for_pending_refund_disputed, insufficient_funds, declined, merchant_request, or unknown.

  • Provides the reason for why the refund is pending. Possible values are: processing, insufficient_funds, or charge_pending.

  • Reason for the refund, which is either user-provided (duplicate, fraudulent, or requested_by_customer) or generated by Paypercut internally (expired_uncaptured_charge).

    values
    • duplicate
    • expired_uncaptured_charge
    • fraudulent
    • requested_by_customer