Create acquiring session
create_acquiring_sessionCreate a NovaPay Internet Acquiring payment session to enable multiple payments, returning a session ID for generating a customer payment URL.
Instructions
Create a NovaPay Internet Acquiring payment session. Returns the session id. To get a payment URL for the customer, follow up with add_acquiring_payment. A session can hold multiple 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": {
"client_phone": "<client_phone>"
},
"name": "create_acquiring_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fail_url | No | Where the payer is redirected after failure | |
| metadata | No | Arbitrary merchant metadata, echoed in status | |
| success_url | No | Where the payer is redirected after success | |
| callback_url | No | Merchant URL for payment postbacks | |
| client_email | No | ||
| client_phone | Yes | Payer phone in international format, e.g. +380501112233 | |
| client_last_name | No | ||
| client_first_name | No | ||
| client_patronymic | No | ||
| success_redirect_timeout | No | Seconds before auto-redirect |