MerchantRegistration
POST http://localhost:8080/device/register
Request Body
{"deviceDetails"=>{"serialNumber"=>"P25222BV20903", "manufacturer"=>"sunmi"}, "requestToDevice"=>{"registrationRequest"=>{"merchantId"=>"MU5YTw6UEFpE3nJ58ZGiYpUy", "merchantName"=>"Smith & Associates Consulting", "address"=>{"line1"=>"1923 Lake Forest Rd", "line2"=>nil, "city"=>"Allen", "region"=>"TX", "postalCode"=>"75013", "country"=>"USA"}, "applicationId"=>"AP4izBPKWaZezygTdu3ofS4R", "mid"=>"8dcab04f-025f-4e6d-a2e4-c4f401ae23db", "deviceId"=>"DV7145Ynm98UV8ckgqBWne8F", "authEnabled"=>true, "saleEnabled"=>true, "refundEnabled"=>true, "authentication"=>{"userId"=>"USvVbYqKEKorsXFBJxZcGNJ6", "password"=>"1d2905e5-c63a-4180-a413-a1f5502afea5"}, "environment"=>"SB"}, "messageType"=>{"title"=>"REGISTRATION"}}}