Step 4: delete a payment batch

You can delete existing payment batches from your account when they're no longer needed. You probably don't need the test batch we added earlier, so let's remove it.

Sample requestRequest structure
Copy
Copied
curl -i -X DELETE \
  'https://api.equalsmoney.com/v2/payment-batches/{paymentBatchId}?accountId=F50091' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'requestid: string' \
Copy
Copied
curl -i -X DELETE \
  'https://api.equalsmoney.com/v2/payment-batches/{paymentBatchId}?accountId=F50091' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'requestid: string' \

If your request is successful, you'll receive a 204 No Content response.