I was trying for server side Canceled api of IAP but I am not able to cancel the subscription using this api. Everytime I am clicking cancel i am getting this error : responseCode:"6","responseMessage":"900030-authorization format invalid"
and the API which I am using is this: https://subscr-dra.iap.hicloud.com/sub/applications/v2/purchases/stop
Can anybody help me with this I am stuck?
Check the format of the token you are putting in header as authorization.
Code:
Now this
authorizationToken, you can use it in the header.