expresspayments
Version:
ExpressPayments API wrapper
58 lines (49 loc) • 2.06 kB
TypeScript
// File generated from our OpenAPI spec
declare module 'expresspayments' {
namespace ExpressPayments {
/**
* `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 ExpressPayments account from which the fee was originally collected.
*
* Related guide: [Refunding application fees](https://docs.epayments.network/connect/destination-charges#refunding-app-fee)
*/
interface FeeRefund {
/**
* Unique identifier for the object.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'fee_refund';
/**
* Amount, in %s.
*/
amount: number;
/**
* Balance transaction that describes the impact on your account balance.
*/
balance_transaction:
| string
| ExpressPayments.BalanceTransaction
| null;
/**
* Time at which the object was created. Measured in seconds since the Unix epoch.
*/
created: number;
/**
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://docs.epayments.network/currencies).
*/
currency: string;
/**
* ID of the application fee that was refunded.
*/
fee: string | ExpressPayments.ApplicationFee;
/**
* Set of [key-value pairs](https://docs.epayments.network/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
*/
metadata: ExpressPayments.Metadata | null;
}
}
}