create_payment
Initiate a new MAIB e-commerce payment by specifying amount, currency, description, callback URL, and order ID.
Instructions
Create a new MAIB e-commerce payment.
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>",
"callback_url": "<callback_url>",
"order_id": "<order_id>"
},
"name": "create_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount | |
| currency | No | Currency code (MDL, USD, EUR) | MDL |
| description | Yes | Payment description | |
| callback_url | Yes | Callback URL for payment notifications | |
| order_id | Yes | Your unique order ID |