To access the MYSPACE PAY Developer API, you’ll need an API key. You can obtain your API key by logging in to your MYSPACE PAY merchant account and navigating to the API section. Collect Client/Primary Key & Secret Key Carefully. Keep your API key confidential and do not share it publicly.