ghl_payment_order_record_payment
Records a manual or offline payment against an order, updates its status to Paid, and does not process a live charge.
Instructions
Records a manual/offline payment against an order. Does not process a live charge. Record Order Payment The "Record Order Payment" API allows to record a payment for an order. Use this endpoint to record payment for an order and update the order status to "Paid". Endpoint: POST /payments/orders/{orderId}/record-payment (Version header: v3; source: v3/payments-v3.json) Requires a Sub-Account (location) token. OAuth scopes: payments/orders.collectPayment
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>",
"body": "<body>"
},
"name": "ghl_payment_order_record_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| orderId | Yes | Order ID |