Getting Started

Authentication

4min
when making api calls to latitudepay, you will need to authenticate those requests by using your api keys you can view your api keys in the octifi merchant console you can get the api keys for your merchant account as explained in the integration prerequisite https //docs sg latitudepay com/integration prerequisite note sandbox mode and production mode will have a different set of keys and endpoints syntax all api's from your server should carry the following header in the http request! authorization api key < private api key > or < public api key > public api key or private api key, which one should i use? rule of thumb backend api's (called from the server) always use private keys, frontend api's (called from browser) always use public key example checkout api is a frontend api hence it should carry public api key in the header charge api is a backend server side api hence it should carry private api key in the header