mycover.ai
  • Home
  • Distributor
  • 🚀Getting Started
    • Quickstart
    • Environments
    • Authentication
    • Testing
    • Errors
    • Go Live Checklist
    • FAQs
  • 🔌Libraries & SDKs
    • Javascript
    • Vue 2
    • Vue 3
    • React
    • Flutter
    • Android
    • React Native
    • iOS
  • 📦api reference
    • Products
      • 🚘Auto
        • Aiico
        • Leadway
        • MyCoverGenius
        • Sovereign Trust
        • Coronation
        • Tangerine
        • Sanlam
      • ♥️Health
        • Hygeia
          • Hyprime Insurance
          • Hybasic Insurance
        • Bastion
          • Bastion Health
          • MediSure
        • Malaria Cover
      • 💞Personal Accident Cover
        • Aiico
        • Leadway
        • Sanlam
      • 🏠Content (Home/Office)
        • Aiico
        • Coronation
        • Sanlam
      • ✈️Travel
        • Allianz
        • Aiico
      • 💵Life Insurance
        • Credit Life
        • SME Flex
        • Flex Life
      • 🚚Goods In Transit
        • Goods In Transit (GIT)
        • Goods In Transit (GIT) On-demand
      • 💻Gadget
        • Sovereign Trust Insurance
        • Coronation
        • Tangerine
      • 🛳️Marine Insurance ✨
        • MyCoverGenius Import Marine Cover
        • Marine Cover
    • Policies
    • Claims
      • Credit Life
    • Wallet
    • Transactions
    • Customers
    • Auxiliary
      • Products
        • Bulk Purchase
  • 🧳Services
    • Webhooks
      • Validation
      • Purchase Webhook
      • Renewal Webhook
    • Messaging
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started

Testing

PreviousAuthenticationNextErrors

Last updated 10 months ago

Was this helpful?

During your integration into , it’s important to check that it works properly before going live. So you don’t have to mess with real data during integration, we provide you with a test environment to imitate real operations from your dashboard.

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 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:

Test public key
const TEST_KEY = 'MCASECK_TEST|1acf339a-d36f-47e7-8e1b-fd0b76b61b0c'
Live public key
const LIVE_KEY = 'MCASECK|ace96fa9-90f3-4da9-9ba5-1b9e90c897e3'

Testing payments without real transactions

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 make a payment for a policy via bank transfer while using the SDK, you can use the following link to simulate the transaction: .

🚀
MyCover.ai
API keys
https://demobank.paystackintegrations.com/