create_payment
Record a new payment for a work order in Shopmonkey by specifying order ID, amount in cents, payment method, and optional notes.
Instructions
Record a new payment in Shopmonkey.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orderId": "<orderId>",
"amountCents": "<amountCents>"
},
"name": "create_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Additional notes about the payment | |
| method | No | Payment method (e.g., cash, credit_card, check) | |
| orderId | Yes | Work order ID to apply the payment to | |
| amountCents | Yes | Payment amount in integer cents. Example: $150.50 = 15050. NEVER send a decimal value. |