question

rc00n92 avatar image
rc00n92 asked rc00n92 answered

Recurring API - returning 403

We're trying out the Ecom Recurring APIs to create plans but we're getting the following error:

{
  "status": {
    "reason": "Forbidden",
    "code": 403
  },
  "message": "Access denied"
}

Request:

curl --request POST \
     --url https://sandbox.dev.clover.com/recurring/v1/plans \
     --header 'X-Clover-Merchant-Id: ommited' \
     --header 'accept: application/json' \
     --header 'authorization: Bearer ommited' \
     --header 'content-type: application/json' \
     --data '
{
     "name": "TEST API",
     "intervalCount": 1,
     "interval": "MONTH",
     "amount": 9000
}

Here are our app permissions:

1673967578047.png

Anying we're missing here?

e-commerce api
1673967578047.png (28.6 KiB)
10 |2000

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

1 Answer

·
rc00n92 avatar image
rc00n92 answered

We were missing the Merchant Write permission, all good now!

10 |2000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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

Welcome to the
Clover Developer Community