PayerData

constructor(reference: String, firstName: String?, lastName: String?, organisationName: String?, email: String?, phoneNumber: String?)

Parameters

reference

String Your unique reference for the payer, e.g. customer ID or email address. It can feature a combination of letters and numbers, along with an optional single @ symbol and a curated selection of special characters like !$#%^&*.-_. Please, note that special characters are not permitted at the end of the reference value, and the @ symbol is only allowed in the middle of the reference value.

firstName

String First name. This field is required when PayerData.lastName is provided.

lastName

String Last name. This field is required when PayerData.firstName is provided.

organisationName

String Organisation name. This field is required when PayerData.firstName and PayerData.lastName are not provided.

email

String Email address.

phoneNumber

String Phone number, in E.164 format.