Attributes
- idstring
Unique identifier for the object.
- accountstringExpandable
ID of the Stripe account this fee was taken from.
- amountinteger
Amount earned, in cents.
- amount_
refundedinteger Amount in cents refunded (can be less than the amount attribute on the fee if a partial refund was issued)
- chargestringExpandable
ID of the charge that the application fee was taken from.
- currencyenum
Three-letter ISO currency code, in lowercase. Must be a supported currency.
- refundedboolean
Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.
More attributes
- objectstring
String representing the object’s type. Objects of the same type share the same value.
- applicationstringExpandable
ID of the Connect application that earned the fee.
- balance_
transactionnullable stringExpandable Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds).
- createdtimestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
- fee_
sourcenullable object Polymorphic source of the application fee. Includes the ID of the object the application fee was created from.
- fee_source.
chargenullable string Charge ID that created this application fee.
- fee_source.
payoutnullable string Payout ID that created this application fee.
- fee_source.
typeenum Type of object that created the application fee.
Possible enum valuescharge
charge
objects are used to accept payments.payout
payout
objects are used to pay funds to an external account.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - originating_
transactionnullable stringExpandable ID of the corresponding charge on the platform account, if this fee was the result of a charge using the
destination
parameter. - refundsobject
A list of refunds that have been applied to the fee.
- refunds.
objectstring String representing the object’s type. Objects of the same type share the same value. Always has the value
list
. - refunds.
dataarray of objects Details about each object.
- refunds.
data. idstring Unique identifier for the object.
- refunds.
data. objectstring String representing the object’s type. Objects of the same type share the same value.
- refunds.
data. amountinteger Amount, in cents.
- refunds.
data. balance_ transactionnullable stringExpandable Balance transaction that describes the impact on your account balance.
- refunds.
data. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- refunds.
data. currencyenum Three-letter ISO currency code, in lowercase. Must be a supported currency.
- refunds.
data. feestringExpandable ID of the application fee that was refunded.
- refunds.
data. 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.
- refunds.
has_ moreboolean True if this list has another page of items after this one that can be fetched.
- refunds.
urlstring The URL where this list can be accessed.
{ "id": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "object": "application_fee", "account": "acct_164wxjKbnvuxQXGu", "amount": 105, "amount_refunded": 105, "application": "ca_32D88BD1qLklliziD7gYQvctJIhWBSQ7", "balance_transaction": "txn_1032HU2eZvKYlo2CEPtcnUvl", "charge": "ch_1B73DOKbnvuxQXGurbwPqzsu", "created": 1506609734, "currency": "gbp", "livemode": false, "originating_transaction": null, "refunded": true, "refunds": { "object": "list", "data": [ { "id": "fr_1MBoV6KbnvuxQXGucP0PaPPO", "object": "fee_refund", "amount": 0, "balance_transaction": null, "created": 1670284508, "currency": "usd", "fee": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "metadata": {} }, { "id": "fr_1MBoU0KbnvuxQXGu2wCCz4Bb", "object": "fee_refund", "amount": 0, "balance_transaction": null, "created": 1670284441, "currency": "usd", "fee": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "metadata": {} }, { "id": "fr_1MBoRzKbnvuxQXGuvKkBKkSR", "object": "fee_refund", "amount": 0, "balance_transaction": null, "created": 1670284315, "currency": "usd", "fee": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "metadata": {} }, { "id": "fr_1MBoPOKbnvuxQXGueOBnke22", "object": "fee_refund", "amount": 0, "balance_transaction": null, "created": 1670284154, "currency": "usd", "fee": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "metadata": {} }, { "id": "fr_1MBoOGKbnvuxQXGu6EPQI2Zp", "object": "fee_refund", "amount": 0, "balance_transaction": null, "created": 1670284084, "currency": "usd", "fee": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "metadata": {} }, { "id": "fr_1MBoMUKbnvuxQXGu8Y0Peaoy", "object": "fee_refund", "amount": 0, "balance_transaction": null, "created": 1670283974, "currency": "usd", "fee": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "metadata": {} }, { "id": "fr_1MAgZBKbnvuxQXGuLTUrgGeq", "object": "fee_refund", "amount": 0, "balance_transaction": null, "created": 1670015681, "currency": "usd", "fee": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "metadata": {} }, { "id": "fr_1JAu9EKbnvuxQXGuRdZYkxVW", "object": "fee_refund", "amount": 0, "balance_transaction": null, "created": 1625738880, "currency": "usd", "fee": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "metadata": { "order_id": "6735" } }, { "id": "fr_1HZK0UKbnvuxQXGuS428gH0W", "object": "fee_refund", "amount": 0, "balance_transaction": null, "created": 1602005482, "currency": "usd", "fee": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "metadata": {} }, { "id": "fr_D0s7fGBKB40Twy", "object": "fee_refund", "amount": 138, "balance_transaction": "txn_1CaqNg2eZvKYlo2C75cA3Euk", "created": 1528486576, "currency": "usd", "fee": "fee_1B73DOKbnvuxQXGuhY8Aw0TN", "metadata": {} } ], "has_more": false, "url": "/v1/application_fees/fee_1B73DOKbnvuxQXGuhY8Aw0TN/refunds" }, "fee_source": { "charge": "ch_1B73DOKbnvuxQXGurbwPqzsu", "type": "charge" }}