SyncteraRubySdk::PatchCustomer

Properties

Name Type Description Notes
ban_status BanStatus [optional]
dob Date Customer's date of birth in RFC 3339 full-date format (YYYY-MM-DD) [optional]
email String Customer's email [optional]
first_name String Customer's first name [optional]
last_name String Customer's last name [optional]
legal_address LegalAddress [optional]
metadata Object User-supplied JSON format metadata. Do not use to store PII. [optional]
middle_name String Customer's middle name [optional]
note String Add an optional note when creating or updating a customer. A note is required when updating a customers's ban_status between SUSPENDED and ALLOWED. [optional]
phone_number String Customer's mobile phone number with country code in E.164 format. Must have a valid country code. Area code and local phone number are not validated. [optional]
shipping_address ShippingAddress [optional]
ssn String Customer's full tax ID eg SSN formatted with hyphens. This optional parameter is required when running KYC on a customer. Must be compiled with ^\d3-\d2-\d4$. Response contains the last 4 digits only (e.g. 6789). [optional]
status String Customer's status [optional]

Example

require 'synctera_ruby_sdk'

instance = SyncteraRubySdk::PatchCustomer.new(
  ban_status: null,
  dob: Sat Jan 01 02:00:00 EET 2000,
  email: alice@example.com,
  first_name: Jane,
  last_name: Smith,
  legal_address: null,
  metadata: null,
  middle_name: Anne,
  note: null,
  phone_number: +14374570680,
  shipping_address: null,
  ssn: 123-45-6789,
  status: null
)