JSON Nomor Stringify

var data = JSON.stringify({
  "payer": "a cat",
  "price": Number(amount)
});
MitchAloha