End to End (e2e)
On certain occasions, it may be necessary to obtain increased authority or a personalized strategy that aligns with your application. This is where the option of "e2e" becomes relevant.
We offer APIs for customer billing, however, it is incumbent upon you to retrieve their payment information and determine your own user interface and payment process. This approach grants you the ability to create tailor-made customer experiences that fulfill your vision.
When choosing to use e2e, it is important to note that separate integration will be required for each payment method to be supported. This may require a significant amount of effort. Direct charge should be reserved for instances where customers exclusively use a particular payment method, such as cards or banks.
How does it operate?
e2e charge involves three core stages:
-
First, initialize the payment through submitting the payment and customer details to the relevant complete endpoints.
-
Secondly, complete the charge by obtaining the customer's consent through their payment provider, such as a bank, mobile money or card issuer, which allows the charge to be completed.
-
Lastly, as a precautionary measure, make use of the verify payment endpoint for confirmation that the payment has been successful prior to providing value.
e2e complete options
Below are the available methods for receiving payments through e2e. Each form of e2e necessitates distinctive prerequisites and an authorization process.
- Name
channel
- Type
- string
- Description
Payment channel to make a payment with. Available channels include:
cm.mtn
: For MTN Mobile Money Camerouncm.orange
: For Orange Money Camerouncm.mobile
: For Orange Money Or MTN Mobile MoneyCameroon only
paypal
: For Visa, Mastercard, Amex, etc.
- Name
data
- Type
- object
- Description
Customer information relating to the chosen payment method.
Data parameters according to channel
cm.mtn
- phone : MTN Mobile mobile money number to be charged
cm.orange
- phone : Orange money number to be charged
cm.mobile
- phone : MTN Mobile or Orange money number to be charged
paypal
- email : Customer email
card
- name : Card Holder Name
- card_number : Card Number
- exp : Card Expire date (MM/YY)
- cvc : Card Verification Code
Webhooks
To effectively manage e2e scenarios, webhooks can be valuable assets in receiving prompt notifications of customer-authorized charges. Reviewing our comprehensive webhooks guide will provide useful insights and knowledge on how to efficiently incorporate them into your operations.