Add checkout payment (get payment URL)
add_checkout_paymentAdd a payment to an existing checkout session by specifying session ID, amount in UAH, and hold or charge decision. Returns the checkout URL to send to the customer.
Instructions
Add a payment to an existing checkout session. Returns the checkout URL to send to the customer plus the session id (the transaction id appears later in get_session_status).
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 |