Skip to content

Stripe: Application fees schemas

4 Stripe schemas with complete fields and constraints.

← Application fees operations · All schemas

Create an application fee refund — response body

FieldTypePresenceDescription and constraints
$objectRoot`Application Fee Refund` objects allow you to refund an application fee that
has previously been created but not yet refunded. Funds will be refunded to
the Stripe account from which the fee was originally collected.

Related guide: [Refunding application fees](https://docs.stripe.com/connect/destination-charges#refunding-app-fee)
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeAmount, in cents (or local equivalent).
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
balance_transactionJSONOptional
balance_transaction (anyOf 1)JSONAlternativeBalance transaction that describes the impact on your account balance.
balance_transaction (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
balance_transaction (anyOf 1) (anyOf 2)ModelAlternativeExpand Retrieve a balance transaction — balance get Balance History Id — response body
balance_transaction (anyOf 2)nullAlternative
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
currencystringRequired within parentThree-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).
Format: currency
feeJSONRequired within parentID of the application fee that was refunded.
fee (anyOf 1)stringAlternativeMaximum length: 5000
fee (anyOf 2)ModelAlternativeExpand Post Application Fees Id Refund — response body
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
metadataJSONOptional
metadata (anyOf 1)objectAlternativeSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata (anyOf 1).*stringAdditional keysMaximum length: 500
metadata (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: fee_refund

Referenced models: Post Application Fees Id Refund — response body, Retrieve a balance transaction — balance get Balance History Id — response body

Post Application Fees Id Refund — response body

FieldTypePresenceDescription and constraints
$objectRoot
accountJSONRequired within parentID of the Stripe account this fee was taken from.
account (anyOf 1)stringAlternativeMaximum length: 5000
account (anyOf 2)ModelAlternativeExpand Create an account — response body
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeAmount earned, in cents (or local equivalent).
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_refundedJSONRequired within parent
amount_refunded (anyOf 1)integerAlternativeAmount in cents (or local equivalent) refunded (can be less than the amount attribute on the fee if a partial refund was issued)
amount_refunded (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
applicationJSONRequired within parentID of the Connect application that earned the fee.
application (anyOf 1)stringAlternativeMaximum length: 5000
application (anyOf 2)ModelAlternativeExpand PostApplicationFeesIdRefund — response body — application / object: application
balance_transactionJSONOptional
balance_transaction (anyOf 1)JSONAlternativeBalance transaction that describes the impact of this collected application fee on your account balance (not including refunds).
balance_transaction (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
balance_transaction (anyOf 1) (anyOf 2)ModelAlternativeExpand Retrieve a balance transaction — balance get Balance History Id — response body
balance_transaction (anyOf 2)nullAlternative
chargeJSONRequired within parentID of the charge that the application fee was taken from.
charge (anyOf 1)stringAlternativeMaximum length: 5000
charge (anyOf 2)ModelAlternativeExpand Create a charge — response body
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
currencystringRequired within parentThree-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).
Format: currency
fee_sourceJSONOptional
fee_source (anyOf 1)JSONAlternativePolymorphic source of the application fee. Includes the ID of the object the application fee was created from.
fee_source (anyOf 1) (anyOf 1)ModelAlternativeExpand PostApplicationFeesIdRefund — response body — fee_source / value / type: charge, payout
fee_source (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: application_fee
originating_transactionJSONOptional
originating_transaction (anyOf 1)JSONAlternativeID of the corresponding charge on the platform account, if this fee was the result of a charge using the `destination` parameter.
originating_transaction (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
originating_transaction (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a charge — response body
originating_transaction (anyOf 2)nullAlternative
refundedbooleanRequired within parentWhether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.
refundsobjectRequired within parentA list of refunds that have been applied to the fee.
refunds.dataarrayRequired within parentDetails about each object.
refunds.data[]ModelEach itemExpand Create an application fee refund — response body
refunds.has_morebooleanRequired within parentTrue if this list has another page of items after this one that can be fetched.
refunds.objectstringRequired within parentString representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Known values: list
refunds.urlstringRequired within parentThe URL where this list can be accessed.
Maximum length: 5000

Referenced models: Create an account — response body, PostApplicationFeesIdRefund — response body — application / object: application, Retrieve a balance transaction — balance get Balance History Id — response body, Create a charge — response body, Create an application fee refund — response body, PostApplicationFeesIdRefund — response body — fee_source / value / type: charge, payout

PostApplicationFeesIdRefund — response body — application / object: application

FieldTypePresenceDescription and constraints
$objectRoot
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the application.
Maximum length: 5000
name (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: application

PostApplicationFeesIdRefund — response body — fee_source / value / type: charge, payout

FieldTypePresenceDescription and constraints
$objectRoot
chargestringOptionalCharge ID that created this application fee.
Maximum length: 5000
payoutstringOptionalPayout ID that created this application fee.
Maximum length: 5000
typestringRequired within parentType of object that created the application fee.
Known values: charge, payout

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.