Regardless of the environment you’re in, you can only send HTTP requests to our API. However, you’re required to make use of the API keys for the intended environment.
To run tests during integration, use the API keys from the test environment on your dashboard. The following are samples of live and test public API keys:
const TEST_KEY = 'MCASECK_TEST|1acf339a-d36f-47e7-8e1b-fd0b76b61b0c'
const LIVE_KEY = 'MCASECK_LIVE|ace96fa9-90f3-4da9-9ba5-1b9e90c897e3'
When testing the SDK, you can simulate real-life transactions without actually spending any money. This means you can conduct various actions, such as purchasing or renewing policies, without any financial commitment.
To simulate payment for a policy via bank transfer while using the SDK, you can use the following link: https://demobank.paystackintegrations.com .