@sumup/sdk
Version:
The official TypeScript SDK for the SumUp API
40 lines • 937 B
TypeScript
import type { EventID } from "./event-id";
import type { EventStatus } from "./event-status";
import type { EventType } from "./event-type";
import type { TransactionID } from "./transaction-id";
/**
* Event
*
* High-level transaction event details.
*/
export type Event = {
id?: EventID;
transaction_id?: TransactionID;
type?: EventType;
status?: EventStatus;
/**
* Amount of the event.
*/
amount?: number;
/**
* Date and time of the transaction event.
*/
timestamp?: string;
/**
* Amount of the fee related to the event.
*/
fee_amount?: number;
/**
* Consecutive number of the installment.
*/
installment_number?: number;
/**
* Amount deducted for the event.
*/
deducted_amount?: number;
/**
* Amount of the fee deducted for the event.
*/
deducted_fee_amount?: number;
};
//# sourceMappingURL=event.d.ts.map