put PaymentMethods
PUT {{HostName}}/fof/config/v1/hotelPaymentMethods
Request Body
{"paymentMethods"=>[{"description"=>"VISA", "paymentCard"=>{"cardUsageRules"=>{"promptAtCheckin"=>false, "chipAndPin"=>true}, "validation"=>{"rule"=>"Mod10", "length"=>"13,16", "prefix"=>"4", "ranges"=>[{"from"=>"4000000000000", "to"=>"4905249999999"}, {"from"=>"4000000000000000", "to"=>"4905249999999999"}, {"from"=>"4905300000000", "to"=>"4910999999999"}]}, "option"=>{"requireIssueNumber"=>false, "requireStartDate"=>false, "either"=>false}, "cardType"=>"Va"}, "paymentMethodTransactionInfo"=>{"transactionCode"=>"90002"}, "paymentMethodUsage"=>{"reservation"=>true, "posting"=>false}, "creditLimit"=>{"creditLimit"=>{"amount"=>"0"}}, "hotelId"=>"{{HotelId}}", "paymentMethod"=>"VA", "calculatePoints"=>"Always", "inactive"=>false, "orderSequence"=>"11"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-hotelid | string | ||
Content-Type | string | ||
x-app-key | string |