PaymentInitiationData

constructor(currency: Currency, amount: Int, defaultCountryCode: String?, institutionData: InstitutionData?, paymentReference: String?, internalReference: String?, userAgent: String, payer: PayerData, transactionType: TransactionType)

Parameters

currency

Currency Currency in which the payment should be made, in ISO 4217 format (3 uppercase letters).

amount

Int The amount of the transaction in fractional unit (pence, cents etc).

defaultCountryCode

String Default country code (ISO 3166 alpha-2 format) for institution selection.

institutionData

InstitutionData Selected institution, if null then institution selection screen will be shown before payment.

paymentReference

String Unique reference for the payment from the partner's system. Reference must contain only alphanumeric characters. If value is not provided, it will be generated by Volt.

internalReference

String Identifier of the transaction in the partner's system. This field can contain up to 100 characters, including special ones. Despite field being optional, we recommend to set this value.

userAgent

String User agent used by the payer to call the endpoint. Should be formatted as "AppName: {appName}, AppVersion {appVersion}, DeviceModel: {deviceModel}, OSVersion: {oSVersion}"

payer

PayerData Information about the payer

transactionType

TransactionType The transaction type.