curl --location 'https://base.merchantwarrior.com/npp/payto/agreement/6ecae9efaeee1ba39a5dcc9ecbf36e09/payment' \
--header 'MW-API-VERSION: 2.0' \
--header 'MW-MERCHANTID: 4aa82af83c95d' \
--header 'MW-APIKEY: mz3dz5fp' \
--header 'MW-MESSAGEHASH: 59e5f6f02777398bfd5652d041f1e0d3e44e30587308c55c7053f5e7d4b3a48d' \
--header 'Content-Type: application/json' \
--data '{
"payer": {
"name": "string",
"address": "string",
"city": "string",
"state": "string",
"postcode": "string",
"country": "string",
"phone": "string",
"email": "string"
},
"transaction": {
"reference": "string",
"product": "string",
"amount": 0,
"lastPayment": true
}
}'