Order LEI renewal
create_renewal_orderOrders the renewal of one of the user's LEIs. This commits the user to paying, so only call it after showing the user the price from get_renewal_quote and getting their explicit agreement. paymentMethod 'card' returns paymentUrl, Global FinReg's renewal page for the LEI: give it to the user, who signs in to their Global FinReg account and pays by card there (never ask for card details); the renewal is processed once paid. paymentMethod 'invoice' confirms the renewal straight away and returns the invoice PDF for the user to pay by bank transfer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leiId | Yes | The id (GUID) of the LEI, from list_my_leis or list_leis_due_for_renewal. | |
| years | Yes | Renewal period in years: 1, 3 or 5, as quoted. | |
| vatNumber | No | Optional: the entity's EU VAT number, e.g. BE0123456789. It is checked with the EU's VIES service, and only a valid number is used. Pass the same vatCountry and vatNumber to the order tool as to the quote. | |
| vatCountry | No | Optional: the 2-letter code of the EU country that issued the entity's VAT number, e.g. BE. Give it with vatNumber when the quote adds VAT and the entity has an EU VAT number; leave both out to use the VAT number already stored for this LEI. | |
| expectedTotal | Yes | The total from get_renewal_quote that the user agreed to. The order is refused if the price has changed. | |
| paymentMethod | Yes | 'card' (pay online by card) or 'invoice' (pay by bank transfer). |