# application\_fee

From **Stripe API**.

- Type: `object`

## Properties

### `account`

- Required: true
ID of the Stripe account this fee was taken from.

### `amount`

- Required: true
- Type: `integer`

Amount earned, in %s.

### `amount_refunded`

- Required: true
- Type: `integer`

Amount in %s refunded (can be less than the amount attribute on the fee if a partial refund was issued)

### `application`

- Required: true
ID of the Connect application that earned the fee.

### `balance_transaction`

- Required: false
- Nullable: true

Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds).

### `charge`

- Required: true
ID of the charge that the application fee was taken from.

### `created`

- Required: true
- Type: `integer`
- Format: `unix-time`

Time at which the object was created. Measured in seconds since the Unix epoch.

### `currency`

- Required: true
- Type: `string`

Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).

### `id`

- Required: true
- Type: `string`
- maxLength: `5000`

Unique identifier for the object.

### `livemode`

- Required: true
- Type: `boolean`

Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.

### `object`

- Required: true
- Type: `string`
- Allowed values: `"application_fee"`

String representing the object's type. Objects of the same type share the same value.

### `originating_transaction`

- Required: false
- Nullable: true

ID of the corresponding charge on the platform account, if this fee was the result of a charge using the `destination` parameter.

### `refunded`

- Required: true
- Type: `boolean`

Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.

### `refunds`

- Required: true
- Type: `object`

A list of refunds that have been applied to the fee.

## JSON Schema

```json
{"properties":{"account":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"description":"ID of the Stripe account this fee was taken from.","x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"amount":{"description":"Amount earned, in %s.","type":"integer"},"amount_refunded":{"description":"Amount in %s refunded (can be less than the amount attribute on the fee if a partial refund was issued)","type":"integer"},"application":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"}],"description":"ID of the Connect application that earned the fee.","x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"}]}},"balance_transaction":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"description":"Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds).","nullable":true,"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"charge":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"description":"ID of the charge that the application fee was taken from.","x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"created":{"description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time","type":"integer"},"currency":{"description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).","type":"string"},"id":{"description":"Unique identifier for the object.","maxLength":5000,"type":"string"},"livemode":{"description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.","type":"boolean"},"object":{"description":"String representing the object's type. Objects of the same type share the same value.","enum":["application_fee"],"type":"string"},"originating_transaction":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"description":"ID of the corresponding charge on the platform account, if this fee was the result of a charge using the `destination` parameter.","nullable":true,"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"refunded":{"description":"Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.","type":"boolean"},"refunds":{"description":"A list of refunds that have been applied to the fee.","properties":{"data":{"description":"Details about each object.","items":{"$ref":"#/components/schemas/fee_refund"},"type":"array"},"has_more":{"description":"True if this list has another page of items after this one that can be fetched.","type":"boolean"},"object":{"description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"],"type":"string"},"url":{"description":"The URL where this list can be accessed.","maxLength":5000,"type":"string"}},"required":["data","has_more","object","url"],"title":"FeeRefundList","type":"object","x-expandableFields":["data"]}},"required":["account","amount","amount_refunded","application","charge","created","currency","id","livemode","object","refunded","refunds"],"title":"PlatformFee","type":"object","x-expandableFields":["account","application","balance_transaction","charge","originating_transaction","refunds"],"x-resourceId":"application_fee"}
```
