question

Mateus avatar image
Mateus asked Miguel Deactivated edited

400 Error "Account not found" when trying to delete an auth

Hi, I'm trying to delete an auth using the v3 endpoint below:
DELETE /v3/merchants/{mId}/authorizations/{authId}

But I'm getting an error with status code 400. The message is "Account not found".
At the same time I'm able to call successfully these endpoints:
GET /v3/merchants/{mId}/authorizations/{authId}

Any ideas why only the first one is failing?
REST API
7 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Miguel avatar image Miguel commented ·

I'm able to get the DELETE endpoint working on my test merchant account. Can you supply your Merchant Id?

0 Likes 0 ·
Mateus avatar image Mateus Miguel commented ·

Hi miguel, thanks for your help. Unfortunately I cannot supply that info.

0 Likes 0 ·
Miguel avatar image Miguel Mateus commented ·

I would suggest making sure you're on the right environment. For example, using a production merchant ID on sandbox API calls will lead to this error. Unfortunately without more info, I can't further investigate. As I mentioned, I verified this is working on my sandbox account.

0 Likes 0 ·
Show more comments

0 Answers

Welcome to the
Clover Developer Community