ordercloud.payments.create
Create a payment for an order by specifying the order ID, payment direction, and payment details such as amount and type.
Instructions
Create a new payment for an order
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>",
"direction": "<direction>",
"payment": "<payment>"
},
"name": "ordercloud.payments.create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order ID | |
| payment | Yes | Payment object to create | |
| direction | Yes | Order direction |