class CorePro::Customer
Customer
endpoint resource
Public Instance Methods
onboard(kyc_vendor)
click to toggle source
Performs a customer KYC/onboarding
See: docs.corepro.io/reference#4-run-kyc-on-the-customer
@return [Customer] instance
# File lib/core_pro.rb, line 125 def onboard(kyc_vendor) onboard_uri = self.class.uri(:onboard, kyc_vendor, :all) self.class.objectify( self.class.request( :post, onboard_uri, json: { customerId: customerId } ) ) end