Create a crypto payment link
create_checkoutCreates a USD or EUR payment and returns a CigalPay checkout link so customers can pay in their chosen crypto; the rate is locked for 30 minutes up to 5,000 per payment.
Instructions
Create a payment priced in USD or EUR and return the CigalPay checkout link to send to the customer. The customer chooses the coin on the checkout page; the rate is locked for 30 minutes. Maximum 5,000 per 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>",
"currency": "<currency>",
"description": "<description>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Checkout language (default en) | |
| amount | Yes | Price in the currency, e.g. 49.9 | |
| currency | Yes | ||
| order_id | No | Your reference for this payment (generated if omitted) | |
| notify_url | No | Public HTTPS URL that receives signed payment notifications | |
| return_url | No | Where the customer goes after paying | |
| description | Yes | Shown to the customer, e.g. "Logo design - invoice 1042" | |
| fee_paid_by | No | Who pays the processing fee: 'customer' adds it to the price the customer pays. Omit to use the dashboard setting |