API (Uconektpay Gateway)

When do I use Uconekt-pay Gateway

A Uconektpay Gateway is generated for integration into an application (e.g. web shop software).
In general it is an invoice with an amount, currency and the customer data in background.

The status of a Gateway can be tracked using the Notifications (Webhooks) and the API (Uconektpay Gateway).

Integration types

Uconektpay Gateway can be implemented in two ways:

  • Redirect
  • Modal window

Usage

First you need to place the order using our /Gateway endpoint.
See Create a Uconektpay Gateway for more information about the request.

You will get a link back to which you can redirect your customer for the checkout procedure.
In case you would like to implement a modal window, use this link for the data-href attribute. More information you can find in the next section.

Modal window

Necessary scripts which you need to include in the head section of your html file.

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
</script>
<script type="text/javascript" src="https://media.https://uconekt-pay.com/modal/v1/gateway.min.js"></script>

To open the generated gateway link in modal window, use the following code example.

<a class="uconektpay-modal-window" href="#"
    data-href="https://example.https://uconekt-pay.com/?payment=GATEWAY-HASH">
    Open modal window
</a>
<script type="text/javascript">
    jQuery(".uconektpay-modal-window").uconektpayModal();
</script>

🚧

Replacements

  • Replace example.uconekt-pay.com with the URL of your Uconektpay installation
  • Replace GATEWAY-HASH by the hash returned by our Gateway API

Updated 8 months ago

API (Uconektpay Gateway)


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.