/v1/application_fees/{id}/refundRefund an application fee
Refunds an application fee that has previously been collected but not yet fully refunded. You can optionally refund only part of the fee and perform multiple partial refunds until the entire fee is refunded. Once entirely refunded, an application fee cannot be refunded again.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The unique identifier of the application fee to refund.
Refund parameters. All fields are optional.
A positive integer in cents representing how much of the fee to refund. If omitted, the entire remaining unrefunded amount is refunded.
An optional directive to control refund behavior.
Specifies which fields in the response should be expanded.
ID of the Stripe account this fee was taken from.
Amount earned, in cents (or local equivalent).
Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the fee if a partial refund was issued)
ID of the Connect application that earned the fee.
Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds).
ID of the charge that the application fee was taken from.
Time at which the object was created. Measured in seconds since the Unix epoch.
Three-letter ISO currency code, in lowercase. Must be a supported currency.
Polymorphic source of the application fee. Includes the ID of the object the application fee was created from.
Unique identifier for the object.
If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
String representing the object's type. Objects of the same type share the same value.
ID of the corresponding charge on the platform account, if this fee was the result of a charge using the destination parameter.
Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.
A list of refunds that have been applied to the fee.
id must identify an existing application fee. If amount is provided, it must be a positive integer in cents and cannot exceed the remaining unrefunded balance of the fee. Attempting to refund an already-fully-refunded fee or more than the remaining balance is rejected.