simulateType parameter determines which transaction type is created and which CSV notification is sent to the configured notify URL.| Simulate Type | Actions |
|---|---|
| Chargeback | - Creates 5 credit card transactions. - Assigns 5 chargebacks to the created transactions. - Sends a compressed CSV containing all chargebacks to the configured Chargeback notifyURL. |
| EFT | - Creates 5 EFT transactions. - Sends a compressed CSV containing all EFT transactions to the configured EFT notifyURL. |
| BPay | - Creates 5 BPay transactions. - Sends a compressed CSV containing all BPay transactions to the configured BPay notifyURL. |
| DirectDebit | - Creates 5 direct debit transactions (3 approved, 2 declined). - Sends a compressed CSV containing all direct debit transactions to the configured Direct Debit notifyURL. |
curl --location 'https://base.merchantwarrior.com/post' \
--header 'MW-API-VERSION: 2.0' \
--header 'Content-Type: application/json' \
--data '{
"method": "simulateNotify",
"merchantUUID": "123456789abcd",
"apiKey": "1a3b5c",
"simulateType": "BPay",
"transactionID": "4678-6a6ec93c-b4c7-4ca5-ae7e-03159df07e79",
"batchUUID": "03159df07e79",
"transactionStatus": "approved",
"bpayCRN": "865661268",
"transactionAmount": "59.95"
}'