PayObject

fun PayObject(@Json(name = idid: String, @Json(name = transactiontransaction: String, @Json(name = sender_holdersenderHolder: String? = null, @Json(name = sender_ibansenderIban: String? = null, @Json(name = sender_bicsenderBic: String? = null, @Json(name = sender_bank_namesenderBankName: String? = null, @Json(name = sender_country_idsenderCountryId: CountryId? = null, @Json(name = recipient_holderrecipientHolder: String? = null, @Json(name = recipient_ibanrecipientIban: String? = null, @Json(name = recipient_bicrecipientBic: String? = null, @Json(name = recipient_bank_namerecipientBankName: String? = null, @Json(name = recipient_country_idrecipientCountryId: CountryId? = null, @Json(name = purposepurpose: String, @Json(name = amountamount: Float, @Json(name = currency_idcurrencyId: CurrencyId? = null, @Json(name = testmodetestmode: Boolean, @Json(name = payment_statuspaymentStatus: PaymentStatus, @Json(name = metadatametadata: Map<String, Any>? = null, @Json(name = merchant_idmerchantId: String? = null, @Json(name = objectobject: String)

Parameters

id

Transaction id

transaction

Internal XS2A transaction id. This id will be the same for the whole transaction

senderHolder

Account holder of the sender account

senderIban

IBAN of the sender account

senderBic

BIC of the sender account

senderBankName

Name of the sender bank

senderCountryId

Two letter country code id, e.g. AT, CH, DE or the sender account

recipientHolder

Account holder of the recipient account

recipientIban

IBAN of the recipient account

recipientBic

BIC of the recipient account

recipientBankName

Name of the recipient bank

recipientCountryId

Two letter country code id, e.g. AT, CH, DE or the recipient account

purpose

Purpose of transfer

amount

Amount to transfer

currencyId

Currency id of amount, e.g. 'EUR'

testmode

Indicates whether or not it is a test transaction

paymentStatus

Payment status of the transaction, values NONE, RECEIVED, LOSS

metadata

Custom data will be returned unchanged. If no data was submitted, this field will be null

merchantId

Data will be returned unchanged

object Object type, in this case a xs2a_payment