Skip to main content
Version: Lab (preview)

Payor Info

The PayorInfo class contains information about the person making the payment.

Properties​

PropertyTypeDescription
first_nameString?First name of the payor
last_nameString?Last name of the payor
emailString?Email address of the payor
phoneString?Phone number of the payor
addressAddress?Personal address of the payor

Example​

val payorInfo = PayorInfo(
first_name = "John",
last_name = "Doe",
email = "john.doe@example.com",
phone = "1234567890",
address = Address(
line1 = "123 Main St",
city = "Columbus",
region = "OH",
postal_code = "43215",
country = "USA"
)
)

Usage Notes​

  • All fields are optional and can be null
  • Used in both payment and tokenization requests
  • Can be stored with payment tokens for future reference
  • Useful for receipt delivery and payment tracking