📄 Dokumentasi API

🔧 Endpoint: /api/deposit/create

Method: POST

Parameter:

🔍 Endpoint: /api/deposit/status

Method: POST

Parameter:

📦 Contoh Fetch (JavaScript)


let sign = md5('c17eadffVS-0d726f7dc04a6bVS1234');
let body = new URLSearchParams({
  api_key: 'VS-0d726f7dc04a6b',
  sign: sign,
  nominal: 50000,
  user: 'vinsensei'
});

fetch('https://vinn-api.vercel.app/api/deposit/create', {
  method: 'POST',
  headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
  body: body
})
.then(res => res.json())
.then(console.log);