curl --location --request PATCH 'https://base.merchantwarrior.com/npp/payto/agreement/6ecae9efaeee1ba39a5dcc9ecbf36e09' \
--header 'MW-API-VERSION: 2.0' \
--header 'MW-MERCHANTID: 4aa82af83c95d' \
--header 'MW-APIKEY: mz3dz5fp' \
--header 'MW-MESSAGEHASH: 59e5f6f02777398bfd5652d041f1e0d3e44e30587308c55c7053f5e7d4b3a48d' \
--header 'Content-Type: application/json' \
--data '{
"agreement": {
"arrangement": "string",
"approvalDate": "2019-08-24",
"payment": {
"amount": 0,
"maximum": 0,
"firstPaymentAmount": 0,
"lastPaymentAmount": 0,
"firstPaymentDate": "string",
"lastPaymentDate": "string",
"type": "BALN",
"frequency": "ADHO",
"pointInTime": 0
}
}
}'