The first step in integration of Payment Page solution is simply by redirecting your customer to the Payment Page. To do that, redirect your customer to the following endpoint:
By redirecting the customer to the endpoint, you initiate the payment process. The customer is presented with a payment flow, which is predefined for your service. The flow is determined by API key parameter which is issued to you by Centili.
Available flows and mandatory steps are depending on particular country and operator's regulations and rules.
You can check our site for available flows and technologies.
API key is the only mandatory parameter, and is defined and issued for each service separately.
By adding the API key parameter, you should get a redirect URL, similar to one shown in the following example:
The resulting URL will automatically open a localized page in language of the country where you opened it from. The customer should be presented with the page that looks like this:
In case of successful initiation of the payment process, Centili will complete all the steps needed for successful transaction.
There is a variety of optional parameters that you could use to communicate with Payment Page and control its behavior. The following table shows a complete list of parameters which can be used with the endpoint:
Centili issued service key, unique for every payment service. Consists of alphanumeric characters and counts up to 32 characters.
By providing this parameter, price selection step is skipped.
Customer phone number.
NOTE: The number must be in E.164 format, excluding the plus ("+") character.
URL to which user is redirected after payment. In case of GET requests, URL must be URLencoded.
A unique identification parameter under your system (pass-through variable).
Identification of the customer.
NOTE: If the value is not set within payment request, this field will contain MSISDN of the particular customer.
Interval (in seconds) of delay before redirecting to return URL.
Represents signed string of all concatenated request parameters sorted alphabetically with Centili issued key by using previously agreed encoding algorithm.
NOTE: Please refer to the signature key generation guide.
Mobile Network Operator code.
By supplying this parameter, you can verify how the Centili Payment Page will look in a specific country.
NOTE: If this parameter is omitted, the Payment Page will use Country GeoIP recognition.
By supplying this parameter, you can force the localization of Payment Page.
By supplying this parameter, you set the change of Payment Page appearance.
Here is an example of properly set initiation URL:
The example sets the following:
- forces country to GB
- sets price to 1.5 GBP, which skips price selection step
- sets return URL and reference
- sets theme to black
Updated over 1 year ago