# PayNow - register & lookup ### Register (Gary) ``` msg_id, instruction_id = Fast::Paynow::Utils::generate_id_map.values_at(:msg_id, :instruction_id) request = Fast::Paynow::Requests::SendRegistrationRequest.new( msg_id: msg_id, credit_time: Fast::Utils.iso_datetime, bicfi: Fast::Utils.constants[:XFERS_BIC], fin_instruction_bicfi: Fast::Utils.constants[:XFERS_BIC], registration_type: "NEWR", # new regis proxy_type: "VPA", # vpa proxy_val: "UEN201411660R#FAZZ", # vpa val account_other_id: "1000000000", # account number account_name: "Sean Ho", # account name display_name: "Sean", # nickname acc_holder_type: :org, account_holder_organisation: Fast::Paynow::Messages::RegOrgTag.new( account_org_name: "FAZZ Financial Group", org_registration_date: "2016-05-18", account_proprietary_id: "BIZS", account_proprietary_issuer: "MEP", ), account_individual_person: nil, pre_authorised: "true", ) res = request.fire! request.message ``` ### LOOKUP (Gary) ``` lookup_order = Fast::Paynow::Orders::LookupOrder.create!( proxy_retrieval_type: "VPA", proxy_retrieval_val: "UEN201411660RXFR#FAZZ", ) ```