Create a direct payment
create_paymentCreates a payment from a preview_payment quote and returns deposit_address (and deposit_memo when the network needs one) and the exact amount the payer must send before expires_at.
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": {
"credit_lock_id": "<credit_lock_id>"
},
"name": "create_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| external_id | No | Your own reference (order id); unique per account. | |
| credit_lock_id | Yes | credit_lock_id from preview_payment. | |
| idempotency_key | No | Optional. The same key returns the same result instead of a duplicate (safe retries); generated when omitted. |