curl --location 'https://base.merchantwarrior.com/post' \
--header 'MW-API-VERSION: 2.0' \
--header 'Content-Type: application/json' \
--data '{
"method": "getAccessToken",
"merchantUUID": "xxxxxx",
"apiKey": "xxxxxx",
"transactionAmount": "10.00",
"transactionCurrency": "AUD",
"notifyURL": "https://www.example.com/notify.php",
"fraudCheck": {
"threeDS": true,
"forter": false
},
"urlHash": "511999e54b9ad51ce4c28d7f0550ac81",
"hash": "{{hash}}"
}'{
"responseCode": 0,
"responseMessage": "Operation successful",
"token": "51acb2b7b7"
}