/** * Generic options for creating a payment session. These values map * directly to your backend API. Additional properties (such as * reference identifiers or metadata) can be added later. */ export interface PaymentSessionOptions { /** * Amount to charge in minor currency units (e.g. cents). */ amount: number; /** ISO 4217 currency code (e.g. "USD", "EUR"). */ currency: string; /** Identifier of the customer on the merchant side. */ customerId: string; /** Optional reference or order identifier provided by the merchant. */ reference?: string; /** Optional metadata key–value pairs. */ metadata?: Record; } /** * Response returned from creating a payment session. The provider * determines which payment provider should be used and any * configuration necessary for the client to initialise it. */ export interface PaymentSessionResponse { /** Unique session identifier assigned by the orchestrator. */ sessionId: string; /** Provider chosen for this session (e.g. "FINIX", "STRIPE", "ADYEN"). */ provider: string; /** Provider specific configuration data (e.g. public keys). */ providerConfig: Record; } /** * Response returned from confirming a payment after the card has been * tokenised. Contains the orchestrator's own transaction UUID as well as * provider agnostic status information. */ export interface ConfirmPaymentResponse { transactionUuid: string; status: string; amount: number; currency: string; provider: string; /** Optional provider specific reference or details. */ providerReference?: string; /** Optional message describing errors or additional context. */ message?: string; } //# sourceMappingURL=types.d.ts.map