I am currently developing an Alexa skill that will use amazon pay. So far I've been able to set up a billing agreement and charge a product, all in sandbox mode.
Now i am trying to get the buyer id from the amazon pay API following the documentation (https://developer.amazon.com/docs/amazon-pay-alexa/amazon-pay-apis-for-alexa.html#buyer_id) And i am able to make the request but i get a error 500 with the message "The server encountered a runtime error". Doing some research i found that this error can be encountered "if you send a request for a sandbox session to the production end points or vice versa." (https://developer.amazon.com/docs/amazon-pay-onetime/handling-api-errors.html)
Now my question is, is there a sandbox API url available to ask for a sandbox session buyer id?? I saw that for buyers address there is a sandbox url and a live url.. but for buyer id i can't find the same. I would appreciate the help, i've been stuck in this for a while now and don't know what else to do.
Thanks for your help.