@sumup/sdk
Version:
The official TypeScript SDK for the SumUp API
34 lines • 991 B
text/typescript
import type { Currency } from "./currency";
import type { PaymentType } from "./payment-type";
import type { TransactionStatus } from "./transaction-status";
/**
* Transaction Base
*
* Details of the transaction.
*/
export type TransactionBase = {
/**
* Unique ID of the transaction.
*/
id?: string;
/**
* Transaction code returned by the acquirer/processing entity after processing the transaction.
*/
transaction_code?: string;
/**
* Total amount of the transaction.
*/
amount?: number;
currency?: Currency;
/**
* Date and time of the creation of the transaction. Response format expressed according to [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) code.
*/
timestamp?: string;
status?: TransactionStatus;
payment_type?: PaymentType;
/**
* Current number of the installment for deferred payments.
*/
installments_count?: number;
};
//# sourceMappingURL=transaction-base.d.cts.map