API Transfer

{
    "cmd": "TRF",
    "tid": "123456",
    "uid": "DWS0009",
    "to": "DWS0011",
    "nom": 100,
    "sig": "a6df01490a452118c9b673dcbbc6f5e4"
}

Contoh Request:

curl --location --request POST 'https://localhost/api/dwimas.php' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cmd": "TRF",
    "tid": "123456",
    "uid": "DWS0009",
    "to": "DWS0011",
    "nom": 100,
    "sig": "a6df01490a452118c9b673dcbbc6f5e4"
}'

Contoh Response:

{
  "code": "500",
  "status": "Transfer Saldo Berhasil",
  "data": {
    "msg": "Transfer saldo senilai 100 ke TESTING (DWS0011) berhasil.",
    "nom": 100,
    "to": "DWS0011"
  }
}