@sumup/sdk
Version:
The official TypeScript SDK for the SumUp API
43 lines • 1.04 kB
TypeScript
/**
* ReaderCheckoutStatusChange
*
* The callback payload containing the status change of the Reader Checkout.
*/
export type ReaderCheckoutStatusChange = {
/**
* Type of event.
*/
event_type: string;
/**
* Unique identifier for the event.
*/
id: string;
/**
* The event payload.
*/
payload: {
/**
* The unique client transaction id. It is the same returned by the Checkout.
*/
client_transaction_id: string;
/**
* The merchant code associated with the transaction.
*/
merchant_code: string;
/**
* The current status of the transaction.
*/
status: "successful" | "failed";
/**
* The transaction id. Deprecated: use `client_transaction_id` instead.
*
* @deprecated
*/
transaction_id?: string;
};
/**
* Timestamp of the event.
*/
timestamp: string;
};
//# sourceMappingURL=reader-checkout-status-change.d.ts.map