Use the test environment for integration testing and the production environment for live requests. Append the endpoint path shown in the API reference to the base URL for your environment. For example, the payment query path is /v1/payment/retrieve. Obtain your API credentials in Portal > Settings > Developer for the environment you are using. See Authentication for request authentication.