Fixed production and sandbox endpoints.

Endpoints were the wrong way round.