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: objectrequired
Three-letter ISO currency code
- isoType: stringrequired
Three-letter ISO currency code
- scaleType: integerrequired
Number of decimal places for this currency
- payment
ID of the payment that's refunded.
- Type: string · PaymentIdmax length:100
ID of the payment that's refunded.
- payment
_intent ID of the PaymentIntent that's refunded.
- Type: string · 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: integerFormat: int64required
Integer amount in minor units (e.g. cents) specific to the currency. Example: 100 for €1.00
- destinationType: object
_details Details about the destination account to which the refund was credited.
- typeType: stringmax length:5000required
The type of transaction-specific details of the payment method used in the refund (e.g.,
card). An additional hash is included ondestination_detailswith a name matching this value. It contains information specific to the refund transaction. - cardType: object
Card details for 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: stringenum
_reason Provides the reason for why the refund is pending. Possible values are:
processing,insufficient_funds, orcharge_pending.values- charge
_pending - insufficient
_funds - processing
- 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

