Delete an invoice payment

PinchPayments
PinchPayments Member Posts: 5
edited February 2019 in Reckon API
Just wondering what the best way to delete a payment from an invoice using the API is? I can see that it's possible via the UI but looking at the documentation only GET, PUT and POST are available:

https://reckon.helpdocsonline.com/api-reckon-one-endpoints/payments

Is there some way I can PUT to void a payment? Or if there is a DELETE available that would be great.

Use case for this is for Direct Debit payments. Banks don't tell us that something failed straight away, it can take a few days. We set the invoice as paid so that reminder workflows don't incorrectly kick in. We then need to remove the payment if the transaction dishonours.


Comments

  • Ifti
    Ifti Reckon Staff Posts: 258 Reckon Staff
    edited February 2019
    Hi Paul,

    Apologies for the delayed response.

    There's a DELETE option, however there's a bug right now which we've fixed in Development environment.

    We're aiming to release this bug fix early next week.

    The attached image is how the call should be made to delete it.



    I've updated the helpdocs article with the DELETE method information.

    I will update this post when the fix is released to production.

    Thanks

    Ifti
  • Ifti
    Ifti Reckon Staff Posts: 258 Reckon Staff
    edited February 2019
    Hi Paul,

    The fix is in production now.

    Thanks

    Ifti
  • PinchPayments
    PinchPayments Member Posts: 5
    edited January 2019
    Perfect, thanks Ifti.