Create Order
safefy_payment_create_orderCreate an order with items and payment method (PIX, credit card, or boleto) using Safefy's payment API.
Instructions
Cria pedido com itens e pagamento via /v1/orders.
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": {
"customerId": "<customerId>",
"items": "<items>",
"method": "<method>"
},
"name": "safefy_payment_create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| notes | No | ||
| method | Yes | ||
| metadata | No | ||
| couponCode | No | ||
| customerId | Yes | ||
| externalId | No | ||
| callbackUrl | No | ||
| description | No | ||
| boletoDueDate | No | ||
| shippingAmount | No | ||
| shippingAddress | No | ||
| expirationMinutes | No | ||
| boletoInstructions | No |