Payload

@Serializable
data class Payload(val transactionId: String, val currency: String, val amount: Double, val payee: PaymentTransaction.Payee, val dateTime: Instant? = null, val pisp: PaymentTransaction.Pisp? = null, val executionDate: LocalDate? = null, val amountEstimated: Boolean? = null, val amountEarmarked: Boolean? = null, val sctInst: Boolean? = null, val tipRequested: Boolean? = null, val recurrence: PaymentTransaction.Recurrence? = null, val mitOptions: PaymentTransaction.MitOptions? = null)

The core detail schema of a payment transaction.

In the target JSON schema, these properties map to snake_case (e.g., transactionId maps to transaction_id).

Constructors

Link copied to clipboard
constructor(transactionId: String, currency: String, amount: Double, payee: PaymentTransaction.Payee, dateTime: Instant? = null, pisp: PaymentTransaction.Pisp? = null, executionDate: LocalDate? = null, amountEstimated: Boolean? = null, amountEarmarked: Boolean? = null, sctInst: Boolean? = null, tipRequested: Boolean? = null, recurrence: PaymentTransaction.Recurrence? = null, mitOptions: PaymentTransaction.MitOptions? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The numeric value of the transaction. Required.

Link copied to clipboard

Flag indicating if the funds are reserved/earmarked for this transaction (mapped to amount_earmarked).

Link copied to clipboard

Flag indicating if the amount is an estimate rather than the final total (mapped to amount_estimated).

Link copied to clipboard

ISO 4217 3-letter currency code matching the pattern ^[A-Z]{3}$. Required.

Link copied to clipboard

The exact point in time when the transaction was created (mapped to date_time). Expected in RFC 3339 date-time format (e.g., "2025-11-13T20:20:39+00:00").

Link copied to clipboard
val executionDate: LocalDate?

The planned execution date (mapped to execution_date). Mapped to date-time format in the JSON schema.

Link copied to clipboard

Optional Merchant Initiated Transaction options (MitOptions).

Link copied to clipboard

Details of the receiving entity (Payee). Required.

Link copied to clipboard

The Payment Initiation Service Provider (Pisp) assisting in the transaction, if applicable.

Link copied to clipboard

Optional Recurrence configuration specifying payment intervals for standing/recurring orders.

Link copied to clipboard

Flag indicating if the transaction uses SEPA Instant Credit Transfer (mapped to sct_inst).

Link copied to clipboard

(extension, not defined in the spec) Flag indicating that a tip can additionally be added by the payee.

Link copied to clipboard

Unique identifier for the transaction (mapped to transaction_id). Must be between 1 and 36 characters (typically a UUID). Required.

Functions

Link copied to clipboard
Link copied to clipboard