Setup Guide

Get your development environment ready for EcobankPay integration

Prerequisites

Before you begin the integration process, ensure you have the following:

  • An active merchant account with EcobankPay
  • Your merchant key and secret (provided by EcobankPay)
  • API endpoint URLs for both sandbox and production environments
  • Basic knowledge of REST API concepts and JSON
  • Development environment with HTTPS support for callback URLs

Account Setup

To obtain your merchant account and credentials:

  1. Contact EcobankPay's merchant support team at support@ecobankpay.com
  2. Complete the merchant onboarding form with your business details
  3. Provide the necessary legal and business documentation
  4. Once approved, you'll receive your merchant key and secret
  5. Request access to the sandbox environment for testing

Environment Setup

Configure your development environment:

1. API Endpoints

Use the following endpoints for your integration:

EnvironmentBase URLPurpose
Sandboxhttps://sandbox.ecobankpay.com/api/v1Testing and development
Productionhttps://api.ecobankpay.com/api/v1Live transactions

2. Authentication Headers

For all API requests, include these authentication headers:

Header NameValueDescription
x-merchant-keyYour-Merchant-KeyYour unique merchant identifier
x-api-hashHMAC-SHA256-HashHMAC signature of the request body
Content-Typeapplication/jsonAll requests use JSON format

Next Steps

Once your environment is set up, you can proceed with integrating specific payment methods: