@sumup/sdk
Version:
The official TypeScript SDK for the SumUp API
38 lines • 1.14 kB
text/typescript
import type { CardType } from "./card-type";
import type { TransactionBase } from "./transaction-base";
import type { TransactionID } from "./transaction-id";
import type { TransactionMixinHistory } from "./transaction-mixin-history";
/**
* Transaction History
*
* Transaction entry returned in history listing responses.
*/
export type TransactionHistory = TransactionBase & TransactionMixinHistory & {
transaction_id?: TransactionID;
/**
* Client-specific ID of the transaction.
*/
client_transaction_id?: string;
/**
* Email address of the registered user (merchant) to whom the payment is made.
*/
user?: string;
/**
* Type of the transaction for the registered user specified in the `user` property.
*/
type?: "PAYMENT" | "REFUND" | "CHARGE_BACK";
card_type?: CardType;
/**
* Payout date (if paid out at once).
*/
payout_date?: string;
/**
* Payout type.
*/
payout_type?: "BANK_ACCOUNT" | "PREPAID_CARD";
/**
* Total refunded amount.
*/
refunded_amount?: number;
};
//# sourceMappingURL=transaction-history.d.cts.map