postPayment

Add a payment to a specified reservation, house account, or group. If multiple IDs are provided, precedence is reservationID, then houseAccountID, then groupCode.

Form Data
string | null

Property ID

string

Reservation identifier

string

House Account identifier is necessary if reservationID not sent

string

Group Code. Required if neither reservationID nor houseAccountID is sent

string | null

The Sub Reservation identifier. reservationID is still mandatory if subReservationID is sent.

string

Payment type. Use the call getPaymentMethods to get the properties enabled payment methods.

number

Amount paid on this transaction

string

If type = credit, cardType is necessary. Allowed values are property based, but possible strings are: "visa","master","amex","aura","diners","hiper","elo","Discover","jcb","maestro","dan","PostCard","Eurocard","union_pay"

string | null

Note to be added to payment

boolean | null

determine if this payment is a deposit (default: false)

Response

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json