Attributes
- idstring
Unique identifier for the object.
- amountinteger
Amount, in cents.
- chargenullable stringExpandable
ID of the charge that’s refunded.
- currencyenum
Three-letter ISO currency code, in lowercase. Must be a supported currency.
- descriptionnullable string
An arbitrary string attached to the object. You can use this for displaying to users (available on non-card refunds only).
- metadatanullable object
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- payment_
intentnullable stringExpandable ID of the PaymentIntent that’s refunded.
- reasonnullable enum
Reason for the refund, which is either user-provided (
duplicate,fraudulent, orrequested_) or generated by Stripe internally (by_ customer expired_).uncaptured_ charge - statusnullable string
Status of the refund. This can be
pending,requires_,action succeeded,failed, orcanceled. Learn more about failed refunds.
More attributes
- objectstring
String representing the object’s type. Objects of the same type share the same value.
- balance_
transactionnullable stringExpandable Balance transaction that describes the impact on your account balance.
- createdtimestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
- destination_
detailsnullable object Transaction-specific details for the refund.
- destination_details.
affirmnullable object If this is a
affirmrefund, this hash contains the transaction specific details of theaffirmrefund method. - destination_details.
afterpay_ clearpaynullable object If this is a
afterpay_refund, this hash contains the transaction specific details of theclearpay afterpay_refund method.clearpay - destination_details.
alipaynullable object If this is a
alipayrefund, this hash contains the transaction specific details of thealipayrefund method. - destination_details.
almanullable object If this is a
almarefund, this hash contains the transaction specific details of thealmarefund method. - destination_details.
amazon_ paynullable object If this is a
amazon_refund, this hash contains the transaction specific details of thepay amazon_refund method.pay - destination_details.
au_ bank_ transfernullable object If this is a
au_refund, this hash contains the transaction specific details of thebank_ transfer au_refund method.bank_ transfer - destination_details.
bliknullable objectPreview feature If this is a
blikrefund, this hash contains the transaction specific details of theblikrefund method.- destination_details.
blik. referencenullable string The reference assigned to the refund.
- destination_details.
blik. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
br_ bank_ transfernullable object If this is a
br_refund, this hash contains the transaction specific details of thebank_ transfer br_refund method.bank_ transfer - destination_details.
br_bank_transfer. referencenullable string The reference assigned to the refund.
- destination_details.
br_bank_transfer. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
cardnullable object If this is a
cardrefund, this hash contains the transaction specific details of thecardrefund method.- destination_details.
card. referencenullable string Value of the reference number assigned to the refund.
- destination_details.
card. reference_ statusnullable string Status of the reference number on the refund. This can be
pending,availableorunavailable. - destination_details.
card. reference_ typenullable string Type of the reference number assigned to the refund.
- destination_details.
card. typeenum The type of refund. This can be
refund,reversal, orpending.Possible enum valuespendingThe refund is still processing and its type is not confirmed yet.
refundThe refund will show as a credit entry on the bank statement.
reversalThe refund goes through as a reversal. The original charge will drop off the bank statement altogether.
- destination_details.
cashappnullable object If this is a
cashapprefund, this hash contains the transaction specific details of thecashapprefund method. - destination_details.
customer_ cash_ balancenullable object If this is a
customer_refund, this hash contains the transaction specific details of thecash_ balance customer_refund method.cash_ balance - destination_details.
epsnullable object If this is a
epsrefund, this hash contains the transaction specific details of theepsrefund method. - destination_details.
eu_ bank_ transfernullable object If this is a
eu_refund, this hash contains the transaction specific details of thebank_ transfer eu_refund method.bank_ transfer - destination_details.
eu_bank_transfer. referencenullable string The reference assigned to the refund.
- destination_details.
eu_bank_transfer. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
gb_ bank_ transfernullable object If this is a
gb_refund, this hash contains the transaction specific details of thebank_ transfer gb_refund method.bank_ transfer - destination_details.
gb_bank_transfer. referencenullable string The reference assigned to the refund.
- destination_details.
gb_bank_transfer. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
giropaynullable object If this is a
giropayrefund, this hash contains the transaction specific details of thegiropayrefund method. - destination_details.
grabpaynullable object If this is a
grabpayrefund, this hash contains the transaction specific details of thegrabpayrefund method. - destination_details.
jp_ bank_ transfernullable object If this is a
jp_refund, this hash contains the transaction specific details of thebank_ transfer jp_refund method.bank_ transfer - destination_details.
jp_bank_transfer. referencenullable string The reference assigned to the refund.
- destination_details.
jp_bank_transfer. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
klarnanullable object If this is a
klarnarefund, this hash contains the transaction specific details of theklarnarefund method. - destination_details.
multibanconullable object If this is a
multibancorefund, this hash contains the transaction specific details of themultibancorefund method.- destination_details.
multibanco. referencenullable string The reference assigned to the refund.
- destination_details.
multibanco. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
mx_ bank_ transfernullable object If this is a
mx_refund, this hash contains the transaction specific details of thebank_ transfer mx_refund method.bank_ transfer - destination_details.
mx_bank_transfer. referencenullable string The reference assigned to the refund.
- destination_details.
mx_bank_transfer. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
nz_ bank_ transfernullable objectPreview feature If this is a
nz_refund, this hash contains the transaction specific details of thebank_ transfer nz_refund method.bank_ transfer - destination_details.
p24nullable object If this is a
p24refund, this hash contains the transaction specific details of thep24refund method.- destination_details.
p24. referencenullable string The reference assigned to the refund.
- destination_details.
p24. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
paynownullable object If this is a
paynowrefund, this hash contains the transaction specific details of thepaynowrefund method. - destination_details.
paypalnullable object If this is a
paypalrefund, this hash contains the transaction specific details of thepaypalrefund method. - destination_details.
pixnullable objectPreview feature If this is a
pixrefund, this hash contains the transaction specific details of thepixrefund method. - destination_details.
revolutnullable object If this is a
revolutrefund, this hash contains the transaction specific details of therevolutrefund method. - destination_details.
sofortnullable object If this is a
sofortrefund, this hash contains the transaction specific details of thesofortrefund method. - destination_details.
swishnullable object If this is a
swishrefund, this hash contains the transaction specific details of theswishrefund method.- destination_details.
swish. referencenullable string The reference assigned to the refund.
- destination_details.
swish. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
th_ bank_ transfernullable object If this is a
th_refund, this hash contains the transaction specific details of thebank_ transfer th_refund method.bank_ transfer - destination_details.
th_bank_transfer. referencenullable string The reference assigned to the refund.
- destination_details.
th_bank_transfer. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
typestring The type of transaction-specific details of the payment method used in the refund (e.g.,
card). An additional hash is included ondestination_with a name matching this value. It contains information specific to the refund transaction.details - destination_details.
us_ bank_ transfernullable object If this is a
us_refund, this hash contains the transaction specific details of thebank_ transfer us_refund method.bank_ transfer - destination_details.
us_bank_transfer. referencenullable string The reference assigned to the refund.
- destination_details.
us_bank_transfer. reference_ statusnullable string Status of the reference on the refund. This can be
pending,availableorunavailable.
- destination_details.
wechat_ paynullable object If this is a
wechat_refund, this hash contains the transaction specific details of thepay wechat_refund method.pay - destination_details.
zipnullable object If this is a
ziprefund, this hash contains the transaction specific details of theziprefund method.
- failure_
balance_ transactionnullable stringExpandable After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.
- failure_
reasonnullable string 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_, orrequest unknown. - instructions_
emailnullable string For payment methods without native refund support (for example, Konbini, PromptPay), provide an email address for the customer to receive refund instructions.
- next_
actionnullable object If the refund has a status of
requires_, this property describes what the refund needs to continue processing.action - next_action.
display_ detailsnullable object Contains the refund details.
- next_action.
display_details. email_ sentobject Contains information about the email sent to the customer.
- next_action.
display_details. email_sent. email_ sent_ attimestamp The timestamp when the email was sent.
- next_action.
display_details. email_sent. email_ sent_ tostring The recipient’s email address.
- next_action.
display_details. expires_ attimestamp The expiry timestamp.
- next_action.
typestring Type of the next action to perform.
- receipt_
numbernullable string This is the transaction number that appears on email receipts sent for this refund.
- source_
transfer_ reversalnullable stringExpandableConnect only The transfer reversal that’s associated with the refund. Only present if the charge came from another Stripe account.
- transfer_
reversalnullable stringExpandableConnect only This refers to the transfer reversal object if the accompanying transfer reverses. This is only applicable if the charge was created using the destination parameter.
{ "id": "re_1Nispe2eZvKYlo2Cd31jOCgZ", "object": "refund", "amount": 1000, "balance_transaction": "txn_1Nispe2eZvKYlo2CYezqFhEx", "charge": "ch_1NirD82eZvKYlo2CIvbtLWuY", "created": 1692942318, "currency": "usd", "destination_details": { "card": { "reference": "123456789012", "reference_status": "available", "reference_type": "acquirer_reference_number", "type": "refund" }, "type": "card" }, "metadata": {}, "payment_intent": "pi_1GszsK2eZvKYlo2CfhZyoZLp", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null}