post Payment Methods
POST {{HostName}}/fof/config/v1/hotelPaymentMethods
The transaction code used in the request body for this operation must not be a transaction code associated with any other existing Payment Method. It also must be a payment type transaction code.
Request Body
{"paymentMethods"=>[{"description"=>"Cash Test", "paymentCard"=>{"validation"=>{"rule"=>"Novalid"}}, "paymentMethodTransactionInfo"=>{"transactionCode"=>"9000"}, "paymentMethodUsage"=>{"reservation"=>true}, "hotelId"=>"{{HotelId}}", "paymentMethod"=>"CASHH", "calculatePoints"=>"Never", "orderSequence"=>"101"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-hotelid | string | ||
Content-Type | string | ||
x-app-key | string |