Skip to Content
Paycose Docs
Application fees

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

  • idstringRequired

    Unique identifier for the object.

  • objectstringRequired

    String naming the object's type.

  • livemodebooleanRequired

    true when the object exists in live mode, false in test mode.

  • createdtimestampRequired

    Time the object was created, in Unix seconds.

  • amountintegerRequired

    Amount refunded, in the currency's smallest unit (for example 49900 = 499.00 THB).

  • currencystringRequired

    Three-letter ISO 4217 currency code, in lowercase.

  • feestringRequired

    ID of the application fee that was refunded.

  • balance_transactionstringRequiredNullable

    ID of the balance transaction that records the refund; null when none was posted.

  • metadataobjectRequired

    Key-value pairs you attach to the object for your own use. Paycose never reads or changes them.