How to cancel an authorised charge

From the Paydock Dashboard

Should you need to cancel an authorisation or void a charge instead of completing the payment, please use these steps:

  1. Log into your Paydock Production or Sandbox account;
  2. Navigate to Charges from the menu on the left;
  3. Find the authorised charge you would like to cancel;
  4. Click Actions > Cancel;
  5. Success! You have cancelled the authorized charge.

From the Paydock API

Make a DELETE /v1/charges/:id/capture request passing in required parameters. The cancel request can be found here:

curl --location -g --request DELETE '{{url}}/v1/charges//capture' \
--header 'x-user-secret-key: {{secretkey}}' \
--header 'Content-Type: application/json' \
--data-raw ''
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us