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.
- idType: stringrequired
Unique identifier for the refund.
- createdType: stringFormat: date-timerequired
Unix timestamp when refund was created.
- updatedType: stringFormat: date-time
When the transaction was last updated.
- currencyType: CurrencyrequiredProperties: 2
Three-letter ISO currency code
- payment
ID of the payment that's refunded.
- Type: PaymentIdmax length:100
ID of the payment that's refunded.
- payment
_intent ID of the PaymentIntent that's refunded.
- Type: IntentIdmax length:100
ID of the PaymentIntent that's refunded.
- statusType: string | nullmax length:100
Status of the refund. This can be
pending,requires_action,succeeded,failed, orcanceled. Learn more about failed refunds. - amountType: amountWithCurrencyPrecisionFormat: int64required
Integer amount in minor units (e.g. cents) specific to the currency. Example: 100 for €1.00
- destinationType: RefundDestinationDetails
_details Properties: 2Details about the destination account to which the refund was credited.
- failureType: string
_reason max length:5000Provides 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, orunknown. - pendingType: "charge_pending" or "insufficient_funds" or "processing"enum
_reason Provides the reason for why the refund is pending. Possible values are:
processing,insufficient_funds, orcharge_pending. - reasonType: string | nullenum
Reason for the refund, which is either user-provided (
duplicate,fraudulent, orrequested_by_customer) or generated by Paypercut internally (expired_uncaptured_charge).values- duplicate
- expired
_uncaptured _charge - fraudulent
- requested
_by _customer

