// Créer un client
const resp = await fetch("https://api.hyfin.app/api/v4/customer", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
firstName: "John",
lastName: "Doe"
})
});
const { success, _id } = await resp.json();
Obtenir un aperçu de HyfinFonctionnalités, intégrations et comment les utiliser.
// Créer un client
const resp = await fetch("https://api.hyfin.app/api/v4/customer", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
firstName: "John",
lastName: "Doe"
})
});
const { success, _id } = await resp.json();