Add acquiring payment (get payment URL)
add_acquiring_paymentAdd a payment to an existing acquiring session and receive a payment URL to send to the customer. Use the same session ID to add multiple payments.
Instructions
Add a payment to an existing acquiring session. Returns the payment URL to send to the customer, plus the session and transaction ids. Call again with the same session_id to add more payments.
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": {
"session_id": "<session_id>",
"amount": "<amount>",
"use_hold": "<use_hold>"
},
"name": "add_acquiring_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount in UAH, e.g. 250.5 | |
| delivery | No | Delivery details object (Nova Poshta fields) | |
| products | No | Order lines shown to the payer | |
| use_hold | Yes | true — hold (block) the funds for a later capture via complete_hold; false — charge immediately. This is a required business decision: if the user has not said whether to hold or charge right away, ASK THEM before calling this tool. | |
| identifier | No | Recipient identifier (split payments) | |
| session_id | Yes | Session id returned by the create_*_session tool | |
| external_id | No | Merchant-side payment id, echoed in status/postbacks |