Create Pix charge
pix_create_chargeCreate a Pix charge and get the copia e cola code to send to the payer. Confirm the payment status separately before telling the payer it is paid.
Instructions
Create a Pix charge (money IN) and get the Pix 'copia e cola' code to send to the payer. Use pix_check_charge to learn when it is paid. Do not tell the payer it is paid until pix_check_charge says status 'paid'.
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": {
"amount": "<amount>",
"description": "<description>"
},
"name": "pix_create_charge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in reais (BRL), at most 2 decimals. Examples: 49.9, "49,90", "1.234,56". | |
| description | Yes | What the payer is paying for. Shown in the owner's records. | |
| idempotencyKey | No | Unique key for this operation. Reuse the SAME key when retrying after a timeout or error so it is never done twice. | |
| includeQrImage | No | Also return a base64 PNG QR code when the provider supplies one. | |
| expiresInMinutes | No | Default 60. |