save_application
Create (without applicationId) or update (with applicationId + resumeToken) a Visamundi visa application for the traveller. Returns applicationId, resumeToken, reference, the price and missing: the exact fields still required. Repeat until missing is empty, then call get_payment_link. Only use information given by the traveller. Consents and payment are always done by the traveller on the payment page.
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": {
"visaId": "<visaId>",
"locale": "<locale>"
},
"name": "save_application"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | Yes | Language of the traveller: used for emails and the payment page. | |
| values | No | Application-level answers (contact, trip dates, purpose, billing address, questionnaire, options), keyed as in the `values` schema of get_application_form. | |
| visaId | Yes | Visa product ID, as returned by list_visas / get_visa. | |
| travelers | No | One object per traveller (identity and passport), keyed as in the `travelers` schema of get_application_form. On update, travellers are merged by position. | |
| resumeToken | No | resumeToken returned by the first save_application call. Keep it private. | |
| affiliateCode | No | Visamundi partner code (e.g. ag404), only if the traveller came through a partner link (`?partner=` / `?agence=`). Never guess one. Ignored if the application already has one. | |
| applicationId | No | applicationId returned by the first save_application call. |