v3

latestOpenAPI 3.0.42026-07-312008682.1 MB
Commands

Add payment command

Restricted!

This operation is part of a custom workflow for Mews partners such as POS systems to access Mews Payment Terminals. See Mews Payment Terminals.

Adds a new Mews Payment Terminal command for taking a customer payment. The operation instructs a specified terminal device to take a payment from a specified customer for a specified amount.

post/api/connector/v1/commands/addPaymentTerminal

Request body

ClientTokenstring required

Token identifying the client application.

AccessTokenstring required

Access token of the client application.

Clientstring required

Name and version of the client application.

TerminalIdstring uuid required

Unique identifier of the payment terminal.

CustomerIdstring uuid required

Unique identifier of the Customer.

Type'Payment' | 'Preauthorization' required

Payment

Preauthorization

BillIdstring uuid nullable

Unique identifier of the Bill.

PaymentRequestIdstring uuid nullable

Unique identifier of the PaymentRequest.

ReservationIdstring uuid nullable

Unique identifier of the Reservation.

Response

OK

CommandIdstring uuid required

Unique identifier of the created Command.