addPayment
Add a payment to a customer's bill in the Mews MCP server by specifying the customer ID, payment amount, and method. Integrates with the Mews hospitality platform for financial transactions.
Instructions
Adds a new payment to a customer's bill
Input Schema
Name | Required | Description | Default |
---|---|---|---|
Amount | Yes | Payment amount object | |
BillId | No | Specific bill ID to apply payment to | |
ConsumedUtc | No | Payment consumption date/time (ISO 8601) | |
CustomerId | Yes | Customer ID for the payment | |
Notes | No | Payment notes | |
PaymentMethodId | Yes | Payment method identifier |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"Amount": {
"description": "Payment amount object",
"properties": {
"Currency": {
"description": "Payment currency code",
"type": "string"
},
"Value": {
"description": "Payment amount value",
"type": "number"
}
},
"required": [
"Currency",
"Value"
],
"type": "object"
},
"BillId": {
"description": "Specific bill ID to apply payment to",
"type": "string"
},
"ConsumedUtc": {
"description": "Payment consumption date/time (ISO 8601)",
"type": "string"
},
"CustomerId": {
"description": "Customer ID for the payment",
"type": "string"
},
"Notes": {
"description": "Payment notes",
"type": "string"
},
"PaymentMethodId": {
"description": "Payment method identifier",
"type": "string"
}
},
"required": [
"CustomerId",
"Amount",
"PaymentMethodId"
],
"type": "object"
}