vippsas/vipps-developers

Get access token for recurring api gives error

steffanhalv opened this issue · 1 comments

Using postman config for recurring payment from https://vipps.no/developers-documentation/getting-started/postman-guide/ gives error when trying to get access token.

Variables:
base_url: https://apitest.vipps.no/recurring
client-id: *** (hidden)
client-secret: *** (hidden)
Ocp-Apim-Subscription-Key: *** (hidden)

request url
https://apitest.vipps.no/recurring/accessToken/get

request method
POST

request headers
client-id: *** (hidden)
client-secret: *** (hidden)
Ocp-Apim-Subscription-Key: *** (hidden)

request body
(none)

response status:
404 APIM Resource Not Found

response body:

{"responseInfo":{"responseCode":404,"responseMessage":"Something went wrong, please try again later."},"result":{"message":"Something went wrong, please try again later."}}

Solved by replacing baseurl from https://apitest.vipps.no/recurring to https://apitest.vipps.no

Access token ep is: https://apitest.vipps.no/accessToken/get (without /recurring)