Application fees
The fee_refund object
A fee refund returns part of an application fee to the connected account it was taken from. No money moves; the refunded amount is added to what you owe the connected account. Paycose also creates one when a charge refund returns its application fee or a charge is voided.
Attributes
idstringRequiredUnique identifier for the object.
objectstringRequiredString naming the object's type.
livemodebooleanRequiredtruewhen the object exists in live mode,falsein test mode.createdtimestampRequiredTime the object was created, in Unix seconds.
amountintegerRequiredAmount refunded, in the currency's smallest unit (for example 49900 = 499.00 THB).
currencystringRequiredThree-letter ISO 4217 currency code, in lowercase.
feestringRequiredID of the application fee that was refunded.
balance_transactionstringRequiredNullableID of the balance transaction that records the refund;
nullwhen none was posted.metadataobjectRequiredKey-value pairs you attach to the object for your own use. Paycose never reads or changes them.