The Refund object ​
Attributes ​
id(string) Unique identifier for the object.object(string) String representing the object’s type. Objects of the same type share the same value.amount(integer) Amount, in the smallest currency unit.balance_transaction(string, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) Balance transaction that describes the impact on your account balance.charge(string, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) ID of the charge that’s refunded.created(timestamp) Time at which the object was created. Measured in seconds since the Unix epoch.currency(enum) Three-letter ISO currency code, in lowercase. Must be a supported currency.description(string, nullable) An arbitrary string attached to the object. You can use this for displaying to users (available on non-card refunds only).destination_details(object, nullable) Transaction-specific details for the refund.destination_details.affirm(object, nullable) If this is aaffirmrefund, this hash contains the transaction specific details of theaffirmrefund method.destination_details.afterpay_clearpay(object, nullable) If this is aafterpay_clearpayrefund, this hash contains the transaction specific details of theafterpay_clearpayrefund method.destination_details.alipay(object, nullable) If this is aalipayrefund, this hash contains the transaction specific details of thealipayrefund method.destination_details.alma(object, nullable) If this is aalmarefund, this hash contains the transaction specific details of thealmarefund method.destination_details.amazon_pay(object, nullable) If this is aamazon_payrefund, this hash contains the transaction specific details of theamazon_payrefund method.destination_details.au_bank_transfer(object, nullable) If this is aau_bank_transferrefund, this hash contains the transaction specific details of theau_bank_transferrefund method.destination_details.blik(object, nullable) If this is ablikrefund, this hash contains the transaction specific details of theblikrefund method.destination_details.blik.network_decline_code(string, nullable) For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.destination_details.blik.reference(string, nullable) The reference assigned to the refund.destination_details.blik.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.br_bank_transfer(object, nullable) If this is abr_bank_transferrefund, this hash contains the transaction specific details of thebr_bank_transferrefund method.destination_details.br_bank_transfer.reference(string, nullable) The reference assigned to the refund.destination_details.br_bank_transfer.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.card(object, nullable) If this is acardrefund, this hash contains the transaction specific details of thecardrefund method.destination_details.card.reference(string, nullable) Value of the reference number assigned to the refund.destination_details.card.reference_status(string, nullable) Status of the reference number on the refund. This can bepending,availableorunavailable.destination_details.card.reference_type(string, nullable) Type of the reference number assigned to the refund.destination_details.card.type(enum) The type of refund. This can berefund,reversal, orpending. Possible enum values:pendingThe 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.cashapp(object, nullable) If this is acashapprefund, this hash contains the transaction specific details of thecashapprefund method.destination_details.crypto(object, nullable) If this is acryptorefund, this hash contains the transaction specific details of thecryptorefund method.destination_details.crypto.reference(string, nullable) The transaction hash of the refund.
destination_details.customer_cash_balance(object, nullable) If this is acustomer_cash_balancerefund, this hash contains the transaction specific details of thecustomer_cash_balancerefund method.destination_details.eps(object, nullable) If this is aepsrefund, this hash contains the transaction specific details of theepsrefund method.destination_details.eu_bank_transfer(object, nullable) If this is aeu_bank_transferrefund, this hash contains the transaction specific details of theeu_bank_transferrefund method.destination_details.eu_bank_transfer.reference(string, nullable) The reference assigned to the refund.destination_details.eu_bank_transfer.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.gb_bank_transfer(object, nullable) If this is agb_bank_transferrefund, this hash contains the transaction specific details of thegb_bank_transferrefund method.destination_details.gb_bank_transfer.reference(string, nullable) The reference assigned to the refund.destination_details.gb_bank_transfer.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.giropay(object, nullable) If this is agiropayrefund, this hash contains the transaction specific details of thegiropayrefund method.destination_details.grabpay(object, nullable) If this is agrabpayrefund, this hash contains the transaction specific details of thegrabpayrefund method.destination_details.jp_bank_transfer(object, nullable) If this is ajp_bank_transferrefund, this hash contains the transaction specific details of thejp_bank_transferrefund method.destination_details.jp_bank_transfer.reference(string, nullable) The reference assigned to the refund.destination_details.jp_bank_transfer.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.klarna(object, nullable) If this is aklarnarefund, this hash contains the transaction specific details of theklarnarefund method.destination_details.mb_way(object, nullable) If this is amb_wayrefund, this hash contains the transaction specific details of themb_wayrefund method.destination_details.mb_way.reference(string, nullable) The reference assigned to the refund.destination_details.mb_way.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.multibanco(object, nullable) If this is amultibancorefund, this hash contains the transaction specific details of themultibancorefund method.destination_details.multibanco.reference(string, nullable) The reference assigned to the refund.destination_details.multibanco.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.mx_bank_transfer(object, nullable) If this is amx_bank_transferrefund, this hash contains the transaction specific details of themx_bank_transferrefund method.destination_details.mx_bank_transfer.reference(string, nullable) The reference assigned to the refund.destination_details.mx_bank_transfer.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.nz_bank_transfer(object, nullable) If this is anz_bank_transferrefund, this hash contains the transaction specific details of thenz_bank_transferrefund method.destination_details.p24(object, nullable) If this is ap24refund, this hash contains the transaction specific details of thep24refund method.destination_details.p24.reference(string, nullable) The reference assigned to the refund.destination_details.p24.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.paynow(object, nullable) If this is apaynowrefund, this hash contains the transaction specific details of thepaynowrefund method.destination_details.paypal(object, nullable) If this is apaypalrefund, this hash contains the transaction specific details of thepaypalrefund method.destination_details.paypal.network_decline_code(string, nullable) For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
destination_details.pix(object, nullable) If this is apixrefund, this hash contains the transaction specific details of thepixrefund method.destination_details.revolut(object, nullable) If this is arevolutrefund, this hash contains the transaction specific details of therevolutrefund method.destination_details.sofort(object, nullable) If this is asofortrefund, this hash contains the transaction specific details of thesofortrefund method.destination_details.swish(object, nullable) If this is aswishrefund, this hash contains the transaction specific details of theswishrefund method.destination_details.swish.network_decline_code(string, nullable) For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.destination_details.swish.reference(string, nullable) The reference assigned to the refund.destination_details.swish.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.th_bank_transfer(object, nullable) If this is ath_bank_transferrefund, this hash contains the transaction specific details of theth_bank_transferrefund method.destination_details.th_bank_transfer.reference(string, nullable) The reference assigned to the refund.destination_details.th_bank_transfer.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.twint(object, nullable) If this is atwintrefund, this hash contains the transaction specific details of thetwintrefund method.destination_details.type(string) 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.destination_details.us_bank_transfer(object, nullable) If this is aus_bank_transferrefund, this hash contains the transaction specific details of theus_bank_transferrefund method.destination_details.us_bank_transfer.reference(string, nullable) The reference assigned to the refund.destination_details.us_bank_transfer.reference_status(string, nullable) Status of the reference on the refund. This can bepending,availableorunavailable.
destination_details.wechat_pay(object, nullable) If this is awechat_payrefund, this hash contains the transaction specific details of thewechat_payrefund method.destination_details.zip(object, nullable) If this is aziprefund, this hash contains the transaction specific details of theziprefund method.
failure_balance_transaction(string, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.failure_reason(string, nullable) 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, orunknown.instructions_email(string, nullable) For payment methods without native refund support (for example, Konbini, PromptPay), provide an email address for the customer to receive refund instructions.metadata(object, nullable) 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.next_action(object, nullable) If the refund has a status ofrequires_action, this property describes what the refund needs to continue processing.next_action.display_details(object, nullable) Contains the refund details.next_action.display_details.email_sent(object) Contains information about the email sent to the customer.next_action.display_details.email_sent.email_sent_at(timestamp) The timestamp when the email was sent.next_action.display_details.email_sent.email_sent_to(string) The recipient’s email address.
next_action.display_details.expires_at(timestamp) The expiry timestamp.
next_action.type(string) Type of the next action to perform.
payment_intent(string, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) ID of the PaymentIntent that’s refunded.pending_reason(enum, nullable) Provides the reason for why the refund is pending. Possible values are:processing,insufficient_funds, orcharge_pending.reason(enum, nullable) Reason for the refund, which is either user-provided (duplicate,fraudulent, orrequested_by_customer) or generated by Stripe internally (expired_uncaptured_charge).receipt_number(string, nullable) This is the transaction number that appears on email receipts sent for this refund.source_transfer_reversal(string, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) The transfer reversal that’s associated with the refund. Only present if the charge came from another Stripe account.status(string, nullable) Status of the refund. This can bepending,requires_action,succeeded,failed, orcanceled. Learn more about failed refunds.transfer_reversal(string, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) 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.
The Refund object ​
json
{
"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
}