Licenses
Crea Chiave di Licenza
Importa una chiave di licenza esistente da un altro sistema. La stringa della chiave, il cliente e il prodotto sono tutti obbligatori.
POST
JavaScript
Questo endpoint importa una chiave che già possiedi —
key, customer_id e product_id sono tutti obbligatori. Non genera un valore per la chiave. L’importazione di una key già esistente restituisce 409 Conflict.Le chiavi di licenza create o aggiornate tramite l’API non attivano notifiche email per i clienti. Se devi informare i clienti della loro chiave di licenza, devi gestire questa operazione separatamente nella tua applicazione.
Autorizzazioni
Send your API key as a bearer token: Authorization: Bearer <api_key>. A test mode key starts with dodo_test_, for example dodo_test_AbCd1234EfGh5678.<secret>. A live mode key starts with dodo_live_. Use a test mode key on test.dodopayments.com and a live mode key on live.dodopayments.com. Keys from before these tags have no tag and operate as before.
Corpo
application/json
Risposta
License key created
Ultima modifica il 6 agosto 2026